Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
tomcat pauses then crashes after a period of time

tomcat pauses then crashes after a period of time

2006-12-10       - By David Wood

 Back
Reply:     1     2     3     4     5     6     7  

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 Source code of 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 Source code of org.apache.catalina.startup.Catalina start
INFO: Server startup in 5188 ms
Dec 11, 2006 9:16:06 AM org.apache.coyote.http11.Http11BaseProtocol Source code of 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)

©2008 junlu.com - Jax Systems, LLC, U.S.A.