[ 
https://issues.apache.org/jira/browse/ARIES-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Schneider resolved ARIES-1052.
----------------------------------------
    Resolution: Won't Fix
      Assignee: Christian Schneider

I think this problem is caused by having two blueprint bundles present in the 
system. So I think this is not a bug in Aries.

> Multichain dependency between Camel-CXF and aries blueprint in ServiceMix
> -------------------------------------------------------------------------
>
>                 Key: ARIES-1052
>                 URL: https://issues.apache.org/jira/browse/ARIES-1052
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint, JPA
>    Affects Versions: 1.0
>         Environment: ServiceMix 4.5.1 Felix
>            Reporter: Monish Sen
>            Assignee: Christian Schneider
>            Priority: Minor
>
> Hi Aries Team,
> I tried installing Aries JPA components 1.0.0 on Servicemix 4.5.1 which is 
> bundled with aries blueprint/proxy/util  0.3.1 version. 
> Updated the existing aries bundles to 1.0.0 but this failed my shell. So 
> updated startup.properties to the latest version, removed the old jars from 
> the system folder and added the new jars in the system folders for blueprint, 
> util, proxy.
> Now I'm able to startup the karaf shell, but running into Multi Chain 
> dependency with aries blueprint export as below
> karaf@root> ERROR: Bundle org.apache.camel.camel-cxf [175] Error starting 
> mvn:org.apache.camel/camel-cxf/2.10.4 (org.osgi.framework.BundleException: 
> Uses constraint violation. Unable to resolve module 
> org.apache.camel.camel-cxf [175.0] because it is exposed to package 
> 'org.apache.aries.blueprint' from modules org.apache.aries.blueprint [45.0] 
> and org.apache.aries.blueprint [9.0] via two dependency chains.
> Chain 1:
>  org.apache.camel.camel-cxf [175.0]
>    import: 
> (&(package=org.apache.aries.blueprint)(version>=0.3.0)(!(version>=2.0.0)))
>     |
>    export: package=org.apache.aries.blueprint
>  org.apache.aries.blueprint [45.0]
> Chain 2:
>  org.apache.camel.camel-cxf [175.0]
>    import: 
> (&(package=org.apache.camel.blueprint)(version>=2.10.0)(!(version>=3.0.0)))
>     |
>    export: package=org.apache.camel.blueprint; 
> uses:=org.apache.aries.blueprint
>  org.apache.camel.camel-blueprint [102.0]
>    import: 
> (&(package=org.apache.aries.blueprint)(version>=0.2.0)(!(version>=2.0.0)))
>     |
>    export: package=org.apache.aries.blueprint
>  org.apache.aries.blueprint [9.0])
> org.osgi.framework.BundleException: Uses constraint violation. Unable to 
> resolve module org.apache.camel.camel-cxf [175.0] because it is exposed to 
> package 'org.apache.aries.blueprint' from modules org.apache.aries.blueprint 
> [45.0] and org.apache.aries.blueprint [9.0] via two dependency chains.
> Chain 1:
>  org.apache.camel.camel-cxf [175.0]
>    import: 
> (&(package=org.apache.aries.blueprint)(version>=0.3.0)(!(version>=2.0.0)))
>     |
>    export: package=org.apache.aries.blueprint
>  org.apache.aries.blueprint [45.0]
> Chain 2:
>  org.apache.camel.camel-cxf [175.0]
>    import: 
> (&(package=org.apache.camel.blueprint)(version>=2.10.0)(!(version>=3.0.0)))
>     |
>    export: package=org.apache.camel.blueprint; 
> uses:=org.apache.aries.blueprint
>  org.apache.camel.camel-blueprint [102.0]
>    import: 
> (&(package=org.apache.aries.blueprint)(version>=0.2.0)(!(version>=2.0.0)))
>     |
>    export: package=org.apache.aries.blueprint
>  org.apache.aries.blueprint [9.0]
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3570)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1797)
> at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
> at java.lang.Thread.run(Thread.java:680)
> ^C
> karaf@root> 
> Regards,
> Monish Sen



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to