aspose file tools*
The moose likes Tomcat and the fly likes TOMCAT crash Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "TOMCAT crash" Watch "TOMCAT crash" New topic
Author

TOMCAT crash

Rakesh Gadre
Ranch Hand

Joined: Feb 22, 2003
Posts: 47
We are using Apache 2.2 and Tomcat 5.5.16 on UNIX.

The application was working fine and all of a sudden Tomcat crashed!! Here is the log:

[Mon Aug 20 11:35:33 2007] [info] ajp_service::jk_ajp_common.c (1721): Receiving from tomcat failed, recoverable operation attempt=0
[Mon Aug 20 11:35:33 2007] [info] ajp_service::jk_ajp_common.c (1749): Sending request to tomcat failed, recoverable operation attempt=1
[Mon Aug 20 11:35:33 2007] [info] ajp_connection_tcp_get_message::jk_ajp_common.c (955): Tomcat has forced a connection close for socket 17
[Mon Aug 20 11:35:33 2007] [error] ajp_get_reply::jk_ajp_common.c (1503): Tomcat is down or refused connection. No response has been sent to the client (yet)
[Mon Aug 20 11:35:33 2007] [info] ajp_service::jk_ajp_common.c (1721): Receiving from tomcat failed, recoverable operation attempt=0
[Mon Aug 20 11:35:33 2007] [info] ajp_service::jk_ajp_common.c (1749): Sending request to tomcat failed, recoverable operation attempt=1
[Mon Aug 20 11:35:33 2007] [info] jk_open_socket::jk_connect.c (444): connect to 127.0.0.1:8009 failed with errno=146


Any clue?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Is there anything else under TOMCAT_INSTALL/logs?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Rakesh Gadre
Ranch Hand

Joined: Feb 22, 2003
Posts: 47
Nope
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
At this point I would be using the Manager application to look at how many Threads Tomcat is using and how long they have been running.

If you have somehow used up all the allocated Threads, Tomcat will refuse connections. I once got bit by this when request handling Threads started going into endless waits due to bad configuration.

Bill
 
Consider Paul's rocket mass heater.
 
subject: TOMCAT crash