|
From: Leif M. <le...@ta...> - 2004-10-20 04:10:55
|
If you send a SIGTERM to the JVM, it will interpret this a CTRL-C and shutdown cleanly. This is actually the correct behavior. If you want the JVM and Wrapper to ignore such signals, you can do so by setting the wrapper.ignore_signals property. If you do that however, you should also take a look at the wrapper.anchorfile property. http://wrapper.tanukisoftware.org/doc/english/prop-ignore-signals.html http://wrapper.tanukisoftware.org/doc/english/prop-anchorfile.html If you choose this method, then I suggest setting the IGNORE_SIGNALS property in the 3.1.2 shell script rather than setting the properties directly. This will cause the shell script to cleanly start and stop the wrapper using the anchor file rather than signals. Cheers, Leif Richard Emberson wrote: >Version 3.1.2 >OS linux >using WrapperSimpleApp > >killing the java process using the kill command, > > > >>kill java_process_id >> >> > >also kills the wrapper process. > >Why? > >Thanks. > >Richard > > |