commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (DAEMON-243) Support for Failure Recovery
Date Thu, 25 Apr 2019 18:04:00 GMT

     [ https://issues.apache.org/jira/browse/DAEMON-243?focusedWorklogId=233014&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-233014
]

ASF GitHub Bot logged work on DAEMON-243:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Apr/19 18:03
            Start Date: 25/Apr/19 18:03
    Worklog Time Spent: 10m 
      Work Description: mabrarov commented on pull request #6: DAEMON-243: Failure of Windows
service when child process fails
URL: https://github.com/apache/commons-daemon/pull/6
 
 
   prunsrv should to not report about stopped status of Windows service when its child process
(`StartMode` == `exe`) exits with non-zero exit code (i.e. fails) - this behavior is treated
by Windows service control manager as a failure of Windows service and service recovery actions
can be applied for this case.
   
   This feature provides users of prunsrv ability to pass failure of application (as non-zero
exit code of that application) to Windows service control manager and to use standard service
recovery actions to handle such cases.
   
   Current behavior of prunsrv is to report about stopped state with the same exit code  as
child process returned. This behavior doesn't trigger service recovery actions without [`FailureActionsOnNonCrashFailures`](https://msdn.microsoft.com/ru-ru/library/windows/desktop/ms685937(v=vs.85).aspx)
flag for the service and this flag is not configured by prunsrv when it installs new service.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 233014)
    Time Spent: 20m  (was: 10m)

> Support for Failure Recovery
> ----------------------------
>
>                 Key: DAEMON-243
>                 URL: https://issues.apache.org/jira/browse/DAEMON-243
>             Project: Commons Daemon
>          Issue Type: New Feature
>          Components: Procrun
>    Affects Versions: 1.0.10
>         Environment: MS Windows
>            Reporter: Peter Ehrbar
>            Priority: Minor
>         Attachments: fail_without_stopped_status.diff
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The MS Windows Service Controller provides functionality to perform some basic failure
recovery actions: Restart service or execute any command or restart the machine. This can
be configured using the Service Controller GUI or in a shell with SC.EXE (commands FAILURE
and FAILUREFLAG).
> It would be convenient if this could be configured also using procrun.



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

Mime
View raw message