Hi chris,

are you sure about this CLASSPATH-thing?

a few lines above your quoted line catalina.sh sources/includes
setclasspath.sh which zaps CLASSPATH ("First clear out the user classpath")

I just remembered it because i had to comment this line "CLASSPATH="
to use my externally set environment variable. This happened before i
got cured using the CLASSPATH env at all :-)

@all: this is no advice for patching tomcat (startup) scripts!

kind regards,
   Markus

Christopher Schultz wrote:
> Brian,
> 
> Brian Munroe wrote:
>> I was always told that Tomcat ignored the CLASSPATH and
>> not to use it.  Maybe that is one of those white lies they tell
>> newbies to alleviate problems? :)
> 
> The CLASSPATH environment variable is certainly not ignored by Tomcat.
> Here's part of the startup script from TC 5.5:
> 
> # Add on extra jar files to CLASSPATH
> if [ -n "$JSSE_HOME" ]; then
> CLASSPATH="$CLASSPATH":"$JSSE_HOME"/lib/jcert.jar:"$JSSE_HOME"/lib/jnet.jar:"$JSSE_HOME"/lib/jsse.jar
> fi
> CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/bootstrap.jar:"$CATALINA_HOME"/bin/commons-logging-api.jar
> 
> Setting your own CLASSPATH environment variable is a recipe for disaster.
> 
> -chris
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to