[ 
https://issues.apache.org/jira/browse/SM-2321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14062669#comment-14062669
 ] 

Krzysztof Sobkowiak commented on SM-2321:
-----------------------------------------

I have found one problem. After installing the {{examples-cxf-jaxws-blueprint}} 
feature I'm getting following error at boot after restart

{code}
Bundle org.apache.servicemix.bundles.spring-context-support [76] Error starting 
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context-support/3.2.9.RELEASE_1
 (org.osgi.framework.BundleException: Uses constraint violation. Unable to 
resolve bundle revision org.apache.servicemix.bundles.spring-context-support 
[76.0] because it is exposed to package 'org.apache.commons.logging' from 
bundle revisions org.ops4j.pax.logging.pax-logging-api [7.0] and 
org.ops4j.pax.swissbox.optional.jcl [60.0] via two dependency chains.

Chain 1:
  org.apache.servicemix.bundles.spring-context-support [76.0]
    import: 
(&(osgi.wiring.package=org.apache.commons.logging)(version>=1.1.1)(!(version>=2.0.0)))
     |
    export: osgi.wiring.package=org.apache.commons.logging
  org.ops4j.pax.logging.pax-logging-api [7.0]

Chain 2:
  org.apache.servicemix.bundles.spring-context-support [76.0]
    import: 
(&(osgi.wiring.package=org.springframework.cache.support)(version>=3.2.9.RELEASE)(!(version>=3.3.0)))
     |
    export: osgi.wiring.package=org.springframework.cache.support; 
uses:=org.springframework.beans.factory
  org.apache.servicemix.bundles.spring-context [75.0]
    import: 
(&(osgi.wiring.package=org.springframework.beans.factory)(version>=3.2.9.RELEASE)(!(version>=3.3.0)))
     |
    export: osgi.wiring.package=org.springframework.beans.factory; 
uses:=org.springframework.core
  org.apache.servicemix.bundles.spring-beans [73.0]
    import: 
(&(osgi.wiring.package=org.springframework.core)(version>=3.2.9.RELEASE)(!(version>=3.3.0)))
     |
    export: osgi.wiring.package=org.springframework.core; 
uses:=org.apache.commons.logging
  org.apache.servicemix.bundles.spring-core [71.0]
    import: 
(&(osgi.wiring.package=org.apache.commons.logging)(version>=1.1.1)(!(version>=2.0.0)))
     |
    export: osgi.wiring.package=org.apache.commons.logging
  org.ops4j.pax.swissbox.optional.jcl [60.0])
org.osgi.framework.BundleException: Uses constraint violation. Unable to 
resolve bundle revision org.apache.servicemix.bundles.spring-context-support 
[76.0] because it is exposed to package 'org.apache.commons.logging' from 
bundle revisions org.ops4j.pax.logging.pax-logging-api [7.0] and 
org.ops4j.pax.swissbox.optional.jcl [60.0] via two dependency chains.

Chain 1:
  org.apache.servicemix.bundles.spring-context-support [76.0]
    import: 
(&(osgi.wiring.package=org.apache.commons.logging)(version>=1.1.1)(!(version>=2.0.0)))
     |
    export: osgi.wiring.package=org.apache.commons.logging
  org.ops4j.pax.logging.pax-logging-api [7.0]

Chain 2:
  org.apache.servicemix.bundles.spring-context-support [76.0]
    import: 
(&(osgi.wiring.package=org.springframework.cache.support)(version>=3.2.9.RELEASE)(!(version>=3.3.0)))
     |
    export: osgi.wiring.package=org.springframework.cache.support; 
uses:=org.springframework.beans.factory
  org.apache.servicemix.bundles.spring-context [75.0]
    import: 
(&(osgi.wiring.package=org.springframework.beans.factory)(version>=3.2.9.RELEASE)(!(version>=3.3.0)))
     |
    export: osgi.wiring.package=org.springframework.beans.factory; 
uses:=org.springframework.core
  org.apache.servicemix.bundles.spring-beans [73.0]
    import: 
(&(osgi.wiring.package=org.springframework.core)(version>=3.2.9.RELEASE)(!(version>=3.3.0)))
     |
    export: osgi.wiring.package=org.springframework.core; 
uses:=org.apache.commons.logging
  org.apache.servicemix.bundles.spring-core [71.0]
    import: 
(&(osgi.wiring.package=org.apache.commons.logging)(version>=1.1.1)(!(version>=2.0.0)))
     |
    export: osgi.wiring.package=org.apache.commons.logging
  org.ops4j.pax.swissbox.optional.jcl [60.0]
        at 
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3980)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
        at 
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:745)
{code}

> Upgrade to Karaf 3.0.2
> ----------------------
>
>                 Key: SM-2321
>                 URL: https://issues.apache.org/jira/browse/SM-2321
>             Project: ServiceMix
>          Issue Type: Task
>          Components: assemblies
>            Reporter: Krzysztof Sobkowiak
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 6.0.0
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to