Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: mod_jk -> tomcat sending delay

Mladen Turk

2007-02-10

Replies:

Marcin Zaj?czkowski wrote:
> Hi,
>
>
> I observe in mod_jk's log errors:
> [error] ajp_get_reply::jk_ajp_common.c (1566): (ajp13w) Tomcat is down
> or refused connection. No response has been sent to the client (yet)
>

All those error messages are 'normal' :)

>
> <servel.xml>
>     <Connector port="8009" address="127.0.0.1"
>     minProcessors="5" maxProcessors="100"
>     enableLookups="false" acceptCount="100" debug="0"
>     connectionTimeout="5000" useURIValidationHack="false"
>     protocol="AJP/1.3"/>
> </servel.xml>
>

Increase connectionTimeout to 60000 (1 minute).

The reason you are seeing those messages is because
Tomcat closes his part of connection.
If you wish to lower down the delay add
worker.ajpw13.connection_timeout=60000
worker.ajpw13.prepost_timeout=60000

Regards,
Mladen.

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.