This is a problem that I am facing with Jboss fuse, where a dependency (Oracle JDBC JAR) is not found as an OSGI bundle. The source code works fine when run locally, but errors out when deployed on a Karaf container. A detailed explanation of the issue and associated source code is placed at: https://developer.jboss.org/message/948643
Any suggestions on this would be welcome.
Thanks for your patience. Prabal
The Oracle JAR File that you are trying to deploying on the Fuse Server is not a Maven Bundle.
So you'll need to Wrap and install the library using the following command :
Where the
<version>
refers to the version number of the jar file. Hope this helps.