Closed stefanseifert closed 9 years ago
I'm not yet sure how to fix it. Need to think more about it...
@stefanseifert I have the suspicion that this issue relates to the one discussed in #67. Can you test the 4.2.0 RC2 build to see if it still fails? See here #68
i've tested it again the current snapshots from https://oss.sonatype.org/content/repositories/snapshots/com/eclipsesource/jaxrs/ unfortunately the problem is still the same.
hmm, would have been to good to be true ;). Need to create the setup with my IDE to reproduce the error. Can take a while...
i think i found the source of the problem - please see #73
Cool, will take a look at it soon, Thanks!
i use the osgi-jax-rs-connector/publisher in a felix-based OSGi environment, with felix HTTP service. all works well, my services with @Path annotations work as expected.
but when i reconfigure the felix http service the jersey servlet container registration at /services vanishes from the http service registrations (i can see this in the web console at http://localhost:8080/system/console/status-httpservice). when i restart the bundle "com.eclipsesource.jaxrs.publisher" all is well again.
is this a known problem? i started a bit debugging with the publisher sources, it seems that the HttpTracker.addingService method is called on each configuration update, but HttpTracker.removedService is not called. if HttpTracker.addingService is callled the second time after starting the "com.eclipsesource.jaxrs.publisher" bundle the registration is no longer present.