wood burning stoves 2.0*
The moose likes Tomcat and the fly likes JDBC Driver in Tomcat 4.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JDBC Driver in Tomcat 4.0" Watch "JDBC Driver in Tomcat 4.0" New topic
Author

JDBC Driver in Tomcat 4.0

Lijun An
Greenhorn

Joined: Feb 05, 2002
Posts: 15
Hi friends,
I understand that for a web application JDBC Driver is supposed to be put in WEB-INF\LIB, isn't it? I have a web application deployed on to Tomcat 4.0. I use Oracle JDBC Thin Driver. It's bundled in a zip file called classes12.zip. I put it in WEB-INF\LIB. When I start the webapp, and load page to get data from oracle, Tomcat told me that it cannot find JDBC Driver class. Anybody can help me on this?
Thanks in advance.
Lijun
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Put it in <CATALINA_HOME>/common/lib and also, rename the file from classes12.zip to classes12.jar
Sunny Liu
Ranch Hand

Joined: Mar 15, 2002
Posts: 63
Hi Lijun
All you have to do is that rename classes12.zip to classes12.jar in you web-INF\lib directory


If I am rich, I will spend more.<p>IBM 486 (OOAD & UML) & 141 (XML) passed<br />Oracle 1Z0-007 passed<br />MCSD MCDBA MCSE <br />SCJP SCSSA<br />CCNA CNA A+
 
wood burning stoves
 
subject: JDBC Driver in Tomcat 4.0
 
Similar Threads
No suitable driver
a question about jar and zip file
Cannot Compile Class error on Tomcat 6.0
url for datasource (urgent)
a question about zip and jar file