You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Monish Sen (JIRA)" <ji...@apache.org> on 2013/04/18 16:45:16 UTC

[jira] [Created] (ARIES-1052) Multichain dependency between Camel-CXF and aries blueprint in ServiceMix

Monish Sen created ARIES-1052:
---------------------------------

             Summary: 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
            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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira