Hi,
Will tomcat wait until time consuming requests are completed before
shutting
down?
No.
Yoav Shapira http://www.yoavshapira.com
This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or
Hi,
Too long can be defined in a configuration file.
It could be, and you're welcome to go ahead and do it. Waste of time.
The major problem is that Tomcat can't do a 'restart'. For example with
mysql I can do a /etc/init.d/mysql restart and it will block until stop
runs... then start. If
Shapira, Yoav wrote:
The semantic of restart only if you feel like it is useless IMHO. You
either want a restart or you don't. If there's an error serious enough
to prevent shutdown, you want to look into it anyways. But since your
use-case apparently calls for this functionality, go ahead, do
Kevin A. Burton [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Shapira, Yoav wrote:
The semantic of restart only if you feel like it is useless IMHO. You
either want a restart or you don't. If there's an error serious enough
to prevent shutdown, you want to look into it anyways.
Currently Tomcats shutdown model is to politely request that the
server shutdown.
Most of the time Tomcat is friendly and will shutdown as requested but
sometimes it won't do as its told and run forever. This seems to happen
if a shutdown hook has problems or it runs out of memory. This is
synchronous shutdown?
Currently Tomcats shutdown model is to politely request that the
server shutdown.
Most of the time Tomcat is friendly and will shutdown as requested but
sometimes it won't do as its told and run forever. This seems to
happen
if a shutdown hook has problems or it runs out of memory
Shapira, Yoav wrote:
Hi,
The Tomcat shutdown script provides support for a -force option, which
does a kill -9 on the process ID after the normal shutdown.
If you want something beyond that, do it yourself. Accounting for
reasons like an OOME or your own code spawning non-daemon threads is
Will tomcat wait until time consuming requests are completed before shutting
down?
/rob
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 9:36 PM
Subject: RE: Tomcat synchronous shutdown?
Hi,
The Tomcat