|
In addition, it is possible to specify what will happen for a specific exit code
by defining a property whose name is
wrapper.on_exit. followed by the exit code.
The property name starts with wrapper.on_exit.<n>.
and the "<n>" component of the property name is an exit code.
wrapper.ignore_sequence_gaps
property can optionally be set to allow gaps in the sequence.
The action can be one of the following:
-
RESTART -
will launch a new JVM.
-
SHUTDOWN -
will proceed to shutdown the Wrapper.
-
PAUSE (ver. 3.5.0 or later) -
will put the the Wrapper into a paused state. This delays the restart of the JVM until
the Wrapper is resumed. If Wrapper's pausing is not enabled then the JVM will be restart as if
the RESTART action was configured.
See the wrapper.pausable property for details.
If an on_exit.<n> property is not defined for a given exit code,
then it will default to the value of the
wrapper.on_exit.default property.
| Example: (Restart on the exit code 1) |
wrapper.on_exit.1=RESTART
|
|