patrickl 02/01/30 15:01:50 Modified: catalina/src/bin setclasspath.bat setclasspath.sh Log: Set java.endorsed.dirs property to common/lib so that the XML parser in common/lib overrides the parser bundled with JDK 1.4. This behavior is needed for Tomcat to behave under JDK 1.4 like it currently behaves in JDK 1.3 Revision Changes Path 1.2 +2 -2 jakarta-tomcat-4.0/catalina/src/bin/setclasspath.bat Index: setclasspath.bat =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/bin/setclasspath.bat,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- setclasspath.bat 15 Jan 2002 02:55:38 -0000 1.1 +++ setclasspath.bat 30 Jan 2002 23:01:50 -0000 1.2 @@ -1,7 +1,7 @@ rem --------------------------------------------------------------------------- rem Set CLASSPATH and Java options rem -rem $Id: setclasspath.bat,v 1.1 2002/01/15 02:55:38 patrickl Exp $ +rem $Id: setclasspath.bat,v 1.2 2002/01/30 23:01:50 patrickl Exp $ rem --------------------------------------------------------------------------- rem Make sure prerequisite environment variables are set @@ -31,7 +31,7 @@ set JAVA_OPTS= rem Set the default -Djava.endorsed.dirs argument -set JAVA_ENDORSED_DIRS= +set JAVA_ENDORSED_DIRS=%BASEDIR%\bin;%BASEDIR%\common\lib rem Set standard CLASSPATH rem Note that there are no quotes as we do not want to introduce random 1.2 +2 -2 jakarta-tomcat-4.0/catalina/src/bin/setclasspath.sh Index: setclasspath.sh =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/bin/setclasspath.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- setclasspath.sh 15 Jan 2002 02:55:38 -0000 1.1 +++ setclasspath.sh 30 Jan 2002 23:01:50 -0000 1.2 @@ -1,7 +1,7 @@ # ----------------------------------------------------------------------------- # Set CLASSPATH and Java options # -# $Id: setclasspath.sh,v 1.1 2002/01/15 02:55:38 patrickl Exp $ +# $Id: setclasspath.sh,v 1.2 2002/01/30 23:01:50 patrickl Exp $ # ----------------------------------------------------------------------------- # Make sure prerequisite environment variables are set @@ -30,7 +30,7 @@ JAVA_OPTS= # Set the default -Djava.endorsed.dirs argument -JAVA_ENDORSED_DIRS= +JAVA_ENDORSED_DIRS="$BASEDIR"/bin:"$BASEDIR"/common/lib # Set standard CLASSPATH CLASSPATH="$JAVA_HOME"/lib/tools.jar
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>