>From tomcat.sh =>

Where is NEW_LOADER mode =>

if [ "$NEW_LOADER" = "1" ]; then
  MAIN=org.apache.tomcat.startup.Main
  export MAIN
  CLASSPATH=${TOMCAT_HOME}/lib/tomcat.jar               

===> CLASSPATH = ${TOMCAT_HOME}/lib/tomcat.jar


else
  MAIN=org.apache.tomcat.startup.Tomcat

## Temp - old script 
for i in ${TOMCAT_HOME}/lib/* ; do
  if [ "$CLASSPATH" != "" ]; then
    CLASSPATH=${CLASSPATH}:$i
  else
    CLASSPATH=$i
  fi
done

if [ -f ${JAVA_HOME}/lib/tools.jar ] ; then
   # We are probably in a JDK1.2 environment
   CLASSPATH=${CLASSPATH}:${JAVA_HOME}/lib/tools.jar


===> If we're in JDK >= 1.2 CLASSPATH =
${TOMCAT_HOME}/lib/tomcat.jar:${JAVA_HOME}/lib/tools.jar

fi

# Backdoor classpath setting for development purposes when all classes
# are compiled into a /classes dir and are not yet jarred.
if [ -d ${TOMCAT_HOME}/classes ]; then
    CLASSPATH=${TOMCAT_HOME}/classes:${CLASSPATH}

===> If we have a ${TOMCAT_HOME}/classes subdir CLASSPATH =
${TOMCAT_HOME}/classes:${TOMCAT_HOME}/lib/tomcat.jar:${JAVA_HOME}/lib/tools.
jar
Question to Larry/Nacho/Costin did we still need that ? If so why not
CLASSPATH=${CLASSPATH}:${TOMCAT_HOME}/classes ?

fi

if [ "$oldCP" != "" ]; then
    CLASSPATH=${CLASSPATH}:${oldCP}

===> ARG we didn't need that with NEW_LOADER=1 ?????

fi

# End - NEW_LOADER
fi



>-----Original Message-----
>From: Steve Downey [mailto:[EMAIL PROTECTED]]
>Sent: Monday, March 19, 2001 3:14 PM
>To: '[EMAIL PROTECTED]'
>Subject: RE: [PATCH] TC3.3 tomcat.bat doesn't pick up external 
>CLASSPATH
>
>
>Sorry, I wasn't clear. tomcat.sh takes the classpath from the launching
>environment and prepends lib/tomcat.jar to it. My original 
>patch added this
>functionality to tomcat.bat. However, if it's a desireable 
>feature to start
>with an empty classpath, and I agree that it is, the tomcat.sh 
>should be
>fixed so that it sets the classpath to just lib/tomcat.jar.
>
>tomcat.sh and tomcat.bat should be functionally equivalent, at 
>least to the
>extent that the windows shell allows.
>
>
>> -----Original Message-----
>> From: GOMEZ Henri [mailto:[EMAIL PROTECTED]]
>> Sent: Monday, March 19, 2001 8:46 AM
>> To: [EMAIL PROTECTED]
>> Subject: RE: [PATCH] TC3.3 tomcat.bat doesn't pick up 
>> external CLASSPATH
>> 
>> 
>> >Ah, then you'll be wanting the contrawise patch to tomcat.sh
>> >
>> 
>> I'm not sure to understand perfectly what you say but with
>> the new schema loader you start with an empty CLASSPATH.
>> 
>> Depending where are located the .jar, you make them available
>> to container (tomcat), webapps or both. Usefull to fix the XML
>> parser conflicts....
>> 
><><><><><><><><><><><><><><><><><><><><><>This electronic mail 
>transmission
>may contain confidential information and is intended only for 
>the person(s)
>named.  Any use, copying or disclosure by any other person is strictly
>prohibited.  If you have received this transmission in error, 
>please notify
>the sender via e-mail. <><><><><><><><><><><><><><><><><><><><><>
>

Reply via email to