Re: Shutdown.sh does not work when long lasting operations, suchas SQL Queries, are still active!

2003-02-11 Thread Michael Smith
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

Re: Shutdown.sh does not work when long lasting operations, suchas SQL Queries, are still active!

2003-02-10 Thread Tim Funk
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