Andrea Cosentino created CAMEL-8764:
---------------------------------------
Summary: Camel-Spring-Redis: Jedis bundle require commons-pool2
Key: CAMEL-8764
URL: https://issues.apache.org/jira/browse/CAMEL-8764
Project: Camel
Issue Type: Bug
Components: camel-spring-redis
Reporter: Andrea Cosentino
Priority: Minor
Fix For: 2.16.0
Actually when you run CamelSpringRedisTest Karaf Integration test you get the
following error:
{code}
ERROR: Bundle org.apache.servicemix.bundles.jedis [90] Error starting
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jedis/2.7.1_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 6800 millis
{code}
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)