Japie vd Linde created DAEMON-432:
-------------------------------------

             Summary: StopTimeout flag not applied when using ProcRun
                 Key: DAEMON-432
                 URL: https://issues.apache.org/jira/browse/DAEMON-432
             Project: Commons Daemon
          Issue Type: Bug
    Affects Versions: 1.2.3
         Environment: Windows 2019 x64
            Reporter: Japie vd Linde


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to