• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

ClassNotFoundException: oracle.jdbc.OracleDriver

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using WSAD 5.0


in my web project I have added classes12.jar which has the class
oracle.jdbc.OracleDriver I have checked it.

Then to when I am running it on the test server it is giving me this error.
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver



Thanks in advance.

Here is the complete error message

*** Starting the server ***
************ Start Display Current Environment ************
WebSphere Platform 5.1 [BASE 5.1.0.3 cf30412.02] [JDK 1.4.1 b0344.02] running with process name localhost\localhost\server1 and process id 5308
Host Operating System is Windows XP, version 5.1
Java version = J2RE 1.4.1 IBM Windows 32 build cn1411-20031011 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
was.install.root = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51
user.install.root = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51
Java Home = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51\java\jre
ws.ext.dirs = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/java/lib;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/classes;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/classes;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/ext;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/web/help;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1.2/wstools/eclipse/plugins/com.ibm.etools.webservice_5.1.2.3/runtime/worf.jar
Classpath = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/properties;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/properties;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/bootstrap.jar;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/j2ee.jar;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/lmproxy.jar;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/urlprotocols.jar;C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1.2/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1.1/runtime/wteServers.jar;C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1.2/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1.1/runtime/wasToolsCommon.jar
Java Library path = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/bin;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/java/bin;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/java/jre/bin;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\eclipse\jre\bin;.;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\eclipse\jre\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.5.0_06\bin;
************* End Display Current Environment *************
[5/31/06 23:14:27:297 CDT] 3e39b731 ManagerAdmin I TRAS0017I: The startup trace state is *=all=disabled.
[5/31/06 23:14:27:984 CDT] 3e39b731 AdminInitiali A ADMN0015I: AdminService initialized
[5/31/06 23:14:29:062 CDT] 3e39b731 Configuration A SECJ0215I: Successfully set JAAS login provider configuration class to com.ibm.ws.security.auth.login.Configuration.
[5/31/06 23:14:29:094 CDT] 3e39b731 SecurityDM I SECJ0231I: The Security component's FFDC Diagnostic Module com.ibm.ws.security.core.SecurityDM registered successfully: true.
[5/31/06 23:14:29:406 CDT] 3e39b731 SecurityCompo I SECJ0309I: Java 2 Security is disabled.
[5/31/06 23:14:29:406 CDT] 3e39b731 SecurityCompo I SECJ0212I: WCCM JAAS configuration information successfully pushed to login provider class.
[5/31/06 23:14:29:422 CDT] 3e39b731 SecurityCompo I SECJ0240I: Security service initialization completed successfully
[5/31/06 23:14:29:422 CDT] 3e39b731 JMSRegistrati A MSGS0602I: WebSphere Embedded Messaging Client only has been installed
[5/31/06 23:14:31:969 CDT] 3e39b731 CacheServiceI I DYNA0048I: WebSphere Dynamic Cache initialized successfully.
[5/31/06 23:14:33:500 CDT] 3e39b731 JMXSoapAdapte A ADMC0013I: SOAP connector available at port 8880
[5/31/06 23:14:33:516 CDT] 3e39b731 SecurityCompo I SECJ0243I: Security service started successfully
[5/31/06 23:14:33:516 CDT] 3e39b731 SecurityCompo I SECJ0210I: Security enabled false
[5/31/06 23:14:34:500 CDT] 3e39b731 ApplicationMg A WSVR0200I: Starting application: IBMUTC
[5/31/06 23:14:34:625 CDT] 3e39b731 WebContainer A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2002
[5/31/06 23:14:34:641 CDT] 3e39b731 WebContainer A SRVE0162I: Servlet Specification Level: 2.3
[5/31/06 23:14:34:641 CDT] 3e39b731 WebContainer A SRVE0163I: Supported JSP Specification Level: 1.2
[5/31/06 23:14:34:719 CDT] 3e39b731 WebContainer A SRVE0169I: Loading Web Module: IBM Universal Test Client.
[5/31/06 23:14:34:938 CDT] 3e39b731 WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: JSP 1.2 Processor: init
[5/31/06 23:14:35:031 CDT] 3e39b731 WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: SimpleFileServlet: init
[5/31/06 23:14:35:094 CDT] 3e39b731 ApplicationMg A WSVR0221I: Application started: IBMUTC
[5/31/06 23:14:35:109 CDT] 3e39b731 ApplicationMg A WSVR0200I: Starting application: DefaultEAR
[5/31/06 23:14:35:125 CDT] 3e39b731 WebContainer A SRVE0169I: Loading Web Module: ServletsWorks.
[5/31/06 23:14:35:156 CDT] 3e39b731 WebGroup I SRVE0180I: [ServletsWorks] [/ServletsWorks] [Servlet.LOG]: JSP 1.2 Processor: init
[5/31/06 23:14:35:203 CDT] 3e39b731 WebGroup I SRVE0180I: [ServletsWorks] [/ServletsWorks] [Servlet.LOG]: SimpleFileServlet: init
[5/31/06 23:14:35:203 CDT] 3e39b731 WebGroup I SRVE0180I: [ServletsWorks] [/ServletsWorks] [Servlet.LOG]: InvokerServlet: init
[5/31/06 23:14:35:219 CDT] 3e39b731 WebContainer A SRVE0169I: Loading Web Module: EmpClassWork.
[5/31/06 23:14:35:281 CDT] 3e39b731 WebGroup I SRVE0180I: [EmpClassWork] [/EmpClassWork] [Servlet.LOG]: JSP 1.2 Processor: init
[5/31/06 23:14:35:297 CDT] 3e39b731 WebGroup I SRVE0180I: [EmpClassWork] [/EmpClassWork] [Servlet.LOG]: SimpleFileServlet: init
[5/31/06 23:14:35:297 CDT] 3e39b731 WebGroup I SRVE0180I: [EmpClassWork] [/EmpClassWork] [Servlet.LOG]: InvokerServlet: init
[5/31/06 23:14:35:297 CDT] 3e39b731 ApplicationMg A WSVR0221I: Application started: DefaultEAR
[5/31/06 23:14:35:375 CDT] 3e39b731 HttpTransport A SRVE0171I: Transport http is listening on port 9,080.
[5/31/06 23:14:37:438 CDT] 3e39b731 HttpTransport A SRVE0171I: Transport https is listening on port 9,443.
[5/31/06 23:14:37:469 CDT] 3e39b731 RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
[5/31/06 23:14:37:500 CDT] 3e39b731 WsServer A WSVR0001I: Server server1 open for e-business
[5/31/06 23:14:45:047 CDT] 5d0f3733 WebGroup I SRVE0180I: [EmpClassWork] [/EmpClassWork] [Servlet.LOG]: EmpRegister: init
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:390)
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:300)
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at java.lang.Class.forName1(Native Method)
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at java.lang.Class.forName(Class.java(Compiled Code))
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at com.EmpJdbcManager.loadDriver(EmpJdbcManager.java:41)
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at com.EmpRegister.doPost(EmpRegister.java:31)
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
[5/31/06 23:14:45:062 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R java.sql.SQLException: No suitable driver
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at java.sql.DriverManager.getConnection(DriverManager.java:558)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at java.sql.DriverManager.getConnection(DriverManager.java:188)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.EmpJdbcManager.getConnection(EmpJdbcManager.java:29)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.EmpRegister.doPost(EmpRegister.java:32)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
[5/31/06 23:14:45:078 CDT] 5d0f3733 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
[5/31/06 23:18:20:656 CDT] 5d0f3733 SystemErr R java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
[5/31/06 23:18:20:656 CDT] 5d0f3733 SystemErr R at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:390)
[5/31/06 23:18:20:656 CDT] 5d0f3733 SystemErr R at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:300)
[5/31/06 23:18:20:656 CDT] 5d0f3733 SystemErr R at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
[5/31/06 23:18:20:656 CDT] 5d0f3733 SystemErr R at java.lang.Class.forName1(Native Method)
[5/31/06 23:18:20:656 CDT] 5d0f3733 SystemErr R at java.lang.Class.forName(Class.java(Compiled Code))
[5/31/06 23:18:20:656 CDT] 5d0f3733 SystemErr R at com.EmpJdbcManager.loadDriver(EmpJdbcManager.java:41)
[5/31/06 23:18:20:656 CDT] 5d0f3733 SystemErr R at com.EmpRegister.doPost(EmpRegister.java:31)
[5/31/06 23:18:20:656 CDT] 5d0f3733 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
[5/31/06 23:18:20:656 CDT] 5d0f3733 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[5/31/06 23:18:20:656 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
[5/31/06 23:18:20:656 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
[5/31/06 23:18:20:656 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[5/31/06 23:18:20:656 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
[5/31/06 23:18:20:656 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
[5/31/06 23:18:20:656 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R java.sql.SQLException: No suitable driver
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at java.sql.DriverManager.getConnection(DriverManager.java:558)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at java.sql.DriverManager.getConnection(DriverManager.java:188)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.EmpJdbcManager.getConnection(EmpJdbcManager.java:29)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.EmpRegister.doPost(EmpRegister.java:32)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
[5/31/06 23:18:20:672 CDT] 5d0f3733 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
 
author & internet detective
Posts: 40035
809
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amit,
You need to add the jar/zip file of the driver to your server classpath in addition to the web project.
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Adding classes12.zip to your WEB-INF/lib directory also should solve the problem.
 
Amit Dawani
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Jeanne Boyarsky and Kiran Kumar.

I added it to the jar file to the WEB-INF/lib directory and it worked.

I appreciate your help.

But one quick question If I want to add
jar/zip file of the driver to my server classpath
can you tell me the steps I need to follow, to do that.

Thanks

Jeanne and Kiran you both have a nice weekend.
 
Kiran Kumar P
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using WSAD test server environment:-

1. Open your server configurarion
2. Select Enviroment tab
3. Add your jar in "WebSphere specific class path"
 
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic