tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Tomcat dies suddenly
Date Fri, 12 Feb 2010 20:19:17 GMT
2010/2/12 Carl <carl@etrak-plus.com>:
> Chuck,
>
> Oooo, that's interesting.  Just tried kill -9 xxx (the process id of the
> java process) on one the servers not currently in production and it put
> nothing in the catalina.out file and nothing in the Slackware messages file.
>
> Time to test the ideas from Chris and Peter.
>
> Thanks for your insights.
>
> Carl
>
> ----- Original Message ----- From: "Caldarale, Charles R"
> <Chuck.Caldarale@unisys.com>
> To: "Tomcat Users List" <users@tomcat.apache.org>
> Sent: Friday, February 12, 2010 1:57 PM
> Subject: RE: Tomcat dies suddenly
>
>
>> From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com]
>> Subject: Re: Tomcat dies suddenly
>>
>> Actually, 6.0.24 version *will* exit silently if it is terminated
>> by a signal.
>>
>> To reproduce (on Windows):
>> 1. Run Tomcat in a console window.
>> 2. Press Ctrl+C
>> 3. Tomcat shutdowns in several seconds, cleanly, but silently.
>
> Not for me; I get the following in catalina.2010-02-12.log after entering
> CTRL-C:
>
> Feb 12, 2010 12:53:42 PM org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8080
>
> This is Tomcat 6.0.24, JDK 1.6.0_14, Windows XP Pro 32-bit.
>

That depends on your luck. As I said, all hooks run in parallel. You
can compare those messages with the ones printed when you shutdown
through "catalina.bat stop" (aka shutdown.bat).

Also, note that to disable buffering in log subsystem in 6.0.24 you
can configure "bufferSize=-1" for all your FileHandlers in
logging.properties,  see
https://issues.apache.org/bugzilla/show_bug.cgi?id=48614#c5

6.0.25 and later will have log buffering turned off by default.


Best regards,
Konstantin Kolinko

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


Mime
View raw message