patrickl 02/01/30 15:08:28
Modified: catalina/src/bin Tag: tomcat_40_branch setclasspath.bat
setclasspath.sh
Log:
Add bin directory to java.endorsed.dirs property as well since it is needed to run
with the -security option.
Revision Changes Path
No revision
No revision
1.1.2.3 +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.2
retrieving revision 1.1.2.3
diff -u -r1.1.2.2 -r1.1.2.3
--- setclasspath.bat 30 Jan 2002 22:37:03 -0000 1.1.2.2
+++ setclasspath.bat 30 Jan 2002 23:08:28 -0000 1.1.2.3
@@ -1,7 +1,7 @@
rem ---------------------------------------------------------------------------
rem Set CLASSPATH and Java options
rem
-rem $Id: setclasspath.bat,v 1.1.2.2 2002/01/30 22:37:03 patrickl Exp $
+rem $Id: setclasspath.bat,v 1.1.2.3 2002/01/30 23:08:28 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=%BASEDIR%\common\lib
+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.1.2.3 +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.2
retrieving revision 1.1.2.3
diff -u -r1.1.2.2 -r1.1.2.3
--- setclasspath.sh 30 Jan 2002 22:37:03 -0000 1.1.2.2
+++ setclasspath.sh 30 Jan 2002 23:08:28 -0000 1.1.2.3
@@ -1,7 +1,7 @@
# -----------------------------------------------------------------------------
# Set CLASSPATH and Java options
#
-# $Id: setclasspath.sh,v 1.1.2.2 2002/01/30 22:37:03 patrickl Exp $
+# $Id: setclasspath.sh,v 1.1.2.3 2002/01/30 23:08:28 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="$BASEDIR"/common/lib
+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]>