You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mark Thomas (JIRA)" <ji...@apache.org> on 2017/10/20 20:34:01 UTC
[jira] [Resolved] (DAEMON-372) create shutdown event for shutdown
process
[ https://issues.apache.org/jira/browse/DAEMON-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Thomas resolved DAEMON-372.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.1
Thanks for the patch.
> create shutdown event for shutdown process
> ------------------------------------------
>
> Key: DAEMON-372
> URL: https://issues.apache.org/jira/browse/DAEMON-372
> Project: Commons Daemon
> Issue Type: Bug
> Components: Procrun
> Affects Versions: 1.0.15
> Environment: Windows
> Reporter: Sérgio Ozaki
> Priority: Minor
> Fix For: 1.1
>
>
> On Windows, when using Java or exe modes, if the service process ends before the stop process, prunsrv starts clean up.
> When the stop process finishes, the handles might be freed and all sorts of illegal access errors may happen.
> The solution is to make the service execution to wait on the shutdown event.
> https://github.com/apache/commons-daemon/pull/4
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)