World Map
Java Service Wrapper is the easiest way to make your product more reliable.
  • Free Trial
  • Buy Now
wrapper.share.<n>.startup.* Properties

Overview: Share Startup Properties

The wrapper.share<n>.startup.* properties basically define how the Wrapper will handle failures of mounted shares.

<n> component:

The "<n>" component of the property name is an integer number counting up from "1". By default, there can be no missing numbers. The wrapper.ignore_sequence_gaps property can optionally be set to allow gaps in the sequence.

wrapper.share.<n>.startup.failure

Compatibility :3.5.0
Editions :Professional EditionStandard EditionCommunity Edition (Not Supported)
Platforms :WindowsMac OSX (Not Supported)Linux (Not Supported)IBM AIX (Not Supported)FreeBSD (Not Supported)HP-UX (Not Supported)Solaris (Not Supported)IBM z/OS (Not Supported)IBM z/Linux (Not Supported)

This property defines the behaviour of the Wrapper if any general error occurred. Except for the premapped error (see below).

The user can specify the Wrapper either :

  • to SHUTDOWN itself if the Network Drive couldn't be mounted
  • or to CONTINUE its process and start the JVM.

The default value is CONTINUE.

Example:
wrapper.share.1.startup.failure=CONTINUE

wrapper.share.<n>.startup.premapped

Compatibility :3.5.0
Editions :Professional EditionStandard EditionCommunity Edition (Not Supported)
Platforms :WindowsMac OSX (Not Supported)Linux (Not Supported)IBM AIX (Not Supported)FreeBSD (Not Supported)HP-UX (Not Supported)Solaris (Not Supported)IBM z/OS (Not Supported)IBM z/Linux (Not Supported)

This property specifies what the Wrapper will do if a share couldn't be mounted because the Network Resource already existed.

Please note that the behaviour of the Wrapper for this error is not covered in the wrapper.startup.<n>.startup.failure properties. This was made on purpose in order to provide a way to run the Wrapper as console & service with the same configuration file.

The user can specify the Wrapper either :

  • to SHUTDOWN itself if the Network Drive already exists
  • or to CONTINUE its process and start the JVM.

The default value is CONTINUE.

Example:
wrapper.share.1.startup.premapped=CONTINUE

wrapper.share.<n>.startup.max_retries

Compatibility :3.5.0
Editions :Professional EditionStandard EditionCommunity Edition (Not Supported)
Platforms :WindowsMac OSX (Not Supported)Linux (Not Supported)IBM AIX (Not Supported)FreeBSD (Not Supported)HP-UX (Not Supported)Solaris (Not Supported)IBM z/OS (Not Supported)IBM z/Linux (Not Supported)

This property defines how many times the Wrapper should try to mount a Network Drive, if an network based error has occurred.

If the Wrapper couldn't mount the Network Drive at the maximum times of retries, the wrapper.startup.<n>.startup.failure property will specify how the Wrapper will proceed.

The default value is "5 times". The Wrapper will try 5 times to mount a Network Drive before giving up.

Example: (5 times)
wrapper.share.1.startup.max_retries=5

wrapper.share.<n>.startup.retry_interval

Compatibility :3.5.0
Editions :Professional EditionStandard EditionCommunity Edition (Not Supported)
Platforms :WindowsMac OSX (Not Supported)Linux (Not Supported)IBM AIX (Not Supported)FreeBSD (Not Supported)HP-UX (Not Supported)Solaris (Not Supported)IBM z/OS (Not Supported)IBM z/Linux (Not Supported)

This property specifies the interval in seconds the Wrapper will wait until it retries to mount a Network Drive.

The default value is "10 seconds". The Wrapper will wait for 10 seconds until it retries to mount.

Example: (10 seconds)
wrapper.share.1.startup.retry_interval=10

Putting it all together