Tomcat with mod_jk becomes irresponsive after working for awhile

2012-02-22 Thread Ofer Israeli
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


RE: Tomcat with mod_jk becomes irresponsive after working for awhile

2012-02-22 Thread Ofer Israeli
Mark Thomas wrote:
> On 22/02/2012 19:02, Ofer Israeli wrote:
>> All,
> 
> This is the dev list, not the users list. This question does not
> belong on this list. Further, I see you already posted to the users
> list. Please do not cross post. 
> 
> Mark

Hi Mark,

The reason I posted here as well as the users list is that I think there may be 
a bug in the Tomcat connector.  Should I procede in a different manner?


Cheers,
Ofer

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org