World Map
Java Service Wrapper is the easiest way to make your product more reliable.
  • Free Trial
  • Buy Now
wrapper.event.<event_name>.command.block.action Property

wrapper.event.<event_name>.command.block.action

Compatibilidad :3.4.1
Ediciones :Edición ProfesionaEdición Estándar (No Soportado)Edición de la Comunidad (No Soportado)
Plataformas :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

This property is used to configure how the Wrapper behaves when a configured Event Command fails to complete within the specified timeout.

Like several of the event command properties, it can be defined:

  • Globally for all events: wrapper.event.default.command.block.action property, or
  • For a specific event: wrapper.event.<event_name>.command.block.action property.

The "<event_name>" component of the property name can be either the keyword "default", or one of the Event Types. By setting the default property, all Event Types which are not set explicitly will take on that value.

Possible actions are:

  • CONTINUE :

    will tell the Wrapper to stop blocking and continue. The command process will be allowed to continue on its own.

  • KILL :

    will tell the Wrapper to forcibly kill the command immediately and then continue.

  • KILL_RESTART :

    will tell the Wrapper to forcibly kill the command immediately and then ask the current JVM restart if applicable.

  • KILL_SHUTDOWN :

    will tell the Wrapper to forcibly kill the command immediately and then shutdown the Wrapper.

The default value is CONTINUE.

Example:
wrapper.event.jvm_prelaunch.command.argv.1=/usr/bin/mycleanup
wrapper.event.jvm_prelaunch.command.block=TRUE
wrapper.event.jvm_prelaunch.command.block.timeout=30
wrapper.event.jvm_prelaunch.command.block.action=KILL_SHUTDOWN

Please see the Event Commands documentation for more examples and an explanation of how the various event properties can be used together.

Referencia: Comando de Eventos

El Java Service Wrapper ofrece un conjunto completo de configuración de propriedades que le permiten hacer con que el Wrapper satisfaga sus necesidades exactas. Por favor, mire la documentación para las propriedades individuales para ver todas las posibilidades a partir de los ejemplos mostrados arriba.