There is a way to use the classpath. In the script catalina.bat/catalina.sh the variable CLASSPATH is overwritten and all previous content is skipped. You can fix this by including the content of the CLASSPATH variable. There is also a script called setclasspath.sh/setclasspath.bat. You can change this also. I did not find a solution if you're using the Tomcat service under Win NT/2000/XP. If you need JARS outside the Tomcat installation you have to go this way and to start Tomcat using the scripts instead of using the service.
Change the line
set CLASSPATH=...
to (according to your plattform)
set CLASSPATH=%CLASSPATH%;... or
set CLASSPATH=${CLASSPATH};...
Greetings
Michael
Craig R. McClanahan wrote:
On Tue, 29 Oct 2002, Sinclair, Alan (CORP, GEAccess) wrote:
Date: Tue, 29 Oct 2002 13:01:06 -0700Yes.
From: "Sinclair, Alan (CORP, GEAccess)" <[EMAIL PROTECTED]>
Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
To: "Tomcat Users List (E-mail)" <[EMAIL PROTECTED]>
Subject: Is CLASSPATH ignored ?
All,
Does the UNIX Tomcat implementation ignore the CLASSPATH environment
variable ?
For example, in order to make DBCP pooling work, I placed the Oracle JARhttp://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
file in $CATALINA_HOME/common/lib Does this mean that all application JAR
files must be installed in ../common/lib ?
ThanksCraig
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
-- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>