<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:27:50 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[ODLPARENT-177] Modification of etc/org.ops4j.pax.web.cfg at runtime renders most of deployed servlets unusable</title>
                <link>https://jira.opendaylight.org/browse/ODLPARENT-177</link>
                <project id="10149" key="ODLPARENT">odlparent</project>
                    <description>&lt;p&gt;Not sure if this project is right place to report this issue, so please move if necessary.&lt;/p&gt;

&lt;p&gt;Following procedure used to work until Fluorine:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;install odl-restconf-all&lt;/li&gt;
	&lt;li&gt;after successfully started, modify etc/org.ops4j.pax.web.cfg (for example change HTTPs settings)&lt;/li&gt;
	&lt;li&gt;Wait for change to propagate&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Updating etc/org.ops4j.pax.web.cfg triggers reload of some pax-web bundles which results in existing servlets being undeployed:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;opendaylight-user@root&amp;gt;http:list
ID&#160; &#9474; Servlet&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; Servlet-Name&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; State&#160;&#160;&#160;&#160;&#160;&#160; &#9474; Alias&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; Url
&#9472;&#9472;&#9472;&#9472;&#9532;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9532;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9532;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9532;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9532;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;
188 &#9474; JolokiaServlet&#160;&#160;&#160;&#160; &#9474; ServletModel-2&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; Undeployed&#160; &#9474; /jolokia&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; [/jolokia/*]
237 &#9474; DiagStatusServlet&#160; &#9474; ServletModel-5&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; Undeployed&#160; &#9474; /diagstatus&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; [/diagstatus/*]
304 &#9474; ResourceServlet&#160;&#160;&#160; &#9474; /apidoc/explorer:/explorer&#160;&#160;&#160;&#160;&#160;&#160; &#9474; Undeployed&#160; &#9474; /apidoc/explorer&#160;&#160;&#160; &#9474; [/apidoc/explorer/*]
198 &#9474; OAuth2TokenServlet &#9474; ServletModel-10&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; Undeployed&#160; &#9474; /oauth2&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; [/oauth2/*]
304 &#9474; ServletContainer&#160;&#160; &#9474; ServletContainer&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; Undeployed&#160; &#9474;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; [/apidoc/apis/*, /apidoc/18/apis/*]
198 &#9474; MoonTokenEndpoint&#160; &#9474; ServletModel-8&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; Undeployed&#160; &#9474; /moon&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; [/moon/*]
304 &#9474; ResourceServlet&#160;&#160;&#160; &#9474; /apidoc/18/explorer:/18/explorer &#9474; Undeployed&#160; &#9474; /apidoc/18/explorer &#9474; [/apidoc/18/explorer/*]
188 &#9474; JolokiaServlet&#160;&#160;&#160;&#160; &#9474; ServletModel-38&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; Deployed&#160;&#160;&#160; &#9474; /jolokia&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; [/jolokia/*]
opendaylight-user@root&amp;gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Now any restconf query will return HTTP404.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Fluorine-SR1&lt;/p&gt;</environment>
        <key id="31118">ODLPARENT-177</key>
            <summary>Modification of etc/org.ops4j.pax.web.cfg at runtime renders most of deployed servlets unusable</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rkosegi">Richard Kosegi</reporter>
                        <labels>
                            <label>pick-next</label>
                            <label>pt</label>
                    </labels>
                <created>Tue, 27 Nov 2018 16:33:42 +0000</created>
                <updated>Mon, 6 Feb 2023 22:03:45 +0000</updated>
                                            <version>11.0.4</version>
                                                    <component>Karaf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="65792" author="tpantelis" created="Tue, 27 Nov 2018 16:50:17 +0000"  >&lt;p&gt;This affects servlets across projects - seems like a general karaf/pax web issue so seems appropriate for odlparent.&lt;/p&gt;</comment>
                            <comment id="66546" author="rovarga" created="Tue, 12 Mar 2019 15:34:29 +0000"  >&lt;p&gt;I suspect this is caused by blueprint being used to inject the servlets and the service going away, losing registrations and BP not restating&lt;/p&gt;</comment>
                            <comment id="71952" author="rovarga" created="Wed, 1 Feb 2023 19:44:00 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rkosegi&quot; class=&quot;user-hover&quot; rel=&quot;rkosegi&quot;&gt;rkosegi&lt;/a&gt; is this still repreducible? anmd if so, can you attach karaf.log?&lt;/p&gt;</comment>
                            <comment id="71960" author="rkosegi" created="Thu, 2 Feb 2023 17:10:58 +0000"  >&lt;p&gt;Hi Robert, I just tried with Chlorine-SR2 (0.17.2) and it&apos;s still reproducible using same steps.&lt;/p&gt;

&lt;p&gt;Karaf log is attached, modification of config file occurred at timestamp &quot;2023-02-02T18:03:15,361&quot;.&lt;/p&gt;

&lt;p&gt;Then I hit apidocs at &quot;2023-02-02T18:03:24,315&quot; and got bunch of stacktraces in log&lt;/p&gt;</comment>
                            <comment id="71967" author="rovarga" created="Mon, 6 Feb 2023 22:03:06 +0000"  >&lt;p&gt;The logs seem to indicate the /apidoc endpoint was refreshed and as such, it should not be affected by pax-web configuration: we are using HTTP Whiteboard, hence if pax-web is refreshed, it should just pick up our services from OSGi SR and re-publish them to whatever underlay.&lt;/p&gt;

&lt;p&gt;This does not seem to be the case, hence this needs a deeper analysis to determine whether we (odlparent/netconf) should do something differently, or if pax-web needs to fix something. As the exceptions are triggered when accessing the port, it feels like it is a pax-web problem &#8211; but we need the smoking gun...&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="18505" name="karaf.log" size="440207" author="rkosegi" created="Thu, 2 Feb 2023 17:06:25 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03l0v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>