I have 2 applications running as service, in a linux machine.
All of a sudden below message was logged by wrapper for one application,
"Wrapper Manager: The Wrapper code did not ping the JVM for 60 seconds. Quit and let the Wrapper resynch." and it automatically stopped and restarted itself.
At the same time, the second application too stopped, but it never re-started, Had to manually re-start it. Below are the messages printed which are relevant to second application,
Wrapper Manager: JVM did not exit. Give up.
Server shutdown complete
<-- Wrapper Stopped
Not sure, if this is coincidence or a real problem. Appreciate, any help.
Details:
version of wrapper: Wrapper (Version 3.1.1)
OS: linux
Hi,
It sounds very much your server got under heavy load that time since the ping timed out for 60 seconds. Did both instances of the Wrapper time out same fashion?
The Wrapper requested on both a shutdown. Instance 1 was shutting down in timely manner and got restarted. Whereas instance 2 didn't and got killed forcibly.
What is the shutdown timeout (wrapper.shutdown.timeout)? It might help to extend the timeout for instance 2 in case this application needs more time for shutdown.
http://wrapper.tanukisoftware.com/doc/english/prop-shutdown-timeout.html
Hope this information helps you out.
Best Regards,
Christian