patrickl    02/01/30 14:37:03

  Modified:    catalina/src/bin Tag: tomcat_40_branch 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
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.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.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- setclasspath.bat  30 Jan 2002 18:10:40 -0000      1.1.2.1
  +++ setclasspath.bat  30 Jan 2002 22:37:03 -0000      1.1.2.2
  @@ -1,7 +1,7 @@
   rem ---------------------------------------------------------------------------
   rem Set CLASSPATH and Java options
   rem
  -rem $Id: setclasspath.bat,v 1.1.2.1 2002/01/30 18:10:40 patrickl Exp $
  +rem $Id: setclasspath.bat,v 1.1.2.2 2002/01/30 22:37:03 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%\common\lib
   
   rem Set standard CLASSPATH
   rem Note that there are no quotes as we do not want to introduce random
  
  
  
  1.1.2.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.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- setclasspath.sh   30 Jan 2002 18:10:40 -0000      1.1.2.1
  +++ setclasspath.sh   30 Jan 2002 22:37:03 -0000      1.1.2.2
  @@ -1,7 +1,7 @@
   # -----------------------------------------------------------------------------
   #  Set CLASSPATH and Java options
   #
  -#  $Id: setclasspath.sh,v 1.1.2.1 2002/01/30 18:10:40 patrickl Exp $
  +#  $Id: setclasspath.sh,v 1.1.2.2 2002/01/30 22:37:03 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"/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]>

Reply via email to