You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2003/01/17 11:05:40 UTC

cvs commit: jakarta-tomcat-catalina/catalina/src/bin setclasspath.bat setclasspath.sh

remm        2003/01/17 02:05:40

  Modified:    catalina/src/bin setclasspath.bat setclasspath.sh
  Log:
  - The main problem with all the CL failures (including the one I reported a couple
    of hours ago), was that bin was added as endorsed. While it is ok to do so
    with bootstrap and the laucher, tomcat-jni.jar was the one causing the
    problems, as its manifest include a lot of other JARs, which will end up in
    the system CL (which is wrong).
  - Instead, bootstrap will be added to the system CL by the startup script, and
    its manifest will add the laucher.
  - This should also fix all the CL problems which were reported with commons-logging.
  - If there was a reason why bin was endorsed, this could be reverted but tomcat-jni.jar
    has to be moved somewhere else.
  
  Revision  Changes    Path
  1.4       +2 -2      jakarta-tomcat-catalina/catalina/src/bin/setclasspath.bat
  
  Index: setclasspath.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/bin/setclasspath.bat,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- setclasspath.bat	4 Aug 2002 18:19:43 -0000	1.3
  +++ setclasspath.bat	17 Jan 2003 10:05:40 -0000	1.4
  @@ -33,7 +33,7 @@
   :okBasedir
   
   rem Set the default -Djava.endorsed.dirs argument
  -set JAVA_ENDORSED_DIRS=%BASEDIR%\bin;%BASEDIR%\common\endorsed
  +set JAVA_ENDORSED_DIRS=%BASEDIR%\common\endorsed
   
   rem Set standard CLASSPATH
   rem Note that there are no quotes as we do not want to introduce random
  
  
  
  1.4       +2 -2      jakarta-tomcat-catalina/catalina/src/bin/setclasspath.sh
  
  Index: setclasspath.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/bin/setclasspath.sh,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- setclasspath.sh	4 Aug 2002 18:19:43 -0000	1.3
  +++ setclasspath.sh	17 Jan 2003 10:05:40 -0000	1.4
  @@ -27,7 +27,7 @@
   fi
   
   # Set the default -Djava.endorsed.dirs argument
  -JAVA_ENDORSED_DIRS="$BASEDIR"/bin:"$BASEDIR"/common/endorsed
  +JAVA_ENDORSED_DIRS="$BASEDIR"/common/endorsed
   
   # Set standard CLASSPATH
   CLASSPATH="$JAVA_HOME"/lib/tools.jar
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>