Please or
Try NowBuy Now

Locations of visitors to this page

SourceForge.net

SourceForge.JP

wrapper.daemonize Property
wrapper.daemonize Property

Configuration Property Overview

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

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

Reloading the configuration will NOT enable to take effect on the value of this property. The Wrapper is required to restart in order to make the changes effective.

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





User Comments

If you notice something that is incorrect, missing, or simply feel that some part of this page could be explained better, feel free to log in and add a comment. You will need to register before you can log on.

Email:
Password:
Java Service Wrapper Version: 3.5.4