kfeina created DAEMON-475:
-----------------------------

             Summary: 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.4.1, 1.4.0, 1.3.4
         Environment: Procrun 1.3.4,1.4.0,1.4.1 under Windows Server 2022. 
            Reporter: kfeina
         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)

Reply via email to