|
From: Caniglia, N. C. <NCC...@We...> - 2005-04-07 14:25:45
|
Hello, =20 I am using integration method 1 to wrap an in house developed java server app with the Java Service Wrapper 3.1.2. On both my development server Win 2k3 and my PC Win XP SP2, when I kill (via Task Manager) the JVM that is monitored by the Wrapper, my shutdown hook does NOT get executed. Not that I like to go around killing java processes, but this app's JVM has been disappearing on its own on our production servers, and I was hoping to employ both the Wrapper and some extra logging in my shutdown hook thread to help figure out why. My hook DOES get executed when I shut the wrapper down normally and when I kill the wrapper process and let the JVM die from lack of wrapper pings. My question to anyone kind enough to read this is: is this normal expected behavior and if so why? =20 Thanks in advance, =20 P.S. This product is very cool; sure beats what we have used in the past to run java apps as Windows Services. =20 ____________ nick =20 |