You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sérgio Ozaki (JIRA)" <ji...@apache.org> on 2017/08/22 23:44:00 UTC

[jira] [Updated] (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 ]

Sérgio Ozaki updated DAEMON-372:
--------------------------------
    Description: 
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

  was:
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.


> 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
>
> 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)