Hi

Please use the JBoss Fuse user forum for question on that product

You can find a link to that at
http://www.jboss.org/products/fuse


On Wed, May 14, 2014 at 7:58 AM, Shiv <shiv.dixit....@gmail.com> wrote:
> I am facing an issue in deploying my OSGi bundle in JBoss Fuse ESB 6.0. It
> has commons-lang and commons-collections dependencies and it is not able to
> resolve them in run time which is causing my route's failure.
>
> 15:00:02,081 | WARN  | edhat-024/deploy | fileinstall                      |
> 7 - org.apache.felix.fileinstall - 3.3.11.redhat-60024 | Error while
> starting bundle:
> file:/C:/jboss-fuse-6.0.0.redhat-024/deploy/test-1.0.0-SNAPSHOT.jar
> org.osgi.framework.BundleException: Unresolved constraint in bundle test
> [259]: Unable to resolve 259.0: missing requirement [259.0]
> osgi.wiring.package;
> (&(osgi.wiring.package=org.apache.commons.collections.map)(version>=3.2.0)(!(version>=4.0.0)))
>     at
> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4155)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]
>     at
> org.apache.felix.framework.Felix.startBundle(Felix.java:2055)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]
>     at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]
>     at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1247)[7:org.apache.felix.fileinstall:3.3.11.redhat-60024]
>     at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1219)[7:org.apache.felix.fileinstall:3.3.11.redhat-60024]
>     at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1208)[7:org.apache.felix.fileinstall:3.3.11.redhat-60024]
>     at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:503)[7:org.apache.felix.fileinstall:3.3.11.redhat-60024]
>     at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:291)[7:org.apache.felix.fileinstall:3.3.11.redhat-60024]
>
> My POM has following dependencies:
> <dependency>
>    <groupId>commons-lang</groupId>
>    <artifactId>commons-lang</artifactId>
>    <version>2.6</version>
>    <scope>provided</scope>
> </dependency>
> <dependency>
>    <groupId>commons-collections</groupId>
>    <artifactId>commons-collections</artifactId>
>    <version>3.2.1</version>
>    <scope>provided</scope>
> </dependency>
>
> Manifest.MF has following import statement:
> Import-Package: javax.xml.namespace,javax.xml.transform,javax.xml.transf
>  orm.stream,javax.xml.xpath,org.apache.camel;version="[2.10,3)",org.apac
>  he.commons.collections.map;version="[3.2,4)",org.apache.commons.lang;ve
>  rsion="[2.6,3)",org.w3c.dom,org.xml.sax
>
> commons-collections and commons-lang jars are available in system folder of
> JBoss Fuse HOME. Import of org.apache.commons.lang is resolved but import of
> org.apache.commons.collections.map is failing. Any idea what is missing?
>
> Thanks
> Shiv
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-Route-Start-up-Failure-due-to-OSGi-Dependency-Resolution-Error-in-JBoss-Fuse-ESB-6-0-tp5751107.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to