Larry Isaacs wrote: > Hope this helps, > > Larry OOPS. Trigger happy! Take 2 :-) Bojan
--- /home/groups/devel/jakarta/jakarta-tomcat/src/doc/tomcat-ug.html Sat Aug 18 11:25:01 2001 +++ tomcat-ug.html Fri Aug 24 23:19:05 2001 @@ -1313,24 +1313,14 @@ <td bgcolor="#c0c0c0"> <pre> <!-- (1) HTTP Connector for stand-alone operation --> - <Connector className="org.apache.tomcat.service.SimpleTcpConnector"> - <Parameter - name="handler" - value="org.apache.tomcat.service.http.HttpConnectionHandler"/> - <Parameter - name="port" - value="8080"/> - </Connector> + <Http10Connector port="8080" + address="127.0.0.1" + /> <!-- (2) AJPV12 Connector for out-of-process operation --> - <Connector className="org.apache.tomcat.service.SimpleTcpConnector"> - <Parameter - name="handler" - value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/> - <Parameter - name="port" - value="8007"/> - </Connector> + <Ajp12Connector port="8007" + address="127.0.0.1" + /> </pre> </td> </tr> @@ -1416,15 +1406,11 @@ <tr> <td bgcolor="#c0c0c0"> -<pre><!-- A pooled AJPV12 Connector for out-of-process operation --> - <Connector className="org.apache.tomcat.service.PoolTcpConnector"> - <Parameter - name="handler" - value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/> - <Parameter - name="port" - value="8007"/> - </Connector> +<pre> + <!-- A pooled AJPV12 Connector for out-of-process operation --> + <Ajp12Connector port="8007" + address="127.0.0.1" + /> </pre> </td> </tr> @@ -1454,23 +1440,13 @@ <td bgcolor="#c0c0c0"> <pre> <!-- A pooled AJPV12 Connector for out-of-process operation --> - <Connector className="org.apache.tomcat.service.PoolTcpConnector"> - <Parameter - name="handler" - value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/> - <Parameter - name="port" - value="8007"/> - <Parameter - name="max_threads" - value="30"/> - <Parameter - name="max_spare_threads" - value="20"/> - <Parameter - name="min_spare_threads" - value="5" /> - </Connector> + <Ajp12Connector tomcatAuthentication="false" + port="8007" + address="127.0.0.1" + maxThreads="30" + maxSpareThreads="20" + minSpareThreads="5" + /> </pre> </td> </tr> @@ -1479,14 +1455,14 @@ <p>As can be seen the pool has 3 configuration parameters:</p> <ul> - <li> max_threads - defines the upper bound to the for the + <li> maxThreads - defines the upper bound to the for the concurrency, the pool will not create more then this number of threads. </li> - <li> max_spare_threads - defines the maximum number of threads + <li> maxSpareThreads - defines the maximum number of threads that the pool will keep idle. If the number of idle threads passes the value of max_spare_threads the pool will kill these threads. </li> - <li> min_spare_threads - the pool will try to make sure that at + <li> minSpareThreads - the pool will try to make sure that at any time there is at least this number of idle threads waiting for new requests to arrive. min_spare_threads must be bigger then 0.</li>