I have 2 Equinox instances on separate servers. Lets call them DEV and DEMO. DEV is started from Eclipse, DEMO from hand (shell script plus configuration/config.ini - where all bundles are listed). Booth instances have exactly the same bundles (copied from DEV to DEMO), all bundles are active and I don't see any errors or warnings on Equinox's consoles. On DEV everything works fine, on DEMO I get 503 "Jersey is not ready yet!".
It was working on booth servers before I have upgraded osgi-jax-rs-connector and added dependency on jersey-media-multipart to my application. Reverting osgi-jax-rs-connector to previously used doesn't help - I get strange "javax.servlet.ServletException: java.lang.IllegalStateException: Request scope has been already shut down." exception.
I'm running out of ideas what can be wrong. Any help?
Here is the list on bundles on DEMO instance.
0 ACTIVE org.eclipse.osgi_3.10.2.v20150203-1939
1 ACTIVE classmate_1.0.0
4 ACTIVE com.fasterxml.jackson.core.jackson-annotations_2.4.0
5 ACTIVE com.fasterxml.jackson.core.jackson-core_2.4.4
6 ACTIVE com.fasterxml.jackson.core.jackson-databind_2.4.4
7 ACTIVE com.thoughtworks.proxytoys_1.0.0
8 ACTIVE commons-logging_1.1.1
9 ACTIVE edu.zut.aci.nsg.restapi_0.0.1.201507231736
10 ACTIVE javassist_3.18.1.GA
11 ACTIVE javax.annotation-api_1.2.0
12 ACTIVE javax.el_2.2.0.v201303151357
13 ACTIVE javax.servlet-api_3.0.1
14 ACTIVE javax.validation.api_1.1.0.Final
15 ACTIVE javax.ws.rs-api_2.0.1
16 ACTIVE org.apache.commons.configuration_1.10.0
17 ACTIVE org.apache.commons.lang_2.6.0
18 ACTIVE org.apache.felix.gogo.command_0.10.0.v201209301215
19 ACTIVE org.apache.felix.gogo.runtime_0.10.0.v201209301036
20 ACTIVE org.apache.felix.gogo.shell_0.10.0.v201212101605
21 ACTIVE org.eclipse.equinox.console_1.1.0.v20140131-1639
22 ACTIVE org.eclipse.equinox.ds_1.4.200.v20131126-2331
23 ACTIVE org.eclipse.equinox.http.jetty_3.0.200.v20131021-1843
24 ACTIVE org.eclipse.equinox.http.servlet_1.1.500.v20140318-1755
25 ACTIVE org.eclipse.equinox.log_1.2.300.v20130327-1442
26 ACTIVE org.eclipse.equinox.util_1.0.500.v20130404-1337
27 ACTIVE org.eclipse.jetty.continuation_8.1.16.v20140903
28 ACTIVE org.eclipse.jetty.http_8.1.16.v20140903
29 ACTIVE org.eclipse.jetty.io_8.1.16.v20140903
30 ACTIVE org.eclipse.jetty.security_8.1.16.v20140903
31 ACTIVE org.eclipse.jetty.server_8.1.16.v20140903
32 ACTIVE org.eclipse.jetty.servlet_8.1.16.v20140903
33 ACTIVE org.eclipse.jetty.util_8.1.16.v20140903
34 ACTIVE org.eclipse.osgi.services_3.4.0.v20140312-2051
35 ACTIVE org.eclipse.persistence.asm_5.0.1.v201405080102
36 ACTIVE org.eclipse.persistence.core_2.6.0.v20150309-bf26070
37 ACTIVE org.eclipse.persistence.moxy_2.6.0.v20150309-bf26070
38 ACTIVE org.glassfish.hk2.api_2.4.0.b10
39 ACTIVE org.glassfish.hk2.external.aopalliance-repackaged_2.4.0.b10
40 ACTIVE org.glassfish.hk2.external.javax.inject_2.4.0.b10
41 ACTIVE org.glassfish.hk2.locator_2.4.0.b10
42 ACTIVE org.glassfish.hk2.osgi-resource-locator_1.0.1
43 ACTIVE org.glassfish.hk2.utils_2.4.0.b10
44 ACTIVE org.glassfish.javax.json_1.0.4
53 ACTIVE org.glassfish.web.javax.el_2.2.4
54 ACTIVE org.hibernate.validator_5.1.3.Final
55 ACTIVE org.jboss.logging.jboss-logging_3.1.3.GA
56 ACTIVE org.mongodb.mongo-java-driver_3.0.0
76 ACTIVE org.glassfish.jersey.bundles.repackaged.jersey-guava_2.17.0
77 ACTIVE org.glassfish.jersey.containers.jersey-container-servlet-core_2.17.0
78 ACTIVE org.glassfish.jersey.containers.jersey-container-servlet_2.17.0
79 ACTIVE org.glassfish.jersey.core.jersey-client_2.17.0
80 ACTIVE org.glassfish.jersey.core.jersey-common_2.17.0
81 ACTIVE org.glassfish.jersey.core.jersey-server_2.17.0
82 ACTIVE org.glassfish.jersey.ext.jersey-bean-validation_2.17.0
83 ACTIVE org.glassfish.jersey.media.jersey-media-jaxb_2.17.0
84 ACTIVE org.glassfish.jersey.media.jersey-media-multipart_2.17.0
87 ACTIVE org.jvnet.mimepull_1.9.3
90 ACTIVE com.eclipsesource.jaxrs.provider.security_2.2.0.201510030920
91 ACTIVE com.eclipsesource.jaxrs.publisher_5.1.0.201510030920
92 ACTIVE com.eclipsesource.jaxrs.provider.multipart_2.2.0.201510030920
Hi,
I have 2 Equinox instances on separate servers. Lets call them DEV and DEMO. DEV is started from Eclipse, DEMO from hand (shell script plus configuration/config.ini - where all bundles are listed). Booth instances have exactly the same bundles (copied from DEV to DEMO), all bundles are active and I don't see any errors or warnings on Equinox's consoles. On DEV everything works fine, on DEMO I get 503 "Jersey is not ready yet!".
It was working on booth servers before I have upgraded osgi-jax-rs-connector and added dependency on jersey-media-multipart to my application. Reverting osgi-jax-rs-connector to previously used doesn't help - I get strange "javax.servlet.ServletException: java.lang.IllegalStateException: Request scope has been already shut down." exception.
I'm running out of ideas what can be wrong. Any help?
Here is the list on bundles on DEMO instance.