wrapper.ntservice.dependency.<n> |
||||||||
WARNINGDO NOT modify the value of this property while an application using the configuration file has been installed as a Windows Service. Please uninstall the existing service BEFORE modifying this property. The service with the new value can then be safely reinstalled later. This property is only used on Windows platforms. This property is used to set the dependencies of the service managed by the Wrapper. The services or groups listed must be running before this service can be started. Stopping any of the listed services, or all members of a specified group, will also stop this service. Because both services and groups share the same name space, group names must be prefixed with the '+' character. <n> component:
Each dependency has a property name which starts with
wrapper.
There is a known problem with dependency ordering when shutting down or restarting the machine. For some reason, the Windows Service Manager completely ignores the dependency tree and tells all services to shutdown simultaneously. Depending on which service gets the signal first, this can result in the services being shutdown in a random order. This is a known problem with all Windows Services and is not specific to the Java Service Wrapper. Unfortunately there does not appear to be any way for the Wrapper to work around this. NOTEChanges on this property will not take effect until the Windows Service is reinstalled. Some users have expressed confusion about the way the declared dependencies affect the startup and shutdown of the Wrapper and its dependent Windows Services. The Wrapper simply registers the dependencies and the Windows Service Manager is responsible for managing the startup and shutdown of both. Dependency: See the following examples:
|