[
https://issues.apache.org/jira/browse/DAEMON-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17300561#comment-17300561
]
Gary D. Gregory commented on DAEMON-432:
----------------------------------------
Looks like a duplicate of DAEMON-430?
> 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
> Components: prunsrv
> Affects Versions: 1.2.3
> Environment: Windows 2019 x64
> Reporter: Japie vd Linde
> Priority: Major
>
> 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)