larryi 01/01/11 11:13:21
Modified: src/shell 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
1.33 +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.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- tomcat.bat 2001/01/08 12:11:46 1.32
+++ tomcat.bat 2001/01/11 19:13:18 1.33
@@ -22,7 +22,7 @@
rem
rem JAVA_HOME Must point at your Java Development Kit installation.
rem
-rem $Id: tomcat.bat,v 1.32 2001/01/08 12:11:46 larryi Exp $
+rem $Id: tomcat.bat,v 1.33 2001/01/11 19:13:18 larryi Exp $
rem -------------------------------------------------------------------------
@@ -152,7 +152,7 @@
:startSecure
echo Starting Tomcat with a SecurityManager
-%_SECSTARTJAVA% %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
+%_SECSTARTJAVA% %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
:runServer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]