Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TOMCAT crash

 
Rakesh Gadre
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there anything else under TOMCAT_INSTALL/logs?
 
Rakesh Gadre
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic