costin 02/02/07 09:07:35 Modified: jk/java/org/apache/jk/common HandlerRequest.java Log: Don't generate ajp13.id if conf/ dir not found or if no secret. Revision Changes Path 1.5 +9 -1 jakarta-tomcat-connectors/jk/java/org/apache/jk/common/HandlerRequest.java Index: HandlerRequest.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/HandlerRequest.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- HandlerRequest.java 6 Feb 2002 17:48:22 -0000 1.4 +++ HandlerRequest.java 7 Feb 2002 17:07:35 -0000 1.5 @@ -260,9 +260,17 @@ int portInt=8009; // tcpCon.getPort(); InetAddress address=null; // tcpCon.getAddress(); + if( requiredSecret == null ) + return; + File f1=new File( wEnv.getJkHome() ); + File f2=new File( f1, "conf" ); + if( ! f2.exists() ) { + log( "No conf dir for ajp13.id " + f2 ); + return; + } - File sf=new File( f1, "conf/ajp13.id"); + File sf=new File( f2, "ajp13.id"); if( dL > 0) d( "Using stop file: "+sf);
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>