tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@binarix.com>
Subject Re: Thread pool support
Date Fri, 24 Aug 2001 13:15:14 GMT
Larry Isaacs wrote:
> 
> Hi Bojan,
> 
> The user's guide still has a lot of content that is out of date.
> You cite one of the sections that I haven't updated yet.
> 
> The reading of server.xml is controlled by ServerXmlReader.java
> found in "tomcat/modules/config".  See the setBackward() method
> at the end of the file for how the old syntax is supported.
> The syntax you request is now the standard.
> 
> If a module (a.k.a interceptor) has a setter, you can specify
> the corresponding property in server.xml.  Since PoolTcpConnector
> (which Ajp13Interceptor extends) contains setMaxThreads(),
> setMaxSpareThreads(), setMinSpareThreads(), etc. the syntax
> would be:
> 
> <Ajp13Connector maxThreads="50"
>                 maxSpareThreads="10"
>                 minSpareThreads="5"
>                 port="8009"
>                 address="127.0.0.1"/>
> 
> I believe it is the following lines in ServerXmlReader.addTagRule()
> that makes this possible:
> 
>         xh.addRule( tag ,
>                     xh.setProperties());
> 
> Hope this helps,

Yep, it does. Thanks.

Patch for the UG is attached.

Bojan
Mime
View raw message