[
https://issues.apache.org/jira/browse/DAEMON-475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Thomas resolved DAEMON-475.
--------------------------------
Fix Version/s: 1.5.0
Resolution: Fixed
Fixed. The fix for DAEMON-460 needed to be narrowed to just the JVM mode.
> EXE MODE - Apache Commons Daemon Child process exit code 1 - Service Still
> Running
> ----------------------------------------------------------------------------------
>
> Key: DAEMON-475
> URL: https://issues.apache.org/jira/browse/DAEMON-475
> Project: Commons Daemon
> Issue Type: Bug
> Components: Procrun
> Affects Versions: 1.3.4, 1.4.0, 1.4.1
> Environment: Procrun 1.3.4,1.4.0,1.4.1 under Windows Server 2022.
> Reporter: kfeina
> Priority: Major
> Fix For: 1.5.0
>
> Attachments: C_Temp_TemplateService_Test.zip, TemplateService_TEST.zip
>
>
> Hello,
> I'm creating a background service in EXE mode. When the exe crashes for any
> reason (for example killing it), the procrun service continues running
> instead of stopping and issuing the configured service failures (restart in
> this case, eventID 7031).
> Debug file contains: *Apache Commons Daemon Child process exit code 1* but it
> continues with hundreds of messages like: [2025-11-01 13:24:19] [debug]
> (rprocess.c:856 ) [ 1164] apxProcessWait. It never ends unless the service is
> stopped manually.
>
> In my opinion the service should be stopped and restarted if configured to do
> so.
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)