Meaningless Drivel is fun!
The moose likes JDBC and Relational Databases and the fly likes jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "jdbc" Watch "jdbc" New topic


nirail rail
Ranch Hand

Joined: Nov 14, 2003
Posts: 39
i have oracle on one m/c and (websphere)app server on other m/c i am getting following error pls help

FATAL Could not load database driver java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.lang.Throwable.<init>(
at java.lang.Exception.<init>(
at java.lang.ClassNotFoundException.<init>(
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(
[ July 13, 2004: Message edited by: Bear Bibeault ]
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Your driver isn't in Websphere's classpath. Make sure classes12.jar is in the classpath. Check Websphere's docs if you are unsure where that needs to be.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
nirail rail
Ranch Hand

Joined: Nov 14, 2003
Posts: 39
Dear Paul,

You timely reply has helped me solve my problem,

Thankyou very much,

I agree. Here's the link:
subject: jdbc
It's not a secret anymore!