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

wrapper.pausable

Kompatibel :3.5.0
Editionen :Professional EditionStandard EditionCommunity Edition
Betriebssysteme :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

Setting this property to TRUE will enable the PAUSE and RESUME actions related with the following properties:

When the Wrapper is Paused, it will either stop the JVM or ask the JVM to pause until the Wrapper has been Resumed. The default value is "FALSE".

Example:
wrapper.pausable=FALSE

On Windows, a value of TRUE will cause the Wrapper to register itself as being pausable with the Windows Service Manager. This makes it possible to PAUSE and CONTINUE the Wrapper service from the service control panel as well as from the command line. Internally, a paused Windows Service will pause the JVM as above.

When the Wrapper is paused, it will either stop the JVM or send it a service control signal to pause the JVM application internally. The wrapper.pausable.stop_jvm property controls which pause mode will be used.

NOTE

On Windows, changes to this property will have no effect on the services ability to receive service PAUSE or CONTINUE events until the Windows Service has been reinstalled.

NOTE

For backwards compatibility, this property defaults to the value of the wrapper.ntservice.pausable property.

Reference: Pausable