tomcat pauses then crashes after a period of time 2006-12-10 - By David Wood
Back Hi everyone,
I have set up tomcat to run as a daemon using jsvc, which is working well, except when tomcat is idle for a period of time (usually overnight), and I execute a web service client, tomcat receives the request then simply stops. I can then restart and use it as normal. The log messages say it is pausing, but then nothing else is reported, eg:
Dec 8, 2006 4:21:03 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Dec 8, 2006 4:21:03 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 5188 ms Dec 11, 2006 9:16:06 AM org.apache.coyote.http11.Http11BaseProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 (See http://ttp-8080.ora-code.com)
Then it just crashes (eg Catalina no longer appears in the process list and connections are refused).
I am running tomcat 5.5.20 and java 1.5 on redhat enterprise 4.
I thought this might be a configuration (perhaps timeout) option, but cannot find any such option in the server.xml or other configuration files. I have read the doco, which suggests using the environment variable LD_ASSUME_KERNEL, but on further investigation I decided not to do this as my version of java is later than 1.4. There are other posts in this mailing list referring to the same problem, but none with a solution, although one does think it might be a memory issue. A web search reveals other similar problems with no solutions. I have attached some links at the bottom with threads I have found.
Does anyone know why tomcat is stopping?
Many thanks, Dave
http://forum.java.sun.com/thread.jspa?threadID=601519&messageID=3225604 http://www.nabble.com/tomcat-pauses-for-no-reason-at-all-tf1388752.html#a373 1594 http://www.nabble.com/Tomcat-5 (See http://cat-5.ora-code.com).X-dies-after-some-time-tf1216733.html#a321807 6
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To start a new topic, e-mail: users@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|