Subject: Tomcat with mod_jk becomes irresponsive after working for awhile
All,

I have a deployment on Windows 2003 Server using Apache 2.2.16, Tomcat 5.5.30
and mod_jk 1.2.31. Apache and Tomcat reside on the same machine. The
communication is fine for days / weeks, but at some point all requests to the
server (to Apache) that use mod_jk return HTTP 503.

The error that shows up in mod_jk.log is:
[Mon Feb 20 12:07:01.464 2012] [7280:6912] [error]
ajp_send_request::jk_ajp_common.c (1610): (all) failed sending request on a
fresh connection (recoverable), socket -1 (errno=54)
[Mon Feb 20 12:07:01.464 2012] [7280:6912] [error] ajp_service::jk_ajp_common.c
(2562): (all) connecting to tomcat failed.

I've done a packet capture and I see that Apache initiates the 3-way handshake
with Tomcat which looks fine and immediately after the connection is
established, Tomcat sends a FIN packet to Apache whereby both sides gracefully
close the connection.

Have any of you encountered this before?

Do you have any idea what debug logs I can turn on to get further information
without bringing down the server so that we don't loose this situation?


Many thanks,
Ofer
(C)2011 mailinglist-archive.com