Hello,

I am running karaf 4.2.6. I installed pax-http-whiteboard and
infinispan-core/9.4.1.Final features which installed
org.osgi.util.promise_1.0.0.201505202023, javax.servlet-api_3.1.0,
javax.annotation-api_1.3.0.

Then i installed a kar file with a feature containing the following bundles:
    <bundle
start='false'>mvn:org.osgi.util/promise/1.1.0-201802012106</bundle>
    <bundle start='false'>mvn:javax/servlet/3.1.0-v201410161800</bundle>
    <bundle
start='false'>mvn:org.apache.servicemix.specs.annotation-api-1/3/1.3.0-1</bundle>

Then i saw error from karaf log and all of my bundles in my kar were in
Starting state and never started:
2019-06-13T16:45:29,408 | ERROR | features-3-thread-1 | ClassPathUtil           
        
| 87 - org.ops4j.pax.web.pax-web-api - 7.2.10 | BundleWiring is null for:
org.osgi.util.promise_1.0.0.201505202023 [94]
2019-06-13T16:45:29,407 | ERROR | features-3-thread-1 | ClassPathUtil           
        
| 87 - org.ops4j.pax.web.pax-web-api - 7.2.10 | BundleWiring is null for:
javax.servlet-api_3.1.0 [47]
2019-06-13T16:45:17,730 | ERROR | features-3-thread-1 | ClassPathUtil           
        
| 87 - org.ops4j.pax.web.pax-web-api - 7.2.10 | BundleWiring is null for:
javax.annotation-api_1.3.0 [45]

I'm not sure why I can't install multiple versions of promise. In the case
of the servicemix.spec.annotation-api, it exports the same version as
javax.annotation-api except that it has the osgi.contract in the manifest so
it should be able to replace the javax.annotation-api. And the last one i
dont see why installing javax.servlet would affect the servlet-api bundle.
Hope someone can shed a light.

Thai



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Reply via email to