This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Can Watch "Can New topic
Author

Can't Load Oracle JDBC Connection Pool Driver

Tony Moses
Greenhorn

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();
...
Notes:
I have the oracle zip file classes111.zip (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 classes111.zip 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 db_setup.sh
Sridhar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can't Load Oracle JDBC Connection Pool Driver
 
Similar Threads
connecting weblogic 6.1 and oracle thru thin driver
Unsatisfied Linker Error
Applets
Can't connect to remote sql server
ClassNotFound Exception using JWSDK for JSP