You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by rcbandit <pe...@gmail.com> on 2013/12/20 14:21:16 UTC

Embed Oracle ucp unto bundle

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: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Embed Oracle ucp into bundle

Posted by rcbandit <pe...@gmail.com>.
https://issues.apache.org/jira/browse/FELIX-4366 

Test file attached into the link.

Any help is highly appreciated.



--
View this message in context: http://apache-felix.18485.x6.nabble.com/Embed-Oracle-ucp-into-bundle-tp5006581p5006594.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org