tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Isaacs <>
Subject RE: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/startu p
Date Wed, 27 Feb 2002 00:00:37 GMT
Hi Henri,
With implementation of the "" file, stopTomcat() quit reading
the server.xml file ( v1.2).  It appears the comment
about searching for the AJP12 connector has been out of date for a
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.

-----Original Message----- 
From: GOMEZ Henri [] 
Sent: Tue 2/26/2002 4:38 PM 
To: Tomcat Developers List 
Subject: RE: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/startup

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/"; 
            String defAjp13File=tchome + "/conf/"; 
            String ajpFile=secretFile; 
            int portSave=port; 
            String hostSave=host; 
            String secretSave=secret; 
            boolean pickAjp=(!isAjp13 && !isAjp12); 
What happen if you put or, in another location 
using : 
        <Ajp12Connector address="" port="8007" AjpidFile="/var/spool/tomcat3/"
        <Ajp13Connector port="8009" AjpidFile="/var/spool/tomcat3/" /> 

View raw message