Hi,

We are experiencing similiar problem, and we have added a shutdown hook to
JVM :
Runtime.getRuntime().addShutdownHook(new PrintStacktracesOnShutdownHook());

and used Thread.getAllStackTraces() to get all stack traces and printed them
out.
Finally it occured that process really did got SIGHUP signal.

Hope it helps, let us know what happened after that.
Tomasz Bartczak


Rainer Jung-3 wrote:
> 
> On 17.06.2010 05:35, Caldarale, Charles R wrote:
>>> From: Marco Castillo [mailto:mabcasti...@vdkit.net]
>>> Subject: Tomcat unexpected shutdown on Solaris
>>>
>>> I have checked all the logs and there is no exception displayed,
>>> no error, nothing. I look for an error file from java, but there
>>> is no one. It happens randomly. Sometimes the Tomcat works for
>>> large periods of time, sometimes it shutdowns 5 minutes after it
>>> has been started. Does somebody has any idea?
>>
>> Likely one of your webapps (possibly a 3rd-party library) is calling
>> System.exit() - very anti-social behavior.  You can use a security
>> manager to prevent it and catch the culprit.
> 
> ... or you are starting Tomcat with an interactive shell, and the shell 
> is one of those which sends a signal (SIGHUP or similar) to all child 
> processes when you logout (or get logged out by some idleness condition 
> or similar). See "man nohup".
> 
> Regards,
> 
> Rainer
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Tomcat-unexpected-shutdown-on-Solaris-tp28909286p29718449.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to