[ 
https://issues.apache.org/jira/browse/DAEMON-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16379393#comment-16379393
 ] 

Gary Gregory commented on DAEMON-381:
-------------------------------------

Well, ideally both.

> StopTimeout not working
> -----------------------
>
>                 Key: DAEMON-381
>                 URL: https://issues.apache.org/jira/browse/DAEMON-381
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.14, 1.0.15, 1.1.0
>         Environment: Windows 10, JDK 1.8.0_161, Spring Boot 1.3.6.RELEASE
>            Reporter: David Webb
>            Priority: Major
>
> With the stopTimeout set to 5 seconds, and a test application that sleeps for 
> 30 seconds after given the stop command, one would expect the prunsrv process 
> to be killed after 5 seconds.
> The process stays alive for 30 seconds before terminating.
> Based on the documentation I feel I am using this parameter correctly.  The 
> daemon should wait 5 seconds for the wrapped java process to terminate 
> gracefully, then terminate it.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to