Skip to main content

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

Please note these forums are being decommissioned and use the new and improved forums at
No replies
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- 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