tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: Tomcat dying on its own
Date Tue, 07 Dec 2010 13:40:04 GMT
On 07.12.2010 12:27, Ronald Klop wrote:
> Op dinsdag, 7 december 2010 09:52 schreef Rainer Jung
> <rainer.jung@kippdata.de>:
>> On 06.12.2010 23:36, Guillaume Carbonneau wrote:

>> When starting Tomcat interactively you should be aware that some
>> shells kill all child processes when you log out (or get logged out
>> automatically). There's "nohup" though.
>>
>> I'm not sure what kind of signal is used then, so I can't tell whether
>> the orderly shutdown messages in your logs contradict that theory or not.

> Nohup stands for 'no hup', so the signal is HUP and that means HANG-UP
> as in disconnect your modem. Only the modem is replaced with ssh nowadays.

Of course. Think before write. And yes, the HUP signal calls the 
shutdown hook of the JVM, so Tomcat will shut down orderly when 
receiving HUP. Result: it could also have been logout or auto-logout 
from the shell.

Regards,

Rainer

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


Mime
View raw message