aspose file tools*
The moose likes Tomcat and the fly likes driver not found error in Tomcat 3.3.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "driver not found error in Tomcat 3.3.2" Watch "driver not found error in Tomcat 3.3.2" New topic
Author

driver not found error in Tomcat 3.3.2

Prasenjit Das
Greenhorn

Joined: Aug 12, 2003
Posts: 10
Hi,
I am getting the following error when i am trying to run my application thru the tomcat server.
Error: 500
Location: /mtdc/mtdc/scrRegistration_new.jsp
Internal Servlet Error:
javax.servlet.ServletException: Cannot create bean of class ConnectionPool
at mtdc.scrRegistration_new_1._jspService(scrRegistration_new_1.java:93)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:78)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:534)
at org.apache.tomcat.core.Handler.invoke(Handler.java:280)
at org.apache.tomcat.core.Handler.service(Handler.java:193)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:445)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:874)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:790)
at org.apache.coyote.tomcat3.Tomcat3Adapter.service(Tomcat3Adapter.java:64)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
at java.lang.Thread.run(Thread.java:484)
Root cause:
java.lang.ClassNotFoundException: class ConnectionPool : java.sql.SQLException: Can't find class for driver:
at java.beans.Beans.instantiate(Beans.java:211)
at java.beans.Beans.instantiate(Beans.java:51)
at mtdc.scrRegistration_new_1._jspService(scrRegistration_new_1.java:91)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:78)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:534)
at org.apache.tomcat.core.Handler.invoke(Handler.java:280)
at org.apache.tomcat.core.Handler.service(Handler.java:193)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:445)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:874)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:790)
at org.apache.coyote.tomcat3.Tomcat3Adapter.service(Tomcat3Adapter.java:64)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
at java.lang.Thread.run(Thread.java:484)

I have added the classes12.zip in the lib folder of tomcat and i have also added it in the user classpath of the environment variables.
but it still gives the same problem.
the tomcat is successfully started i guess.
Please Help.
Regards,
Prasenjit
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

rename classes12.zip to classes12.jar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: driver not found error in Tomcat 3.3.2