I'm trying to migrate a simple application into our OSGi framework. I've got
the typical code that does:
Class.forName("oracle.jdbc.driver.OracleDriver");
connection = DriverManager.getConnection(url, user, pass);
and i get a CNFE on the driver. I don't have an OSGi-ified ojdbc6.jar
bundle, so I tried to embed the stuff in my bundle by using the following in
my pom:
<Embed-Dependency>*;scope=compile;artifactId=ojdbc6</Embed-Dependency>
Which gets past the CNFE, but then I get the following when deploying my
bundle:
org.osgi.framework.BundleException: Unresolved constraint in bundle <my
bundle name>: Unable to reolve 275.0: missing requirement [275.0] package;
(package=com.sun.security.auth.module)
I don't want to go down the path of finding all dependencies and embedding
them. Isn't there an OSGi-ified bundle for ojdbc6.jar around? There must
be others who are using JDBC from within OSGi, right?
Thanks,
Larry
--
View this message in context:
http://old.nabble.com/Oracle-JDBC-in-OSGI-tp30192290p30192290.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]