DO NOT modify any of these parameters unless you have read this property description.
Incorrect settings can cause the Wrapper to fail to operate as expected.
Number of seconds to allow between
the time that the JVM reports that it is stopped and
the time that the JVM process actually terminates.
Setting this property value to "0" (zero) means never time out.
The default value is "15 seconds".
In normal operation, the Java side of the Wrapper will execute System.exit
when it has completed its JVM shutdown cycle and is ready to exit.
When this timeout is triggered, a message like the following will be logged.
wrapper | Shutdown failed: Timed out waiting for the JVM to terminate.
wrapper | Java Virtual Machine did not exit on request, terminated
If the application has registered its own Shutdown Hook
which takes some time to complete,
you could experience timeouts waiting for the JVM process to terminate.
To avoid this problem,
it may be necessary to extend the timeout to give the application's Shutdown Hook time
to execute to completion.
Be aware that as a rule, Shutdown Hooks should always complete almost instantly.
Example:
wrapper.jvm_exit.timeout=5
WARNING
While the ability is there.
Be aware that setting this property to "0" (zero) or some large value
will mean that the Wrapper's ability to detect a JVM hang
as the JVM process terminates will be disabled.
User Comments
If you notice something that is incorrect, missing, or simply feel that some part of this page could be explained better, feel free to log in and add a comment. You will need to register before you can log on.