<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:25:42 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>[NEUTRON-154] Neutron&apos;s Jersey Problem during the big odlparent/yangtools version bump</title>
                <link>https://jira.opendaylight.org/browse/NEUTRON-154</link>
                <project id="10145" key="NEUTRON">neutron</project>
                    <description>&lt;p&gt;The &lt;a href=&quot;https://wiki.opendaylight.org/view/ODL_Root_Parent:BigBumpOfJan2018&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&quot;big bump&quot; of odlparent &amp;amp; yangtools&lt;/a&gt;&#160;with &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/66509/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/66509/&lt;/a&gt; breaks Neutron:&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;[INFO] --- maven-failsafe-plugin:2.20.1:integration-test (default) @ integration-test ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.opendaylight.neutron.e2etest.ITNeutronE2E
(...)
Karaf started in 1s. Bundle stats: 12 active, 12 total
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 221.886 s &amp;lt;&amp;lt;&amp;lt; FAILURE! - in org.opendaylight.neutron.e2etest.ITNeutronE2E
[ERROR] test(org.opendaylight.neutron.e2etest.ITNeutronE2E) Time elapsed: 195.033 s &amp;lt;&amp;lt;&amp;lt; FAILURE!
java.lang.AssertionError: Network Collection GET to URL http://127.0.0.1:8181/controller/nb/v2/neutron/networks with wait failed
 at org.opendaylight.neutron.e2etest.ITNeutronE2E.test(ITNeutronE2E.java:90)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The cause is this which can be seen in&#160;integration/test/target/exam/.../data/log/karaf.log:&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;2018-01-15T14:42:51,103 | ERROR | qtp881932043-138 | ContainerResponse                | 35 - com.sun.jersey.jersey-server - 1.17.0 | The registered message body writers compatible with the MIME media type are:
