Details
Description
Problem steps
- Create a service using Apache Commons Daemon (include 'StopTimeout=30') as parameter when installing the service with PRUNSRV
- Let the service class have a Thread that never closes properly
- Shut down service
Observe that the service cannot be stopped and waits indefinitely, until prunsrv.exe is killed using Task Manager.
Could this please be improved in the next version of Apache Commons Daemon? This problemĀ does not help where applications may require forceful exit, due to coding bugs, making the service experience degraded as closing the service never times out.
Attachments
Issue Links
- duplicates
-
DAEMON-430 prunsrv stop timeout not honored
- Resolved