tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Riggs <apache-li...@riggs.me>
Subject Re: Connector Setting Problem in tomcat 6.0.29
Date Fri, 05 Nov 2010 13:53:18 GMT
executor="<executor_name>", so in your case:

executor="tomcatThreadPool"

This is shown in the default/sample server.xml under the comment

<!-- A "Connector" using the shared thread pool-->


On Nov 5, 2010, at 9:49 AM, rujin raj wrote:

> Please how to add the executor attribute in connector
> 
> Executor="enable" or "true"
> 
> Is it like this:
> <Connector port="8080" protocol="HTTP/1.1"
>                connectionTimeout="20000"
>              Executor="enable" or "true"
>              maxThreads="1000"
>                enableLookups="false" disableUploadTimeout="true"
>               redirectPort="8443" />
> 
> 
> Thanks for helping me upto this level.I am trying this from last one week.
> 
> Regards
> rujin
> 
> On 5 November 2010 18:37, Caldarale, Charles R
> <Chuck.Caldarale@unisys.com>wrote:
> 
>>> From: rujin raj [mailto:rujinraj@gmail.com]
>>> Subject: Re: Connector Setting Problem in tomcat 6.0.29
>> 
>>> I tried a lot. I am not able to point out the problem.Herewith
>>> i attached my server.xml file..
>> 
>> When posting long XML files, please strip out the comments, so we don't
>> have to wade through the junk.
>> 
>>>    <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
>>>     maxThreads="1000" minSpareThreads="150"/>
>> 
>> You finally have an <Executor> configured; that's good.
>> 
>>>    <Connector port="8080" protocol="HTTP/1.1"
>>>               connectionTimeout="20000"
>>>               maxThreads="1000"
>>>               enableLookups="false" disableUploadTimeout="true"
>>>               redirectPort="8443" />
>> 
>> You failed to specify the executor attribute in the <Connector>, so the
>> <Connector> will use its own thread pool, not the <Executor>.
>> 
>> - Chuck
>> 
>> 
>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>> MATERIAL and is thus for use only by the intended recipient. If you received
>> this in error, please contact the sender and delete the e-mail and its
>> attachments from all computers.
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>> 
>> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message