*/* -&amp;gt;
  com.sun.jersey.core.impl.provider.entity.FormProvider
  com.sun.jersey.core.impl.provider.entity.MimeMultipartProvider
  com.sun.jersey.core.impl.provider.entity.StringProvider
  com.sun.jersey.core.impl.provider.entity.ByteArrayProvider
  com.sun.jersey.core.impl.provider.entity.FileProvider
  com.sun.jersey.core.impl.provider.entity.InputStreamProvider
  com.sun.jersey.core.impl.provider.entity.DataSourceProvider
  com.sun.jersey.core.impl.provider.entity.XMLJAXBElementProvider$General
  com.sun.jersey.core.impl.provider.entity.ReaderProvider
  com.sun.jersey.core.impl.provider.entity.DocumentProvider
  com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider
  com.sun.jersey.core.impl.provider.entity.SourceProvider$SourceWriter
  com.sun.jersey.server.impl.template.ViewableMessageBodyWriter
  com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$General
  com.sun.jersey.core.impl.provider.entity.XMLListElementProvider$General
2018-01-15T14:42:51,103 | ERROR | qtp881932043-138 | ContainerResponse                | 35 - com.sun.jersey.jersey-server - 1.17.0 | Mapped exception to response: 500 (Internal Server Error)
javax.ws.rs.WebApplicationException: com.sun.jersey.api.MessageException: A message body writer for Java class org.opendaylight.neutron.northbound.api.NeutronNetworkRequest, and Java type class org.opendaylight.neutron.northbound.api.NeutronNetworkRequest, and MIME media type application/json was not found
        at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:285) [35:com.sun.jersey.jersey-server:1.17.0]&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;There are other exceptions in the log, but those are not causing this problem; notably the problem below is unrelated, even though it seem to sometimes cause the ITNeutronE2E to at first fail with org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for service org.ops4j.pax.exam.ProbeInvoker, but on retrying a build it will get it and hit above, this problem is something else which &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=skitt&quot; class=&quot;user-hover&quot; rel=&quot;skitt&quot;&gt;skitt&lt;/a&gt; says he has a solution coming up for in controller:&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;2018-01-15T14:39:56,109 | ERROR | ConfigFeatureListener - ConfigPusher | FeatureConfigPusher              | 47 - config-persister-feature-adapter - 0.8.0.SNAPSHOT | Giving up (after 100 retries) on Karaf featuresService.listInstalledFeatures() which has not yet finished installing feature jaas-boot 0.0.0
2018-01-15T14:39:56,154 | INFO  | ConfigFeatureListener - ConfigPusher | FeatureConfigPusher              | 47 - config-persister-feature-adapter - 0.8.0.SNAPSHOT | Karaf Feature Service has not yet finished installing feature jaas-boot/0.0.0 (retry 0)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It is trivial to reproduce this issue, by starting neutron/karaf/target/assembly/bin/karaf and hitting HTTP GET &lt;a href=&quot;http://127.0.0.1:8181/controller/nb/v2/neutron/networks&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8181/controller/nb/v2/neutron/networks&lt;/a&gt;, even just with your web browser, and HTTP BASIC admin/admin, will produce above in the Karaf log.&lt;/p&gt;</description>
                <environment></environment>
        <key id="29067">NEUTRON-154</key>
            <summary>Neutron&apos;s Jersey Problem during the big odlparent/yangtools version bump</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.opendaylight.org/images/icons/priorities/blocker.svg">Highest</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="rovarga">Robert Varga</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Mon, 15 Jan 2018 14:37:28 +0000</created>
                <updated>Mon, 22 Jan 2018 19:56:24 +0000</updated>
                            <resolved>Tue, 16 Jan 2018 18:02:05 +0000</resolved>
                                                    <fixVersion>master</fixVersion>
                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="60684" author="tpantelis" created="Mon, 15 Jan 2018 15:00:10 +0000"  >&lt;p&gt;I got by the &quot;A message body writer...&quot; error by adding:&lt;/p&gt;

&lt;p&gt;&#160;&lt;br/&gt;
&#160; &#160; &#160;&amp;lt;dependency&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &amp;lt;groupId&amp;gt;com.sun.jersey&amp;lt;/groupId&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; &amp;lt;artifactId&amp;gt;jersey-json&amp;lt;/artifactId&amp;gt;&lt;br/&gt;
&#160; &#160; &#160; &amp;lt;/dependency&amp;gt;&lt;br/&gt;
&#160;&lt;br/&gt;
to the&#160;odl-neutron-northbound-api feature pom based on&#160;&lt;a href=&quot;https://stackoverflow.com/questions/13108161/a-message-body-writer-for-java-class-not-found&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://stackoverflow.com/questions/13108161/a-message-body-writer-for-java-class-not-found&lt;/a&gt;&#160; but now I get:&lt;br/&gt;
&#160;&lt;br/&gt;
2018-01-13T02:18:44,772 | ERROR | qtp1602373834-139 | ContainerResponse&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; | 35 - com.sun.jersey.jersey-server - 1.17.0 | Mapped exception to response: 500 (Internal Server Error)&lt;br/&gt;
&lt;a href=&quot;http://javax.ws.rs/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;javax.ws.rs&lt;/a&gt;.WebApplicationException: javax.xml.bind.JAXBException&lt;br/&gt;
&#160;- with linked exception:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory cannot be found by org.opendaylight.neutron.northbound-api_0.10.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; at com.sun.jersey.core.provider.jaxb.AbstractRootElementProvider.writeTo(AbstractRootElementProvider.java:159) &lt;span class=&quot;error&quot;&gt;&amp;#91;34:com.sun.jersey.core:1.17.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160; at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;35:com.sun.jersey.jersey-server:1.17.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160;&lt;br/&gt;
I got by that by adding com.sun.xml.bind.v2 to Import-Package but now get another failure:&lt;br/&gt;
&#160;&lt;br/&gt;
java.lang.AssertionError: E2E Tests Failed - Collection not Array&lt;br/&gt;
&#160; at org.opendaylight.neutron.e2etest.ITNeutronE2E.test_fetch_collection_response(ITNeutronE2E.java:276)&lt;br/&gt;
&#160; at org.opendaylight.neutron.e2etest.ITNeutronE2E.test_fetch_with_one_query_item(ITNeutronE2E.java:296)&#160; &#160;&#160;&lt;br/&gt;
&#160; at org.opendaylight.neutron.e2etest.ITNeutronE2E.test(ITNeutronE2E.java:95)&lt;br/&gt;
&#160;&lt;br/&gt;
&#160;&lt;br/&gt;
&#160;&lt;br/&gt;
&#160;&lt;/p&gt;</comment>
                            <comment id="60685" author="rovarga" created="Mon, 15 Jan 2018 15:06:18 +0000"  >&lt;p&gt;This is probably related to &lt;a href=&quot;https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.8&lt;/a&gt; and more specifically to &lt;a href=&quot;https://github.com/FasterXML/jackson-jaxrs-providers/issues/22&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/FasterXML/jackson-jaxrs-providers/issues/22&lt;/a&gt; .&lt;/p&gt;</comment>
                            <comment id="60687" author="vorburger" created="Mon, 15 Jan 2018 15:57:45 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/67165/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/67165/&lt;/a&gt; from &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=skitt&quot; class=&quot;user-hover&quot; rel=&quot;skitt&quot;&gt;skitt&lt;/a&gt; fixes the ConfigPusher (which has nothing at all directly to do with this, but initially seemed to be the reason for the ITNeutronE2E failure, but turned out not to be).&lt;/p&gt;

&lt;p&gt;The &quot;Collection not Array&quot; is because that jsonElementValue now suddenly is not a JSOn array anymore, so somehow Jersey is behaving differently after the bump; I&apos;ve added logging to the test and see that it now is this: &lt;tt&gt;&quot;id&quot;:&quot;4e8e5957-649f-477b-9e5b-f1f75b21c03c&quot;,&quot;tenant_id&quot;:&quot;9bacb3c5d39d41a79512987f338cf177&quot;,&quot;name&quot;:&quot;net1&quot;,&quot;admin_state_up&quot;:&quot;true&quot;,&quot;status&quot;:&quot;ACTIVE&quot;,&quot;shared&quot;:&quot;false&quot;,&quot;external&quot;:&quot;false&quot;,&quot;network_type&quot;:&quot;flat&quot;,&quot;segments&quot;:&lt;span class=&quot;error&quot;&gt;&amp;#91;null,null&amp;#93;&lt;/span&gt;&lt;/tt&gt;. I know nothing at all about neutron code, but will try to understand if this is some... mapping annotation that needs to be adjusted?&lt;/p&gt;</comment>
                            <comment id="60688" author="rovarga" created="Mon, 15 Jan 2018 16:14:05 +0000"  >&lt;p&gt;Well, I think this has something to do with MOXyJsonProvider, as that seems to be the thing that is supposed to take care of JSON data. I suspect adding jersey-json changes the provider behavior...&lt;/p&gt;</comment>
                            <comment id="60689" author="vorburger" created="Mon, 15 Jan 2018 17:14:07 +0000"  >&lt;p&gt;Right, so the full response we get froma GET on &lt;a href=&quot;http://127.0.0.1:8181/controller/nb/v2/neutron/networks?status=ACTIVE&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8181/controller/nb/v2/neutron/networks?status=ACTIVE&lt;/a&gt; is:&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;{&quot;networks&quot;:{&quot;id&quot;:&quot;4e8e5957-649f-477b-9e5b-f1f75b21c03c&quot;,&quot;tenant_id&quot;:&quot;9bacb3c5d39d41a79512987f338cf177&quot;,&quot;name&quot;:&quot;net1&quot;,&quot;admin_state_up&quot;:&quot;true&quot;,&quot;status&quot;:&quot;ACTIVE&quot;,&quot;shared&quot;:&quot;false&quot;,&quot;external&quot;:&quot;false&quot;,&quot;network_type&quot;:&quot;flat&quot;,&quot;segments&quot;:[null,null]}}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;which in the code comes from the class &lt;tt&gt;NeutronNetworksNorthbound&lt;/tt&gt; which returns a &lt;tt&gt;NeutronNetworkRequest&lt;/tt&gt; (yup, you read that right, that appears to be the Response despite the class being named Request!). Now that &lt;tt&gt;NeutronNetworkRequest&lt;/tt&gt; has an &lt;tt&gt;@XmlElement(name = &quot;networks&quot;) List&amp;lt;NeutronNetwork&amp;gt;&lt;/tt&gt; which due to some change in the JSON serialization with this bump is no longer serialized as a JSON array despite being a &lt;tt&gt;List&lt;/tt&gt;. Hm.&lt;/p&gt;</comment>
                            <comment id="60690" author="vorburger" created="Mon, 15 Jan 2018 17:22:01 +0000"  >&lt;p&gt;Today&apos;s free fun fact: If we hack an &lt;tt&gt;bulk.add(new NeutronNetwork());&lt;/tt&gt; in line 42 of &lt;tt&gt;NeutronNetworkRequest&lt;/tt&gt; then it is a JSON array! I&apos;m obviously not suggesting that be the fix, but proving that there is some... wrong optimization in whatever JSON serializer that is being use here that thinks that is a &lt;tt&gt;List&lt;/tt&gt; contains only 1 element it can be written out as just JSON object instead of array. Huh.&lt;/p&gt;

&lt;p&gt;Perhaps the better next step here would be to truly understand how the Big Bump of odlparent and yangtools is causing this change...&lt;/p&gt;</comment>
                            <comment id="60691" author="rovarga" created="Mon, 15 Jan 2018 17:32:05 +0000"  >&lt;p&gt;Yeah, that is codec weirdness/optimization of flattening a collection to a single element? At any rate we should figure out why moxy no longer works at it should.&lt;/p&gt;</comment>
                            <comment id="60692" author="rovarga" created="Mon, 15 Jan 2018 17:34:15 +0000"  >&lt;p&gt;Another thing is the question of whether moxy was ever used at all the breakage actually comes from upgraded jackson &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="60693" author="rovarga" created="Mon, 15 Jan 2018 17:42:32 +0000"  >&lt;p&gt;So to sum this up:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;in default configuration MOXy does not seem to be used to perform serialization (anymore?, that needs to be confirmed vs. nitrogen)&lt;/li&gt;
	&lt;li&gt;with jersey-json we get serialization working, but it is broken around single-item lists&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Hence we either need to get moxy working or replace it with a different JSON provider &#8211; for AAA we have the proposal to use GSON at &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/66056/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/66056/&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="60694" author="vorburger" created="Mon, 15 Jan 2018 17:54:44 +0000"  >&lt;p&gt;&lt;a href=&quot;https://www.eclipse.org/eclipselink/api/2.4/org/eclipse/persistence/jaxb/MarshallerProperties.html#JSON_REDUCE_ANY_ARRAYS&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.eclipse.org/eclipselink/api/2.4/org/eclipse/persistence/jaxb/MarshallerProperties.html#JSON_REDUCE_ANY_ARRAYS&lt;/a&gt; looks interesting... but yes &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&lt;/a&gt; you raise a good point, this seems to be a in complete mess now - I&apos;m myself confused which JSON serializer (codec) is actually used here now. &lt;/p&gt;

&lt;p&gt;Note the presence of &lt;tt&gt;neutron/northbound-api/src/main/resources/org/opendaylight/controller/networkconfig/neutron/northbound/jaxb.properties&lt;/tt&gt;, but that is in a weird package, given that &lt;tt&gt;NeutronNetworkRequest&lt;/tt&gt; and Co. are in org.opendaylight.neutron.northbound.api, no? Was this project (neutron) originally using Moxy and by adding jersey-json we&apos;ve made it use Jackson with (non-Moxy) JAXB instead, causing this (and probably other...) issues? Perhaps instead of fixing JSON array problem in isolation, we should take a step back and understand better what&apos;s really going on here. The &lt;tt&gt;jersey-json&lt;/tt&gt; dependency may well not actually be the right solution here.&lt;/p&gt;

&lt;p&gt;But the real question probably is what actually changed in odlparent 3.0.2 compared to 2.0.x to cause the original issue... suggestions, anyone?&lt;/p&gt;</comment>
                            <comment id="60695" author="vorburger" created="Mon, 15 Jan 2018 17:59:17 +0000"  >&lt;p&gt;&amp;gt; Hence we either need to get moxy working or replace it with a different JSON provider &#8211; for AAA we have the proposal to use GSON&lt;/p&gt;

&lt;p&gt;given that the world is broken and a lot of people cannot work on master, I think the priority here should be to get neutron working as it used to before the odlparent bump, which (I think) means understanding what makes Jersey use Moxy and how that broke compared to how it worked before the bump. I&apos;m not clear if that means that jersey-json is a bad idea - we probably need to understand how jersey can be made to work with moxy; how it did before, why it broken, and how to get it back working?&lt;/p&gt;

&lt;p&gt;Actually replacing it with a different JSON serializer, like GSON, seems safer to do separately later - who knows what other surprises that may lead to.&lt;/p&gt;</comment>
                            <comment id="60696" author="rovarga" created="Mon, 15 Jan 2018 18:01:14 +0000"  >&lt;p&gt;The only related change I am aware of the upgrade from jackson-2.3.2 to jackson-2.8.9...&lt;/p&gt;</comment>
                            <comment id="60697" author="rovarga" created="Mon, 15 Jan 2018 18:04:52 +0000"  >&lt;p&gt;Given that &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/67168/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/67168/&lt;/a&gt; , I am not sure the setup story in this project was completely correct to begin with.&lt;/p&gt;</comment>
                            <comment id="60698" author="vorburger" created="Mon, 15 Jan 2018 18:06:15 +0000"  >&lt;p&gt;So the &lt;tt&gt;NeutronNorthboundRSApplication&lt;/tt&gt; configures a &lt;tt&gt;MOXyJsonProvider&lt;/tt&gt;, so Neutron clearly originally wanted to use Moxy instead Jackson...&lt;/p&gt;</comment>
                            <comment id="60699" author="rovarga" created="Mon, 15 Jan 2018 18:12:22 +0000"  >&lt;p&gt;jaxb.properties seems to be correct accordking to &lt;a href=&quot;https://www.eclipse.org/eclipselink/documentation/2.6/moxy/runtime001.htm#CACFEGHC&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.eclipse.org/eclipselink/documentation/2.6/moxy/runtime001.htm#CACFEGHC&lt;/a&gt; .&lt;/p&gt;</comment>
                            <comment id="60700" author="vorburger" created="Mon, 15 Jan 2018 18:13:00 +0000"  >&lt;p&gt;&amp;gt; Given that &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/67168/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/67168/&lt;/a&gt; , I am not sure the setup story in this project was completely correct to begin with.&lt;/p&gt;

&lt;p&gt;Interesting but my suspicion would be that&apos;s more of a minor oversight leading to that WARN log, but not the real cause of / related to the problem we&apos;re chasing here? The MOXyJsonProvider seems to ahave been configured both as class as well as instance, and it looks like if it&apos;s configured as instance then one does not need to configure it as class, which makes sense.&lt;/p&gt;

&lt;p&gt;Let us remove the &lt;tt&gt;jersey-json&lt;/tt&gt; dependency again, and try to understand the real cause of the initial &lt;tt&gt;WebApplicationException: com.sun.jersey.api.MessageException&lt;/tt&gt; - despite the configuration of the &lt;tt&gt;MOXyJsonProvider&lt;/tt&gt; ?&lt;/p&gt;</comment>
                            <comment id="60701" author="rovarga" created="Mon, 15 Jan 2018 18:22:58 +0000"  >&lt;p&gt;One more possibility is that we have a clash on javax.ws.rs(.ext) package and we end up not interpreting MOXyJsonProvider as a correct Provider...&lt;/p&gt;</comment>
                            <comment id="60702" author="rovarga" created="Mon, 15 Jan 2018 18:33:05 +0000"  >&lt;p&gt;Yup, confirmed here:&lt;/p&gt;

&lt;p&gt;javax.ws.rs.client&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; 2.0.1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; 68&#160; &#9474; javax.ws.rs-api&lt;br/&gt;
javax.ws.rs.container&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; 2.0.1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; 68&#160; &#9474; javax.ws.rs-api&lt;br/&gt;
javax.ws.rs.core&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; 1.1.1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; 34&#160; &#9474; com.sun.jersey.core&lt;br/&gt;
javax.ws.rs.core&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; 2.0.1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; 68&#160; &#9474; javax.ws.rs-api&lt;br/&gt;
javax.ws.rs.ext&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; 1.1.1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; 34&#160; &#9474; com.sun.jersey.core&lt;br/&gt;
javax.ws.rs.ext&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; 2.0.1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; 68&#160; &#9474; javax.ws.rs-api&lt;br/&gt;
javax.ws.rs&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; 1.1.1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; 34&#160; &#9474; com.sun.jersey.core&lt;br/&gt;
javax.ws.rs&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; 2.0.1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#9474; 68&#160; &#9474; javax.ws.rs-api&lt;/p&gt;</comment>
                            <comment id="60703" author="vorburger" created="Mon, 15 Jan 2018 18:47:15 +0000"  >&lt;p&gt;&amp;gt; jaxb.properties seems to be correct accordking to &lt;a href=&quot;https://www.eclipse.org/eclipselink/documentation/2.6/moxy/runtime001.htm#CACFEGHC&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.eclipse.org/eclipselink/documentation/2.6/moxy/runtime001.htm#CACFEGHC&lt;/a&gt; .&lt;/p&gt;

&lt;p&gt;I don&apos;t think so; note &lt;em&gt;&quot;the same package (directory) in which your model classes reside&quot;,&lt;/em&gt; and it&apos;s in an old org/opendaylight/controller/networkconfig/neutron/northbound/ instead of in org/opendaylight/neutron/northbound/api/ where it should be now... but that&apos;s not our problem here, that &lt;tt&gt;javax.ws.rs.WebApplicationException&lt;/tt&gt; and &lt;tt&gt;com.sun.jersey.api.MessageException&lt;/tt&gt; where Jersey isn&apos;t able to find a Codec for MIME  application/json most probably hits us  and fails long before any JAXB related stuff? And if the MOXyJsonProvider did work, I suspect that probably has the equivalent of &lt;tt&gt;javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory&lt;/tt&gt; in jaxb.properties in code instead, so I bet that was just wrong since year and we could probably completely remove that jaxb.properties file, wherever it is, and it will still work (once it uses the MOXyJsonProvider).&lt;/p&gt;

&lt;p&gt;&amp;gt; One more possibility is that we have a clash on javax.ws.rs(.ext) package and we end up not interpreting MOXyJsonProvider as a correct Provider...&lt;br/&gt;
&amp;gt; Yup, confirmed here:&lt;/p&gt;

&lt;p&gt;Bloody OSGi! So wait, what does this mean? We got the same package in two bundles with different JAX RS versions? And something sets some stupid static in the wrong one of the two? Phew.&lt;/p&gt;</comment>
                            <comment id="60704" author="rovarga" created="Mon, 15 Jan 2018 18:48:29 +0000"  >&lt;p&gt;Looking at moxy&apos;s headers, it does not specify a version for its javax.ws.rs import:&lt;/p&gt;



&lt;p&gt;clipseLink MOXy (176)&lt;br/&gt;
----------------------&lt;br/&gt;
Archiver-Version = Plexus Archiver&lt;br/&gt;
Build-Jdk = 1.7.0_80&lt;br/&gt;
Built-By = genie.eclipselink&lt;br/&gt;
Created-By = 1.6.0_21 (Sun Microsystems Inc.)&lt;br/&gt;
HK2-Bundle-Name = org.eclipse.persistence:org.eclipse.persistence.moxy&lt;br/&gt;
Manifest-Version = 1.0&lt;/p&gt;

&lt;p&gt;Bundle-ManifestVersion = 2&lt;br/&gt;
Bundle-Name = EclipseLink MOXy&lt;br/&gt;
Bundle-SymbolicName = org.eclipse.persistence.moxy&lt;br/&gt;
Bundle-Vendor = Eclipse.org - EclipseLink Project&lt;br/&gt;
Bundle-Version = 2.6.2.v20151217-774c696&lt;/p&gt;

&lt;p&gt;Export-Package = &lt;br/&gt;
 org.eclipse.persistence.internal.jaxb;version=2.6.2,&lt;br/&gt;
 org.eclipse.persistence.internal.jaxb.many;version=2.6.2,&lt;br/&gt;
 org.eclipse.persistence.jaxb;version=2.6.2,&lt;br/&gt;
 org.eclipse.persistence.jaxb.attachment;version=2.6.2,&lt;br/&gt;
 org.eclipse.persistence.jaxb.compiler;version=2.6.2,&lt;br/&gt;
 org.eclipse.persistence.jaxb.dynamic;version=2.6.2,&lt;br/&gt;
 org.eclipse.persistence.jaxb.dynamic.metadata;version=2.6.2,&lt;br/&gt;
 org.eclipse.persistence.jaxb.javamodel;version=2.6.2,&lt;br/&gt;
 org.eclipse.persistence.jaxb.javamodel.oxm;version=2.6.2,&lt;br/&gt;
 org.eclipse.persistence.jaxb.javamodel.reflection;version=2.6.2,&lt;br/&gt;
 org.eclipse.persistence.jaxb.metadata;version=2.6.2,&lt;br/&gt;
 org.eclipse.persistence.jaxb.rs;version=2.6.2,&lt;br/&gt;
 org.eclipse.persistence.jaxb.xmlmodel;version=2.6.2&lt;br/&gt;
Import-Package = &lt;br/&gt;
 com.sun.xml.bind;resolution:=optional,&lt;br/&gt;
 com.sun.xml.bind.annotation;resolution:=optional,&lt;br/&gt;
 com.sun.xml.bind.api;resolution:=optional,&lt;br/&gt;
 com.sun.xml.bind.api.impl;resolution:=optional,&lt;br/&gt;
 com.sun.codemodel;resolution:=optional;version=&quot;[2.2.11,3)&quot;,&lt;br/&gt;
 com.sun.xml.xsom;resolution:=optional,&lt;br/&gt;
 com.sun.xml.xsom.impl;resolution:=optional,&lt;br/&gt;
 com.sun.xml.xsom.impl.parser;resolution:=optional,&lt;br/&gt;
 com.sun.tools.xjc;resolution:=optional;version=&quot;[2.2.11,3)&quot;,&lt;br/&gt;
 com.sun.tools.xjc.model;resolution:=optional;version=&quot;[2.2.11,3)&quot;,&lt;br/&gt;
 com.sun.tools.xjc.outline;resolution:=optional;version=&quot;[2.2.11,3)&quot;,&lt;br/&gt;
 javax.activation;resolution:=optional,&lt;br/&gt;
 javax.json;resolution:=optional,&lt;br/&gt;
 javax.json.stream;resolution:=optional,&lt;br/&gt;
 javax.naming;resolution:=optional,&lt;br/&gt;
 javax.validation;resolution:=optional;version=1.1.0,&lt;br/&gt;
 javax.validation.constraints;resolution:=optional;version=1.1.0,&lt;br/&gt;
 javax.validation.groups;resolution:=optional;version=1.1.0,&lt;br/&gt;
 javax.ws.rs;resolution:=optional,&lt;br/&gt;
 javax.ws.rs.core;resolution:=optional,&lt;br/&gt;
 javax.ws.rs.ext;resolution:=optional,&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Hence I suspect it binds to 2.0.1 and jersey no longer recognizes it.&lt;/p&gt;</comment>
                            <comment id="60705" author="rovarga" created="Mon, 15 Jan 2018 18:50:13 +0000"  >&lt;p&gt;Yup, it is precisely that:&lt;/p&gt;

&lt;p&gt;karaf@root()&amp;gt; bundle:requirements 176&lt;br/&gt;
org.eclipse.persistence.moxy_2.6.2.v20151217-774c696 &lt;span class=&quot;error&quot;&gt;&amp;#91;176&amp;#93;&lt;/span&gt; requires:&lt;br/&gt;
--------------------------------------------------------------------&lt;br/&gt;
osgi.wiring.package; (osgi.wiring.package=javax.activation) resolved by:&lt;br/&gt;
&#160;&#160; osgi.wiring.package; javax.activation 1.1.0 from org.eclipse.osgi_3.11.3.v20170209-1843 &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;&lt;br/&gt;
osgi.wiring.package; (osgi.wiring.package=javax.json) resolved by:&lt;br/&gt;
&#160;&#160; osgi.wiring.package; javax.json 1.0.0 from org.glassfish.javax.json_1.0.4 &lt;span class=&quot;error&quot;&gt;&amp;#91;179&amp;#93;&lt;/span&gt;&lt;br/&gt;
osgi.wiring.package; (osgi.wiring.package=javax.json.stream) resolved by:&lt;br/&gt;
&#160;&#160; osgi.wiring.package; javax.json.stream 1.0.0 from org.glassfish.javax.json_1.0.4 &lt;span class=&quot;error&quot;&gt;&amp;#91;179&amp;#93;&lt;/span&gt;&lt;br/&gt;
osgi.wiring.package; (osgi.wiring.package=javax.naming) resolved by:&lt;br/&gt;
&#160;&#160; osgi.wiring.package; javax.naming 0.0.0 from org.eclipse.osgi_3.11.3.v20170209-1843 &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;&lt;br/&gt;
osgi.wiring.package; (&amp;amp;(osgi.wiring.package=javax.validation)(version&amp;gt;=1.1.0)) resolved by:&lt;br/&gt;
&#160;&#160; osgi.wiring.package; javax.validation 1.1.0.Final from javax.validation.api_1.1.0.Final &lt;span class=&quot;error&quot;&gt;&amp;#91;66&amp;#93;&lt;/span&gt;&lt;br/&gt;
osgi.wiring.package; (&amp;amp;(osgi.wiring.package=javax.validation.constraints)(version&amp;gt;=1.1.0)) resolved by:&lt;br/&gt;
&#160;&#160; osgi.wiring.package; javax.validation.constraints 1.1.0.Final from javax.validation.api_1.1.0.Final &lt;span class=&quot;error&quot;&gt;&amp;#91;66&amp;#93;&lt;/span&gt;&lt;br/&gt;
osgi.wiring.package; (&amp;amp;(osgi.wiring.package=javax.validation.groups)(version&amp;gt;=1.1.0)) resolved by:&lt;br/&gt;
&#160;&#160; osgi.wiring.package; javax.validation.groups 1.1.0.Final from javax.validation.api_1.1.0.Final &lt;span class=&quot;error&quot;&gt;&amp;#91;66&amp;#93;&lt;/span&gt;&lt;br/&gt;
osgi.wiring.package; (osgi.wiring.package=javax.ws.rs) resolved by:&lt;br/&gt;
&#160;&#160; osgi.wiring.package; javax.ws.rs 2.0.1 from javax.ws.rs-api_2.0.1 &lt;span class=&quot;error&quot;&gt;&amp;#91;68&amp;#93;&lt;/span&gt;&lt;br/&gt;
osgi.wiring.package; (osgi.wiring.package=javax.ws.rs.core) resolved by:&lt;br/&gt;
&#160;&#160; osgi.wiring.package; javax.ws.rs.core 2.0.1 from javax.ws.rs-api_2.0.1 &lt;span class=&quot;error&quot;&gt;&amp;#91;68&amp;#93;&lt;/span&gt;&lt;br/&gt;
osgi.wiring.package; (osgi.wiring.package=javax.ws.rs.ext) resolved by:&lt;br/&gt;
&#160;&#160; osgi.wiring.package; javax.ws.rs.ext 2.0.1 from javax.ws.rs-api_2.0.1 &lt;span class=&quot;error&quot;&gt;&amp;#91;68&amp;#93;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="60706" author="rovarga" created="Mon, 15 Jan 2018 18:57:19 +0000"  >&lt;p&gt;Looking at moxy 2.7.1, it will explicitly bind to version 2.0.1, so upgrading it will not solve our problem. Looking at jersey, 1.19.4 no longer packages javax.ws.rs, so that may be path out of this. Alternatively we wrap moxy and force it to resolve javax.ws.rs to 1.1.x.&lt;/p&gt;</comment>
                            <comment id="60707" author="rovarga" created="Mon, 15 Jan 2018 18:59:46 +0000"  >&lt;p&gt;Confirmed to be present.&lt;/p&gt;</comment>
                            <comment id="60708" author="vorburger" created="Mon, 15 Jan 2018 19:04:00 +0000"  >&lt;p&gt;&amp;gt; Looking at moxy 2.7.1, it will explicitly bind to version 2.0.1, &lt;/p&gt;

&lt;p&gt;was just looking at that as well... we&apos;re apparently on moxy 2.6.2, so attempting a bump to 2.7.1 seems reasonable?&lt;/p&gt;

&lt;p&gt;So if we want to avoid surprises down the road on the next round of bumps and get this over with, that would be the right thing to do here, IMHO...&lt;/p&gt;

&lt;p&gt;&amp;gt; so upgrading it will not solve our problem. Looking at jersey, 1.19.4 no longer packages javax.ws.rs, so that may be path out of this. &lt;/p&gt;

&lt;p&gt;that sounds like worth a try?&lt;/p&gt;

&lt;p&gt;&amp;gt; Alternatively we wrap moxy and force it to resolve javax.ws.rs to 1.1.x.&lt;/p&gt;

&lt;p&gt;yeah, short term alternative; but then we have to remember to remove this work-around again sooner or later, no?&lt;/p&gt;</comment>
                            <comment id="60710" author="rovarga" created="Mon, 15 Jan 2018 19:07:34 +0000"  >&lt;p&gt;Yeah, so to unblock netvirt I propose to just munge moxy into northbound-api (yeah, it is ugly) and discuss the jersey situation on the kernel projects call. At this point, everything for the upgrade to 2.x should be ready from odlparent and is really all about aaa+netconf and other downstreams...&lt;/p&gt;</comment>
                            <comment id="60711" author="rovarga" created="Mon, 15 Jan 2018 19:08:20 +0000"  >&lt;p&gt;This just shows how technical debt can explode at the worst possible of times.&lt;/p&gt;</comment>
                            <comment id="60712" author="rovarga" created="Mon, 15 Jan 2018 19:10:09 +0000"  >&lt;p&gt;As for jersey-1.19 &#8211; is probably the middle ground here, but given how much non-progress we have made over the years in moving from 1.17 I would strongly suggest biting the bullet (again) and cleaning the mess once and hopefully for ever.&lt;/p&gt;</comment>
                            <comment id="60713" author="tpantelis" created="Mon, 15 Jan 2018 19:22:58 +0000"  >&lt;p&gt;Just catching up - had to step out for a while. Nice find Robert and Michael.&#160;&lt;/p&gt;</comment>
                            <comment id="60724" author="rovarga" created="Tue, 16 Jan 2018 04:24:07 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/66509/8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/66509/8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="60738" author="yamahata" created="Wed, 17 Jan 2018 00:08:34 +0000"  >&lt;p&gt;Thanks for working hard during weekend.&lt;br/&gt;
For Florine, let&apos;s fix it right uniformly among projects.&lt;/p&gt;</comment>
                            <comment id="60789" author="vorburger" created="Mon, 22 Jan 2018 19:56:24 +0000"  >&lt;p&gt;FTR: &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-502&quot; title=&quot;API docs does not work after upstream version bump&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETCONF-502&quot;&gt;&lt;del&gt;NETCONF-502&lt;/del&gt;&lt;/a&gt; is hitting something very similar...&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="26686">NEUTRON-124</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="29098">NETCONF-502</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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|i039h3:</customfieldvalue>

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