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

Index

wrapper.daemonize

Compatibility :3.0.0
Editions :Professional EditionStandard EditionCommunity Edition
Platforms :Windows (Not Supported)Mac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

This property is only used on Linux/UNIX platforms.

Spawns a fork of the Wrapper process as a detached non-session group leader. This means that the process will continue to run even after the console from which the Wrapper process was launched has been closed.

In most cases, this property will not be set from within the wrapper.conf file. It can be passed to the Wrapper process by the shell script which launches the Wrapper. An example can be found in the sh.script.in file in the src/bin directory.

Example:
wrapper.daemonize=TRUE

NOTE

Enabling this property (TRUE) will cause console input to be disabled (=TRUE) by default. See the wrapper.disable_console_input property for more information.

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.wait_for_hostid

Compatibility :3.4.0
Editions :Professional EditionStandard EditionCommunity Edition (Not Supported)
Platforms :Windows (Not Supported)Mac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

This property is only used on Linux/UNIX platforms.

Enables the Wrapper to wait for the host Id at startup.

With the release of Wrapper version 3.4.0, it's possible to install/integrate the Wrapper into the boot scripts of UNIX platforms. However, as the Server License is tied the hostId of a Network Interface, it may happen that the interface is not yet available at an early time while the OS is starting up. In order to defuse this race-condition, please use this property.

When starting as Daemon, The default value is "TRUE", "FALSE" otherwise.

Example:
wrapper.wait_for_hostid=TRUE

While waiting for an interface, the Wrapper will print out every 10 seconds a short notifier to the log file that it is waiting for an interface.

Example of Log file:
wrapper  | Waiting for hostId(s)... (System HostId(s): xxxxx

It has already been seen that some network interfaces however won't be up due to some Network Manager who set up the interface (especially WiFi interfaces) for instance by default at log in. It is therefore recommended to use the ethernet interface when it's desired to start the Wrapper during booting a machine.

NOTE

This property is actually only necessary for Wrapper instances using a Server License. Development and Community Licenses will not require this property.

wrapper.max_hostid_timeout

Compatibility :3.4.0
Editions :Professional EditionStandard EditionCommunity Edition (Not Supported)
Platforms :Windows (Not Supported)Mac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

This property is only used on Linux/UNIX platforms.

Sets the timeout how many seconds the Wrapper will at max wait for the Network Interfaces to come up.

The property takes as argument the maximum amount of seconds the Wrapper should wait for the interfaces to get up. Up to this time, the Wrapper will check for the interfaces once every second. The default value is "0" (zero) second, which means never time out and the Wrapper will indefinetly loop until a valid interface has been detected.

Example: (30 seconds)
wrapper.max_hostid_timeout=30

NOTE

This property is actually only necessary for Wrapper instances using a Server License. Development and Community Licenses will not require this property.

Reference: Timeout