Hosted by:
SourceForge

wrapper.anchorfile Property
wrapper.anchorfile Property
Configuration Property Overview
wrapper.anchorfile

Causes the Wrapper to create an anchor file on startup. The Wrapper will monitor the file and then shutdown when it is deleted. This property is not set by default. Common values are ./myapp.anchor or /var/run/myapp.anchor.

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.

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 setting be uncommented in the sh script which ships with the Wrapper. See the wrapper.ignore_signals property for further details.

Example:
wrapper.anchorfile=wrapper.anchor

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

NOTE

Reloading the Wrapper configuration will have no effect on the value of this property. Changes will not take effect until the Wrapper has been restarted.

by Leif Mortenson

last modified: