wrapper.single_invocation

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

This property makes it possible to control to allow a given application to have a single invocation (TRUE) or multiple invocations at the same time (FALSE). The default value is to allow multiple invocations. The default value is "FALSE".

If single invocation is enabled (TRUE), then the Wrapper will look for a named "Mutex" in memory build by concatenating "Java Service Wrapper - " and the value of the wrapper.ntservice.name property. This means that it is possible to run multiple applications controlled by the Wrapper, while at the same time making sure that an individual application is not launched more than once.

This property can be useful in making sure that an application is not launched as a console application when running as a Windows Service; or vice versa.

Example (FALSE = multiple invocations are allowed):
wrapper.single_invocation=FALSE

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: Single Invocation