Windows Service shows as Starting when it's Running

352 Views Asked by At

I have created a Windows Service, using Java Wrapper, that basically installs the service and starts it.

I am able to start the service, the application, even run it. However when I check for Service status in Task Manager or Control Panel-> Administrative Tools-> Services, it shows the service as Stopping or Starting, even though the Service is Running.

What could be the issue here? And is there any resolution for it?

1

There are 1 best solutions below

0
On

May be a infinite loop is running in your Onstart() Method, Make Sure there isn't a long running loop in Onstart().