GeeCON Prague 2014*
The moose likes Websphere and the fly likes Cannot start WAS with Oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Websphere
Bookmark "Cannot start WAS with Oracle" Watch "Cannot start WAS with Oracle" New topic
Author

Cannot start WAS with Oracle

ludovic lecras
Greenhorn

Joined: Dec 09, 2002
Posts: 3
Hello,
I'm in trouble starting WAS 3.5 with Oracle. I 've got this in the TraceFile:
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)
java.lang.Throwable
at java.lang.Throwable.<init>(Throwable.java:84)
at com.ibm.ejs.ras.CBuffLogger.fatalEvent(CBuffLogger.java:420)
at com.ibm.ejs.ras.Tr.fireTraceEvent(Tr.java:502)
at com.ibm.ejs.ras.Tr.fatal(Tr.java:859)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime(AdminServer.java:961)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:353)

I think my admin.config file is OK: I included classes12.zip in the classpath, I put the dtabase instance name, the user ID, the password...
Any idea would be helpful!
Thanks,
Himal Chuli
Ranch Hand

Joined: Aug 06, 2002
Posts: 118
looks like WAS is not able to find your classes12.zip. it happens even though you think that you've provided the right path to it.So i suggest reinstall the WAS again. Once you're done with re-installation look for the following file:
{installation-Drive}\WebSphere\AppServer\logs\wssetup.txt
make sure at the end of this file, you should see the followings:
Total Warnings:0
Total Errors:0
Install complete
And try starting your WAS and see if it works.
Good Luck!


Himal
 
GeeCON Prague 2014
 
subject: Cannot start WAS with Oracle