Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8764

Camel-Spring-Redis: Jedis bundle require commons-pool2

    XMLWordPrintableJSON

Details

    • 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.

      Attachments

        Activity

          People

            acosentino Andrea Cosentino
            acosentino Andrea Cosentino
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: