Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
Unknown
Description
Actually when you run CamelSpringRedisTest Karaf Integration test you get the following error:
ERROR: Bundle org.apache.servicemix.bundles.jedis [90] Error starting mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jedis/2.6.2_1 (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.jedis [90]: Unable to resolve 90.0: missing requirement [90.0] osgi.wiring.package; (osgi.wiring.package=org.apache.commons.pool2)) org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.jedis [90]: Unable to resolve 90.0: missing requirement [90.0] osgi.wiring.package; (osgi.wiring.package=org.apache.commons.pool2) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002) at org.apache.felix.framework.Felix.startBundle(Felix.java:2045) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.lang.Thread.run(Thread.java:745) ERROR: Bundle org.apache.servicemix.bundles.jedis [90] Error starting/stopping bundle. (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.jedis [90]: Unable to resolve 90.0: missing requirement [90.0] osgi.wiring.package; (osgi.wiring.package=org.apache.commons.pool2)) org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.jedis [90]: Unable to resolve 90.0: missing requirement [90.0] osgi.wiring.package; (osgi.wiring.package=org.apache.commons.pool2) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002) at org.apache.felix.framework.Felix.startBundle(Felix.java:2045) at org.apache.felix.framework.Felix.setBundleStartLevel(Felix.java:1491) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:334) at java.lang.Thread.run(Thread.java:745) [org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient] : Remote bundle context found after 5495 millis
The test passes, but we need to avoid these kind of errors.
We need to add a dependency inside features.xml file with org.apache.commons/commons-pool2 package.