Jan Stefl created DAEMON-296:
--------------------------------
Summary: Errors in log after stopping windows service
Key: DAEMON-296
URL: https://issues.apache.org/jira/browse/DAEMON-296
Project: Commons Daemon
Issue Type: Bug
Components: Procrun
Affects Versions: 1.0.15
Environment: Windows 2008, Windows 2008 R2
32/64b
Reporter: Jan Stefl
I am able to start and stop Windows service with prunsrv.exe, but after
stopping the service the log contains errors:
------------------------------------------------------------------------------
[2013-04-22 07:04:58] [info] [ 6076] Commons Daemon procrun (1.0.15.0 32-bit)
started
[2013-04-22 07:04:58] [info] [ 6076] Service EAP61SVC name JBoss Enterprise
Application Server 6.1
[2013-04-22 07:04:59] [info] [ 6076] Service 'EAP61SVC' installed
[2013-04-22 07:04:59] [info] [ 6076] Commons Daemon procrun finished
[2013-04-22 07:04:59] [info] [ 2632] Commons Daemon procrun (1.0.15.0 32-bit)
started
[2013-04-22 07:04:59] [info] [ 2632] Updating service...
[2013-04-22 07:04:59] [info] [ 2632] Service 'EAP61SVC' updated
[2013-04-22 07:04:59] [info] [ 2632] Update service finished.
[2013-04-22 07:04:59] [info] [ 2632] Commons Daemon procrun finished
[2013-04-22 07:06:01] [info] [ 2496] Commons Daemon procrun (1.0.15.0 32-bit)
started
[2013-04-22 07:06:01] [info] [ 2496] Running 'EAP61SVC' Service...
[2013-04-22 07:06:01] [info] [ 4376] Starting service...
[2013-04-22 07:06:03] [info] [ 4376] Service started in 1713 ms.
[2013-04-22 07:06:43] [info] [ 5820] Stopping service...
[2013-04-22 07:06:44] [error] [ 5984] Failed to set service status
[2013-04-22 07:06:44] [error] [ 5984] The handle is invalid.
------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira