World Map
Java Service Wrapper is the easiest way to make your product more reliable.
  • Free Trial
  • Buy Now
wrapper.disable_restarts Property

wrapper.disable_restarts

Compatibility :3.2.0
Editions :Professional EditionStandard EditionCommunity Edition
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

WARNING

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.

Disables all JVM restarting by the Wrapper. This includes restarts which are caused by errors and requested restarts from within the JVM. The default value is "FALSE".

The exception is for JVMs which are stopped while a Windows Service is paused because the wrapper.pausable.stop_jvm property was TRUE. When the service is resumed, the JVM will be restarted as that is considered normal operation.

This property was requested by users who wished to make sure that the JVM was never restarted under any circumstances. Most users however will want to leave restarts enabled.

When tuning of the restarts is required, the wrapper.max_failed_invocations and wrapper.successful_invocation_time properties can be used to control the number of restarts that will be allowed.

Example: (Disable Restart)
wrapper.disable_restarts=TRUE

WARNING

Setting this property to TRUE will effectively disable many of the error recovery features of the Wrapper because the Wrapper will shutdown if any such errors are encountered.

Reference: Restart, Start Up