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

Index

wrapper.anchorfile

Compatibility :3.1.1
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.

Causes the Wrapper to create an anchor file on startup.

The Wrapper will monitor the file and then shutdown when it is deleted. The Wrapper can still be shutdown by normal methods. If the anchor file still exists when the Wrapper shuts down, it will be deleted automatically.

This property is not set by default. Common values are ./myapp.anchor or /var/run/myapp.anchor.

Example:
wrapper.anchorfile=wrapper.anchor

INFO

While the property is supported on all platforms, it is most commonly used in combination with the wrapper.ignore_signals property on UNIX systems. In such cases, rather than setting either of these properties manually, it is suggested that the IGNORE_SIGNALS property be uncommented in the shell script which is shipped with the Wrapper. See the wrapper.ignore_signals property for further details.

NOTE

Changes to the value of this property will not have any affect on the Wrapper if the configuration is reloaded. The Wrapper must be restarted for changes to take effect.

wrapper.anchorfile.poll_interval

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

The interval at which the existence of the anchor file is tested can be controlled using the wrapper.anchorfile.poll_interval property. The default value is "5 seconds", with valid values in the range of "1" to "3600" seconds".

Example:
wrapper.anchorfile.poll_interval=5

NOTE

Changes to the value of this property will not have any affect on the Wrapper if the configuration is reloaded. The Wrapper must be restarted for changes to take effect.

wrapper.anchorfile.umask

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

You can set "umask" on this file. See the wrapper.*.umask property.

Example:
wrapper.anchorfile.umask=0022

wrapper.anchor.poll_interval

Compatibility :3.1.1 (Deprecated as of 3.5.31)
Editions :Professional EditionStandard EditionCommunity Edition
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

WARNING

Use of this property has been deprecated as of Wrapper version 3.5.31 in favor of the wrapper.anchorfile.poll_interval property.

The interval at which the existence of the anchor file is tested can be controlled using the wrapper.anchor.poll_interval property. The default value is "5 seconds", with valid values in the range of "1" to "3600" seconds".

Example:
wrapper.anchor.poll_interval=5

NOTE

Changes to the value of this property will not have any affect on the Wrapper if the configuration is reloaded. The Wrapper must be restarted for changes to take effect.

Reference: PID, ID, Status file

Reference: Signal