IceBox as manually installed Windows Service: Event ID 7009
I am trying to deploy a windows service bypassing IceGridNode for a specific purpose as standalone Icebox Windows Service. I currently use Ice 3.7.2 and my C++ DLL provided to Icebox woks perfectly within IceGridNode integration.
I followed your documentation instruction for manually deployed service and the IceBox Windows Service can be activated with the correct path and correct config file. The Ice::Service::start() method is invoked and runs fine until the end as my logging shows. Nevertheless the Windows Service MessageBox's progress bar popping up at startup hangs for 30sec and terminates with the following error in the Event Log:
Event ID 7009 : A timeout was reached (30000 milliseconds) while waiting for the ServiceName Local service to connect.
Event ID 7000 : The_ServiceName_ service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.
As a consequence Windows terminates the Icebox without calling the Ice::Service:stop() method.
If I run in a command prompt the command line passed to Windows Service configuration, there is no issue and all features works fine.
So what do I do wrong ? It looks like Windows is awaiting some acknowledgement from Icebox after the start() succeed to flag it as started. Isn't Icebox supposed to do that ? Do I have to use some specific option on the command line or in the config file to inform Icebox that it runs as a Windows service ?
Thanks a lot in advance for your help,