Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Why does java service wrapper restarts only 5 times?

843833May 27 2008 — edited May 27 2008
Hi, 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 24 2008
Added on May 27 2008
0 comments
368 views