Tim Funk wrote:
Why is a kill done instead of a System.exit()?
System.exit() is a cleaner solution, but there are plenty of cases where
tomcat won't shut down at all with this solution, so a kill is needed
(either as suggested, or manually/externally). For example, I had a bug
in a webapp a
My plan was to add to Server attribute of shutdownWait(or something else
if someone else has a better suggestion). If greater than zero, then
System.exit() would be called otherwise, do nothing. That way - we are
backwards compatible.
Die in 30 seconds
Server port=8005 shutdown=SHUTDOWN