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" />
msg22619/bin00000.bin
Description: application/ms-tnef
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>