Why does java service wrapper restarts only 5 times?
843833May 27 2008 — edited May 27 2008Hi, i have a problem in restarting my wrapper on demand.
I have a server and there this wrapper is running. The wrapper provides a service. This service is should be restarted after each call, because of avoiding problems with a memory or resource leak.
In my application i use WrapperManager.restart() of wrapper.jar from http://wrapper.tanukisoftware.org/.
I know that i can set the property wrapper.max_failed_invocations more than 5. But i want to restart the service every time after calling it. What can i do?
The log output is
...
STATUS | wrapper | JVM requested a restart.
FATAL | wrapper | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
FATAL | wrapper | There may be a configuration problem: please check the logs.
STATUS | wrapper | <-- Wrapper Stopped