You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bi...@apache.org on 2002/12/23 04:00:57 UTC

cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/ajp/tomcat4/config ApacheConfig.java

billbarker    2002/12/22 19:00:57

  Modified:    jk/java/org/apache/ajp/tomcat4/config ApacheConfig.java
  Log:
  Fixing JavaDocs and logging messages to reflect the correct 4.x syntax (instead of the 3.3 syntax).
  
  Reported by: Jerry Ford jford@katenjammer.us
  
  Revision  Changes    Path
  1.4       +7 -6      jakarta-tomcat-connectors/jk/java/org/apache/ajp/tomcat4/config/ApacheConfig.java
  
  Index: ApacheConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/ajp/tomcat4/config/ApacheConfig.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ApacheConfig.java	12 Dec 2001 04:09:35 -0000	1.3
  +++ ApacheConfig.java	23 Dec 2002 03:00:57 -0000	1.4
  @@ -88,14 +88,15 @@
       initialized during startup.
       <p>
       This config interceptor is enabled by inserting an ApacheConfig
  -    element in the <b>&lt;ContextManager&gt;</b> tag body inside
  +    <code>Listener</code> in 
       the server.xml file like so:
       <pre>
  -    * < ContextManager ... >
  +    * < Server ... >
       *   ...
  -    *   <<b>ApacheConfig</b> <i>options</i> />
  +    *   <Listener className=<b>org.apache.ajp.tomcat4.config.ApacheConfig</b> 
  +    *       <i>options</i> />
       *   ...
  -    * < /ContextManager >
  +    * < /Server >
       </pre>
       where <i>options</i> can include any of the following attributes:
       <ul>
  @@ -292,7 +293,7 @@
   	    log( "mod_jk location: " + modJk );
   	    log( "Make sure it is installed corectly or " +
   		 " set the config location" );
  -	    log( "Using <ApacheConfig modJk=\"PATH_TO_MOD_JK.SO_OR_DLL\" />" );
  +	    log( "Using <Listener className=\""+getClass().getName()+"\"  modJk=\"PATH_TO_MOD_JK.SO_OR_DLL\" />" );
   	}
               
   	// Verify the file exists !!
  @@ -309,7 +310,7 @@
   	    log( "Can't find workers.properties at " + workersConfig );
   	    log( "Please install it in the default location or " +
   		 " set the config location" );
  -	    log( "Using <ApacheConfig workersConfig=\"FULL_PATH\" />" );
  +	    log( "Using <Listener className=\"" + getClass().getName() + "\"  workersConfig=\"FULL_PATH\" />" );
   	    return false;
   	}
               
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>