Hi. I am writing a java app that will be used as a windows service (using srvany.exe). I want to use a shutdownhook to clear up remaining threads when the service is stopped or the machine shutdown. However my shutdown hook is not firing. I have tried adding it both in the main method and the constructor for the main class and neither works. Any ideas? Durkin