There is no response to my previous mail about ajpid
for start/stop of Tomcat 3.3.
-
Henri Gomez ___[_]____
EMAIL : [EMAIL PROTECTED] (. .)
PGP KEY : 697ECEDD ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6
>-----Original Message-----
>From: GOMEZ Henri
>Sent: Wednesday, February 27, 2002 11:34 AM
>To: Tomcat Developers List
>Subject: RE: cvs commit:
>jakarta-tomcat/src/share/org/apache/tomcat/startup StopTomcat.java
>
>
>Let me resume and tag the correct behaviour :
>
>to start/stop with ajp12 :
>
>startup.sh -ajpid /var/spool/tomcat3/ajp12.id -ajp12
>shutdown.sh -ajpid /var/spool/tomcat3/ajp12.id -ajp12
>
>to start/stop with ajp13 :
>
>startup.sh -ajpid /var/spool/tomcat3/ajp13.id -ajp13
>shutdown.sh -ajpid /var/spool/tomcat3/ajp13.id -ajp13
>
>If tomcat didn't read server.xml at stop time,
>it may be better to remove AjpidFile from server.xml to avoid
>such problems and make it setable only in command line ?
>
>-
>Henri Gomez ___[_]____
>EMAIL : [EMAIL PROTECTED] (. .)
>PGP KEY : 697ECEDD ...oOOo..(_)..oOOo...
>PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6
>
>
>-----Original Message-----
>From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, February 27, 2002 1:01 AM
>To: Tomcat Developers List
>Subject: RE: cvs commit:
>jakarta-tomcat/src/share/org/apache/tomcat/startup StopTomcat.java
>
>
>Hi Henri,
>
>With implementation of the "ajp12.id" file, stopTomcat() quit reading
>the server.xml file (StopTomcat.java v1.2). It appears the comment
>about searching for the AJP12 connector has been out of date for a
>while.
>
>For situations where the "ajp??.id" file is in a non-default
>location, the "-ajpid" command line argument must be used to specify
>the alternate location. Specifying the "-ajp12" or "-ajp13" is also
>recommended. I still need to update the Users Guide to mention these
>new arguments.
>
>Cheers,
>Larry
>
>-----Original Message-----
>From: GOMEZ Henri [mailto:[EMAIL PROTECTED]]
>Sent: Tue 2/26/2002 4:38 PM
>To: Tomcat Developers List
>Cc:
>Subject: RE: cvs commit:
>jakarta-tomcat/src/share/org/apache/tomcat/startup StopTomcat.java
>
>There is a problem with that patch :
> void stopTomcat() throws Exception {
> // if a parameter isn't set, try to read it from a file
> if( port < 0 || host == null || secret == null ) {
> String tchome=getTomcatHome();
> String defAjp12File=tchome + "/conf/ajp12.id";
> String defAjp13File=tchome + "/conf/ajp13.id";
> String ajpFile=secretFile;
> int portSave=port;
> String hostSave=host;
> String secretSave=secret;
> boolean pickAjp=(!isAjp13 && !isAjp12);
>What happen if you put ajp12.id or ajp13.id, in another location
>using :
> <Ajp12Connector address="127.0.0.1" port="8007"
>AjpidFile="/var/spool/tomcat3/ajp12.id" />
> <Ajp13Connector port="8009"
>AjpidFile="/var/spool/tomcat3/ajp13.id" />
>