Red Hat JBoss Fuse 6.2.1: Osgi Missing Requirement

2019-09-14 04:47发布

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

1条回答
Summer. ? 凉城
2楼-- · 2019-09-14 05:08

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 :

install -s wrap:mvn:com.oracle/ojdbc6/<version>

Where the <version> refers to the version number of the jar file. Hope this helps.

查看更多
登录 后发表回答