• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Can't Load Oracle JDBC Connection Pool Driver

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
The world's cheapest jedi mind trick: "Aw c'mon, why not read this tiny ad?"
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic