|
From: Leif M. <le...@ta...> - 2004-10-06 14:01:33
|
Michael,
It is currently not possible to completely disable the restart
feature. But you can get pretty
close. By setting the following two properties, you limit the failed
restart count to 1. The
second property is to make sure that this counter does not get reset for
a very long time, in
this case a little over 68 years. That should be long enough.
wrapper.max_failed_invocations=1
wrapper.successful_invocation_time=2147483647
The only problem with this solution may be that you will get the
following message when
the JVM terminates abnormally:
wrapper | JVM exited unexpectedly.
wrapper | There were 1 failed launches in a row, each lasting less than
2147483647 seconds. Giving up.
wrapper | There may be a configuration problem: please check the logs.
wrapper | <-- Wrapper Stopped
A round number might be a little better for users to see:
wrapper.max_failed_invocations=1
wrapper.successful_invocation_time=2000000000
Please explain what you are wanting to do. A new property may be in
order.
Cheers,
Leif
Michael 'buk' Scherer wrote:
>... when the JVM dies unexpectedly.
>Is that possible and if so, how?
>
>Thanks in advance,
>Michael
>
>
>
|