permaculture playing cards*
The moose likes Other Java Products and Servers and the fly likes Can't Load Oracle JDBC Connection Pool Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Can Watch "Can New topic

Can't Load Oracle JDBC Connection Pool Driver

Tony Moses

Joined: Aug 21, 2002
Posts: 22
I am having a problem getting iPlanet Application Server 6.0 SP3 to load the Oracle Connection Pool Driver - oracle.jdbc.pool.OracleConnectionPoolDataSource
I am trying to access it through JNDI and that seems to be working, but when the actual class try's to load I get the following error:
java.sql.SQLException: A. Couldn't load or create 3rd party class: oracle.jdbc.pool.OracleConnectionPoolDataSource
at com.netscape.server.jdbc.Driver.connect(Unknown Source)....
Here is the code that it is bombing on:
InitialContext ctx = new InitialContext();
ds = (DataSource)ctx.lookup("jdbc/" + dsName);
dbConn = ds.getConnection();
I have the oracle zip file (which contains the driver class) at the end of the app server classpath. (Took it out of the WAR file)
Do I have a classpath issue, should the WAR/EAR contain the file, should zip file not be located at the end of the classpath???
Please help!
sridhar satuloori
Ranch Hand

Joined: Nov 05, 2001
Posts: 144
check the registry for Software\iplanet\Application server \6.0\DataSource\
under which you should have ur jndi name registered also set up the Databse with
I agree. Here's the link:
subject: Can't Load Oracle JDBC Connection Pool Driver
Similar Threads
connecting weblogic 6.1 and oracle thru thin driver
Unsatisfied Linker Error
Can't connect to remote sql server
ClassNotFound Exception using JWSDK for JSP