Stopping openfire service throws error 1053

Hi,

I have the openfire running as a Windows service. And it has a strange behavior, that occurs randomly (or at least I can’t see any pattern). When trying to stop the service, it just gives this error: “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.”

In this scenario, when it fails to stop, I noticed that it doesn’t reach the shutdown method from the XMPPServer class (I started the service in debug mode and have a breakpoint in the run method from the ShutdownHookThread).

Did anyone else encounter this problem? Any ideas what it can be?