Dear all,

I am using the version 2.4.3 of Karaf and I had a weird behavior after I did
dev:restart --clean on a child instance. I installed camel then camel-cxf
and got a two dependency chains, which could not happen.

GIVEN   a child instance just dev:restart --clean
WHEN   I do
features:chooseurl camel 2.14.3
features:install camel camel-cxf
THEN    I get:

Error executing command: Can't install feature camel-cxf/0.0.0:         
Could not start bundle
mvn:org.apache.cxf/cxf-rt-rs-extension-providers/3.0.5 in feature(s)
cxf-jaxrs-3.0.5: Uses constraint violation. Unable to resolve bundle
revision org.apache.cxf.cxf-rt-frontend-jaxrs [124.0] because it is exposed
to package 'javax.annotation' from bundle revisions javax.annotation-api
[86.0] and org.apache.felix.framework [0] via two dependency chains.

Chain 1:
  org.apache.cxf.cxf-rt-frontend-jaxrs [124.0]
    import:
(&(osgi.wiring.package=javax.annotation)(version>=1.2.0)(!(version>=2.0.0)))
     |
    export: osgi.wiring.package=javax.annotation
  javax.annotation-api [86.0]

Chain 2:
  org.apache.cxf.cxf-rt-frontend-jaxrs [124.0]
    import:
(&(osgi.wiring.package=org.springframework.context.annotation)(version>=3.1.0)(!(version>=5.0.0)))
     |
    export: osgi.wiring.package=org.springframework.context.annotation;
uses:=javax.annotation
  org.apache.servicemix.bundles.spring-context [73.0]
    import: (osgi.wiring.package=javax.annotation)
     |
    export: osgi.wiring.package=javax.annotation
  org.apache.felix.framework [0]

BUT      on another machine, still a child instance
THEN    It works fine

My question is: as I worked before the dev:restart --clean, is it somewhere
a cache outside the data folder which would retain crucial information?



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Removing-data-folder-is-not-enough-tp4043292.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to