wrapper.jvm_kill.delay |
||||||||||||
This property controls the number of seconds to pause between firing the jvm_kill event, and actually killing the JVM. The default value is "0" (zero) seconds.
When the Wrapper decides to kill the JVM, some applications will first
want to execute an external command to something with the JVM before it is killed.
This is accomplished using the
one of "event command" (wrapper.
The Wrapper can be configured to request a thread dump before killing the JVM using the internal
wrapper. Unix: On UNIX, a thread dump can also be invoked by sending a SIGQUIT signal to the JVM process. The jvm_kill event takes place immediately before the JVM process is killed. This means that the JVM will likely have already been killed by the time the signal is actually sent. To work around this timing problem, we add a 5 second delay between the execution of the external command and the Wrapper actually killing the JVM.
Windows:
This could also be done on Windows when running as a service.
The following example assumes that the service is named "MyApp".
The "255" needs to match the value of the
wrapper.
|
Inicio-Reinicio: Retrasos |
|