On Thu, Oct 16, 2008 at 1:31 PM, Maxim Veksler <[EMAIL PROTECTED]> wrote: > On Wed, Oct 15, 2008 at 21:07, Filip Hanik - Dev Lists > <[EMAIL PROTECTED]>wrote: > >> you mean like >> >> java.lang.System.exit(1); >> >> > Not quite. > > I've commented that I've tried System.exit(1); and it's fails because I have > threads that aren't going down by this instruction. The need the Servlet > notification of a shutdown event. > > That's the reason for my query of doing "ordered shutdown". > > Thank you for your help.
u mean as in http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Runtime.html#addShutdownHook(java.lang.Thread) Leon --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]