> From: keglius [mailto:[EMAIL PROTECTED] 
> Subject: RE: Tomcat 5.0 strange crashes
> 
> What is the problem with the webserver (Tomcat 5.5)? Why does 
> it crash?

You keep using the word "crash", but don't provide any evidence that the
Tomcat process is actually terminating.  It's highly unlikely that
Tomcat is crashing - much more likely that your webapp is going to sleep
for any of a variety of reasons, or just shutting down via a
System.exit() call.  Possible reasons include, but are not limited to,
running out of data base connections (failure to close them), deadlocks,
data at the wrong scope level, heap exhaustion...

If the Tomcat process is still around, take a thread dump and find out
where the threads are when things go to sleep.  If you think the webapp
really is running out of memory, prove it by running JConsole, and if
shows heap exhaustion, run a profiler to find out where your webapp has
a memory leak.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to