wood burning stoves 2.0*
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
JavaRanch » Java Forums » Databases » JDBC
Bookmark "jdbc" Watch "jdbc" New topic
Author

jdbc

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>(Throwable.java:96)
at java.lang.Exception.<init>(Exception.java:44)
at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:71)
at java.net.URLClassLoader.findClass(URLClassLoader.java:196)
at java.lang.ClassLoader.loadClass(ClassLoader.java:293)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:275)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:134)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime(AdminServer.java:959)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:353)
[ July 13, 2004: Message edited by: Bear Bibeault ]
Paul Sturrock
Bartender

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,


Regards
Nirail
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jdbc