larryi 01/01/11 11:12:48
Modified: src/shell Tag: tomcat_32 tomcat.bat
Log:
Undo prior "fix" per Craig's note below:
The double equals sign (==) tells the default security policy reader that the
specified policy file completely *replaces* the standard one (which is what we
want here, same as in Tomcat 3.2). Otherwise, the specified policy file is
merely *appended* to the standard one.
Revision Changes Path
No revision
No revision
1.24.2.6 +2 -2 jakarta-tomcat/src/shell/tomcat.bat
Index: tomcat.bat
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/shell/tomcat.bat,v
retrieving revision 1.24.2.5
retrieving revision 1.24.2.6
diff -u -r1.24.2.5 -r1.24.2.6
--- tomcat.bat 2001/01/08 12:10:29 1.24.2.5
+++ tomcat.bat 2001/01/11 19:12:45 1.24.2.6
@@ -22,7 +22,7 @@
rem
rem JAVA_HOME Must point at your Java Development Kit installation.
rem
-rem $Id: tomcat.bat,v 1.24.2.5 2001/01/08 12:10:29 larryi Exp $
+rem $Id: tomcat.bat,v 1.24.2.6 2001/01/11 19:12:45 larryi Exp $
rem -------------------------------------------------------------------------
@@ -154,7 +154,7 @@
:runSecure
rem Running Tomcat with a SecurityManager
-%_RUNJAVA% %TOMCAT_OPTS% -Djava.security.manager
-Djava.security.policy="%TOMCAT_HOME%/conf/tomcat.policy"
-Dtomcat.home="%TOMCAT_HOME%" org.apache.tomcat.startup.Tomcat %3 %4 %5 %6 %7 %8 %9
+%_RUNJAVA% %TOMCAT_OPTS% -Djava.security.manager
-Djava.security.policy=="%TOMCAT_HOME%/conf/tomcat.policy"
-Dtomcat.home="%TOMCAT_HOME%" org.apache.tomcat.startup.Tomcat %3 %4 %5 %6 %7 %8 %9
goto cleanup
:stopServer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]