Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set CLASSPATH in Tomcat ?

Status
Not open for further replies.

CodeLover55

Programmer
Oct 16, 2002
16
0
0
US
I installed Tomcat4.0.6 and don't know how to set the classpath. I've the classpath set as an environment system variable but I dunno why Tomcat is able to find classes in that path. As a workaround, I had to copy the classes in the classes directory of tomcat.
Also, I get a
ClassNotFoundException: oracle.jdbc.driver.OracleDriver
error when I run a JSP which has to connect to an Oracle database. I am sure this is happening bcoz Tomcat is not able to find the Oracle driver classes even though they are in the system variable CLASSPATH.

Please help.
 
FYI, I have been able to fix the jdbc driver problem. I had to copy the classes12.zip file from the oracle home directory to %CATALINA_HOME%/common/lib directory and also had to rename it to classes12.jar !!!!!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top