|
From: Leif M. <le...@ta...> - 2003-04-13 03:58:11
|
Richard,
Sorry. It looks like I somehow missed your post on 3/29.
Richard Emberson wrote:
>On windows I get the following message in the wrapper log after I request the
>wrapper as a windows service to be stopped.
>
>ERROR | wrapper | <date> | JVM exited unexpectedly while stopping the
>application.
>
>The call I make to stop the wrapper as a service is (for example):
>
>net stop "My Service Name"
>
From what you posted, I can't give you an exact cause. Could you please
enable debug logging to the file and then post the resulting log file of
a single
run on your application. That should give me the clues that I need to
give you
an answer.
>The problem is that my Java program has a Shutdown hook and it is NOT being
>called.
>How do I stop the wrapper service so that Shutdown hooks execute?
>
That would be strange. I assume you are using at least Java 1.3,
otherwise you
would ot be able to register your shutdown hook in the first place. The
above
debug log output may give me further clues.
In your other mail, you also mentioned a "Shutdown complete" message
sometimes showing up in your wrapper.log and sometimes in the log4j
log file. Is that a message from your application? I'll take a look a look
at the log when you send it and see if I have any ideas here as well.
Cheers,
Leif
|