wrapper.listener.force_stop

Compatibilidad :3.3.2
Ediciones :Edición ProfesionaEdición EstándarEdición de la Comunidad
Plataformas :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/Linux

ADVERTENCIA

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.

This property makes it possible to control whether or not the WrapperListener.stop method is called on shutdown when the WrapperListener.start method has not returned or when it returns an exit code. The default value is "FALSE".

Example:
wrapper.listener.force_stop=FALSE
  • A value of TRUE will make sure that the stop method is always called.

  • When FALSE, the stop method will be called only if the start method returned a value of "NULL" prior to the shutdown process being started.

Most applications will do their own cleanup within the startup process if the startup fails. Sometimes, however, it is desirable to call the WrapperListener.stop method even when the startup fails.

Some applications will call System.exit(), WrapperManager.stop(), or WrapperManager.restart() as they are starting up from within the WrapperListener.start method. When that happens, the start method will never return, but the Wrapper will shutdown the JVM. Regardless of the value of this property, the shutdown will work correctly.