Skip to main content

Need two versions of Oracle's JDBC driver for two different clusters

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
luisjotapepe
Offline
Joined: 2013-01-22

Running Glassfish (3.1.2) with a JDBC pool connecting

We have two different clusters with 2 different revisions of the app. For the latest revision we start using connection pooling. With Oracle 11g for the older one is 10g

We have followed tutorials with he steps:

Copy ojdbc6-11.2.0.3.0.jar into /usr/local/glassfish3/glassfish/domains/domain1/lib/ext/
Create connection pooling with properties:
- Resource type: javax.sql.ConnectionPoolDataSource
- Datasource Classname: oracle.jdbc.pool.OracleConnectionPoolDataSource

Then we assign the connection pool to the instance.

It wont start up application - java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver