Email:
Password:
Please or Register
Google

Locations of visitors to this page

wrapper.listener.force_stop Property
wrapper.listener.force_stop Property

Configuration Property Overview

wrapper.listener.force_stop

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. A value of TRUE will make sure that the stop method is always called. When FALSE, the stop method will only be called if the start method returned a value of null prior to the shutdown process being started. Defaults to FALSE.

Example:
wrapper.listener.force_stop=FALSE

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 WrapperListner.start method. When that happens, the start method will never return, but the Wrapper will shutdown the JVM. Regardless of the the value of this property, the shutdown will work correctly.





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.

Email:
Password:
Java Service Wrapper Version: 3.3.9