|
From: Srikanth S <sr...@gm...> - 2006-07-17 06:37:53
|
I am running a Java application as service using Method 2. I am able to start and stop the program using the Console (i.e. using the startup script App.bat). The service installs fine and it starts fine. But, when I try to stop it, it shuts down internally but it gives me the following error: "Error 1067: The process terminated unexpectedly." But actually, it shuts down properly. STATUS | wrapper | 2006/07/17 11:59:42 | --> Wrapper Started as Service STATUS | wrapper | 2006/07/17 11:59:42 | Launching a JVM... INFO | jvm 1 | 2006/07/17 11:59:43 | Wrapper (Version 3.2.0) http://wrapper.tanukisoftware.org INFO | jvm 1 | 2006/07/17 11:59:43 | // My application log here. (Here, the printed log indicates that my application actually got // shutdown properly. ERROR | wrapper | 2006/07/17 12:00:21 | Shutdown failed: Timed out waiting for signal from JVM. ERROR | wrapper | 2006/07/17 12:00:21 | JVM did not exit on request, terminated STATUS | wrapper | 2006/07/17 12:00:22 | <-- Wrapper Stopped |