I have a problem when I try to embed the oracle universal connection pool
jar. I added the ucp as a dependency:

    <dependency>
        <groupId>com.oracle</groupId>
        <artifactId>ojdbc6</artifactId>
        <version>11.2.0.3</version>
    </dependency>
    <dependency>
        <groupId>com.oracle</groupId>
        <artifactId>ucp</artifactId>
        <version>11.2.0.3</version>
    </dependency>

And I added

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

Then I compile the package and I can see the embedded jars: 

But when I run the code I cannot load the java packages from the ucp jar. I
get the message:

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

Can you tell em what is the proper way to embed this jar file?

Reference:
http://stackoverflow.com/questions/20703363/embed-oracle-ucp-unto-bundle



--
View this message in context: 
http://apache-felix.18485.x6.nabble.com/Embed-Oracle-ucp-unto-bundle-tp5006581.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]

Reply via email to