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:38:00 UTC
[jira] [Created] (DAEMON-372) create shutdown event for shutdown
process
Sérgio Ozaki created DAEMON-372:
-----------------------------------
Summary: 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)