wrapper.jvm_exit.timeout |
|||||||||
ADVERTENCIADO 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.
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. If you are having problems with your application timing out on shutdown, it may be useful to have the Wrapper attempt to request a thread dump prior to killing the JVM. This will usually make it clear what was preventing the JVM from shutting down. Please see the wrapper.request_thread_dump_on_failed_jvm_exit property for more information. ADVERTENCIAWhile the ability is there, be aware that setting this property value to "0" (zero) (= disable Timeout) or some large value will mean that the Wrapper's ability to detect a JVM hang as the JVM process terminates will be disabled. ADVERTENCIA
While the wrapper. |
Referencia: Timeout |
|
Referencia: Apagados |
El Java Service Wrapper proporciona un conjunto completo de propiedades de configuración que le permiten hacer que el Wrapper se adapte exactamente a sus necesidades. Por favor, lea la documentación de las propiedades individuales para ver todas las posibilidades además de los ejemplos mostrados anteriormente.
|