You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by la...@apache.org on 2002/03/08 12:43:21 UTC
cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/startup StopTomcat.java
larryi 02/03/08 03:43:21
Modified: src/share/org/apache/tomcat/startup StopTomcat.java
Log:
Add "ajpid12" and "ajpid13" arguments to specify the file and protocol with
a single pair of arguments. This also makes it possible to use the same
arguments to specify the ajpid file and protocol at startup and shutdown.
Revision Changes Path
1.16 +15 -1 jakarta-tomcat/src/share/org/apache/tomcat/startup/StopTomcat.java
Index: StopTomcat.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/startup/StopTomcat.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- StopTomcat.java 8 Feb 2002 12:55:55 -0000 1.15
+++ StopTomcat.java 8 Mar 2002 11:43:21 -0000 1.16
@@ -104,7 +104,21 @@
secretFile=s;
commandLineParams=true;
}
-
+
+ public void setAjpid12( String s ) {
+ secretFile=s;
+ commandLineParams=true;
+ isAjp12=true;
+ isAjp13=false;
+ }
+
+ public void setAjpid13( String s ) {
+ secretFile=s;
+ commandLineParams=true;
+ isAjp12=false;
+ isAjp13=true;
+ }
+
public void setH( String s ) {
tomcatHome=s;
System.getProperties().put("tomcat.home", s);
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>