commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sérgio Ozaki (JIRA) <j...@apache.org>
Subject [jira] [Updated] (DAEMON-372) create shutdown event for shutdown process
Date Tue, 22 Aug 2017 23:44:00 GMT

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

Mime
View raw message