Question

I a building a custom Java Application that is wrapped into a Windows Service by Install4J , most of the time everything works just fine , but from time to time the service cannot be stopped , it just hangs there until widows displays the timeout error message. The user must go and kill the process manually and then everything is fine.

By checking the app logs I can tell that nothing is happening , the app is not getting any signal from windows.

I have also registered a shutdown hook via Runtime but in the case when the service is not stopping this hook is called at all. It's like the kill signal doesn't get trough to the Java VM

Has anyone encountered an issue like this ?

Any help is greatly appreciated.

Thank you, Mircea

Was it helpful?

Solution

This issue will be fixed in install4j 5.1.12.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top