#292 Wrapper not restarting the service

v3.1.1
open
nobody
5
2014-06-20
2011-04-26
top79
No

Hi,

Not sure why wrapper didn't start after quit.

Version: 3.1.1 and OS: Linux

Below is the "DEBUG" trace from wrapper.log file.

DEBUG | wrapper | 2011/04/23 10:21:58 | Got ping response from JVM
DEBUG | wrapperp | 2011/04/23 10:26:57 | send a packet PING : ping
INFO | jvm 1 | 2011/04/23 10:26:57 | Received a packet PING : ping
INFO | jvm 1 | 2011/04/23 10:26:57 | Send a packet PING : ok
DEBUG | wrapperp | 2011/04/23 10:26:57 | read a packet PING : ok
DEBUG | wrapper | 2011/04/23 10:26:57 | Got ping response from JVM
DEBUG | wrapperp | 2011/04/23 10:31:56 | send a packet PING : ping
INFO | jvm 1 | 2011/04/23 10:31:56 | Received a packet PING : ping
INFO | jvm 1 | 2011/04/23 10:31:56 | Send a packet PING : ok
DEBUG | wrapperp | 2011/04/23 10:31:56 | read a packet PING : ok
DEBUG | wrapper | 2011/04/23 10:31:56 | Got ping response from JVM
INFO | jvm 1 | 2011/04/23 10:38:56 | Read Timed out. (Last Ping was 420000 milliseconds ago)
INFO | jvm 1 | 2011/04/23 10:45:56 | Read Timed out. (Last Ping was 840000 milliseconds ago)

Prob' ping timed out and hence wrapper issued a restart ..

INFO | jvm 1 | 2011/04/23 10:45:56 | Wrapper Manager: JVM did not exit. Give up.
INFO | jvm 1 | 2011/04/23 10:45:56 | Wrapper Manager: ShutdownHook started
INFO | jvm 1 | 2011/04/23 10:45:56 | WrapperManager.stop(0) called by thread: Wrapper-Shutdown-Hook
INFO | jvm 1 | 2011/04/23 10:45:56 | Send a packet STOP : 0
DEBUG | wrapperp | 2011/04/23 10:45:56 | read a packet STOP : 0
DEBUG | wrapper | 2011/04/23 10:45:56 | JVM requested a shutdown. (0)
DEBUG | wrapper | 2011/04/23 10:45:56 | wrapperStopProcess(0) called.
DEBUG | wrapper | 2011/04/23 10:45:56 | Sending stop signal to JVM
DEBUG | wrapperp | 2011/04/23 10:45:56 | send a packet STOP : NULL
INFO | jvm 1 | 2011/04/23 10:45:57 | Thread, Wrapper-Shutdown-Hook, handling the shutdown process.
INFO | jvm 1 | 2011/04/23 10:45:57 | calling listener.stop()
INFO | jvm 1 | 2011/04/23 10:45:57 | returned from listener.stop()
INFO | jvm 1 | 2011/04/23 10:45:57 | Send a packet STOPPED : 0
DEBUG | wrapperp | 2011/04/23 10:45:57 | read a packet STOPPED : 0
DEBUG | wrapper | 2011/04/23 10:45:57 | JVM signalled that it was stopped.
INFO | jvm 1 | 2011/04/23 10:45:58 | Closing socket.
DEBUG | wrapperp | 2011/04/23 10:45:58 | socket read no code (closed?).
INFO | jvm 1 | 2011/04/23 10:45:58 | Wrapper Manager: ShutdownHook complete
INFO | jvm 1 | 2011/04/23 10:46:03 |
INFO | jvm 1 | 2011/04/23 10:46:03 | Server shutdown complete
DEBUG | wrapper | 2011/04/23 10:46:03 | JVM process exited with a code of 1, setting the wrapper exit code to 1.
DEBUG | wrapper | 2011/04/23 10:46:03 | JVM exited normally.
STATUS | wrapper | 2011/04/23 10:46:03 | <-- Wrapper Stopped

Wrapper stopped, but failed to restart. Not sure why wrapper didn't restart the service on its own. was restarted by another script which checks if service is up or not.

wrapper started without any issues, after it was started by the script.

DEBUG | wrapper | 2011/04/23 10:46:21 | Spawning intermediate process...
DEBUG | wrapper | 2011/04/23 10:46:21 | Spawning daemon process...
STATUS | wrapper | 2011/04/23 10:46:21 | --> Wrapper Started as Daemon
DEBUG | wrapper | 2011/04/23 10:46:21 | Using system timer.

Discussion


Log in to post a comment.