Saturday, December 21, 2013

Embed Oracle ucp unto bundle
















I want to use Oracle Connection Pool in OSGI bundle. I created small test demo.
















I embedded the UCP jar using this configuration:















<Embed-Dependency>ojdbc6,ucp;scope=compile|runtime;inline =true</Embed-Dependency>
















When I deploy the code I get this error message:
















java.lang.NoClassDefFoundError: oracle/ucp/jdbc/PoolDataSourceFactory
















https://issues.apache.org/jira/browse/FELIX-4366































No comments:

Post a Comment