This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes jdbc 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 » Databases » JDBC
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
Similar Threads
I found that inner classes cause problem run my jar file (no problem making the jar or compiling),
Unable to Start WAS with Oracle Database
Problem running ejb client
error while running sample EJB client
Cannot start WAS with Oracle