This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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
Have you checked out Aspose?
subject: Can't Load Oracle JDBC Connection Pool Driver
It's not a secret anymore!