| Author |
tomcat classpath
|
Pirams
Greenhorn
Joined: Dec 21, 2001
Posts: 4
|
|
Hi, I was using Tomcat to develop a small application, where I was using OracleDriver for JDBC access. In order for the Tomcat to see the corresponding zip file(driver file), I had to unzip that file in the WEB-INF\classes directory of my application folder in the Webapps folder in side tocat installation folder. I couldn't find a way to include the original path of the driver file in the tomcat's classpath. I saw in the Tomcat's documentation that Tomcat doesn't see the system's classpath. Please let me know anyone, how can I set the classpath so that tomcat can see that file, instead of unzip in to the classes directory. Thanks Piram
|
 |
Biju Nair
Ranch Hand
Joined: Dec 15, 2001
Posts: 31
|
|
The zip file you are referring to may probably be classes11.zip or classes12.zip. Try renaming it to a .jar file and put it in the 'lib' folder inside tomcat folder. This worked in my case. ------------------ --:Biju:--
|
--: Biju Nair :--
|
 |
Mike Curwen
Ranch Hand
Joined: Feb 20, 2001
Posts: 3695
|
|
Also, Tomcat 4.x doesn't use System CLASSPATH, so put your oracle jar file in the <CATALINA_HOME>/common/lib directory. In Tomcat 3.x, this folder was <TOMCAT_HOME>/lib, but it would have also picked it up from wherever it was on your system, as long as it was in the system CLASSPATH [This message has been edited by Mike Curwen (edited December 27, 2001).]
|
 |
 |
|
|
subject: tomcat classpath
|
|
|