Common Apache daemons - scrolling. Service stop hanging

Hi, I installed my java service to run common apache prunsrv daemons. I'm having trouble stopping. Sometimes when you restart a service from the windowsse services console, it freezes; it is strange that my service is stopped correctly, as shown in the apache logs. The problem seems to be the same as https://issues.apache.org/jira/browse/DAEMON-288 , even if the fix seems to be already implemented in version 0.15. There is no problem with version 0.14, but with an arbitrary version 0.14 the service restarts (not suitable for my needs). There are logs showing the service stopping:

[2016-01-19 11:12:52] [info]  [ 2036] Commons Daemon procrun (1.0.15.0 64-bit) started
[2016-01-19 11:12:53] [info]  [ 2036] Running 'xxxxxxx' Service...
[2016-01-19 11:12:53] [info]  [ 1400] Starting service...
[2016-01-19 11:12:54] [info]  [ 1400] Service started in 1546 ms.
[2016-01-19 11:58:50] [info]  [ 2648] Stopping service...
[2016-01-19 11:58:51] [info]  [ 2648] Service stop thread completed.

After that, the Windows Services console prints " stopping service", and after a while (1 minute, I think) it says " Windows could not stop the service on local computer. Error 1053: The service did not respond to the start or control request in a timely fashion"; then the service is impossible to restart (the Windows service console continues to indicate it as stopping), and we must restart the computer.

Has anyone encountered the same problem?

thanks

+4
source share
1 answer

Yes, I found this problem with version 1.0.15, and downgrading to the previous version 1.0.14 was enough for me. This is due to an open error:

https://issues.apache.org/jira/browse/DAEMON-298

(Although 288 is marked as resolved).

+1
source

Source: https://habr.com/ru/post/1624944/


All Articles