|
WARNING
|  |
DO NOT modify the value of this property
while an application using the configuration file has been installed as a Winidows 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.
The Wrapper is able to initiate a thread dump
in response to a user defined control code when running as a service.
This property makes it possible to specify which code to use,
or even to disable this feature, to meet the needs of a specific application.
Valid values are 128 - 255, or 0 to disable.
Defaults to 255.
| Example: |
wrapper.thread_dump_control_code=255
|
It is only possible to request thread dumps using service control codes
when the service is running as a Windows service.
This property has no effect when running in console mode.
There are three ways to initiate a thread dump on a running service using the control code.
The first is to use Wrapper's dump command "-d" as follows:
| Example: |
wrapper.exe -d ..\conf\wrapper.conf
|
The second is to use Wrapper's ability to send an arbitrary service command as follows:
| Example: |
wrapper.exe -l=255 ..\conf\wrapper.conf
|
The third is to use standard Windows commandline tools to send the code:
| Example: |
sc control myapp 255
|
It is also possible to send the control code programmatically using the appropriate Windows APIs.
|