File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JDBC Driver in Tomcat 4.0" Watch "JDBC Driver in Tomcat 4.0" New topic

JDBC Driver in Tomcat 4.0

Lijun An

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 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.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

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

Joined: Mar 15, 2002
Posts: 63
Hi Lijun
All you have to do is that rename 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+
I agree. Here's the link:
subject: JDBC Driver in Tomcat 4.0
It's not a secret anymore!