Hosted by:
SourceForge

wrapper.single_invocation Property
wrapper.single_invocation Property
Configuration Property Overview
wrapper.single_invocation

This property makes it possible to control whether or not multiple invocations of a given application can be run at the same time. The default value is to allow multiple invocations. Defaults to FALSE.

If enabled then the Wrapper will look for a named Mutex in memory build by concatinating "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 an NT service, or visa-versa.

Example:
wrapper.single_invocation=TRUE

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: