You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2003/04/03 02:53:51 UTC
cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/server JkMain.java
costin 2003/04/02 16:53:51
Modified: jk/java/org/apache/jk/server JkMain.java
Log:
jk2.properties is not required.
Revision Changes Path
1.36 +3 -4 jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkMain.java
Index: JkMain.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkMain.java,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- JkMain.java 4 Mar 2003 18:14:34 -0000 1.35
+++ JkMain.java 3 Apr 2003 00:53:51 -0000 1.36
@@ -255,8 +255,6 @@
if(null != out) {
PrintStream outS=new PrintStream(new FileOutputStream(out));
System.setOut(outS);
-// if( stderr==null )
-// System.setErr(out);
}
if(null != err) {
PrintStream errS=new PrintStream(new FileOutputStream(err));
@@ -282,8 +280,8 @@
setPropertiesFile( propsF.getAbsolutePath());
} else {
log.debug("Starting Jk2, base dir= " + home );
- if( log.isWarnEnabled() )
- log.warn( "No properties file found " + propsF );
+ if( log.isDebugEnabled() )
+ log.debug( "No properties file found " + propsF );
}
}
long t2=System.currentTimeMillis();
@@ -329,6 +327,7 @@
// or be chained to create one of the standard handlers
String handlers[]=defaultHandlers;
+ // backward compat
String workers=props.getProperty( "handler.list", null );
if( workers!=null ) {
handlers= split( workers, ",");
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org