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 Property

wrapper.event.<event_name>.command.block

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 tell the Wrapper whether or not to wait for the command to complete before allowing the Wrapper to continue.

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

  • Globally for all events: wrapper.event.default.command.block property, or
  • For a specific event: wrapper.event.<event_name>.command.block 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.

The default value is "FALSE".

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

By default, the Wrapper will timeout after 15 seconds and then continue. Both of these can be configured with the wrapper.event.<event_name>.command.block.timeout and wrapper.event.<event_name>.command.block.action properties.

Invalid Events:

The value of the property will be ignored for the following events as they can not be delayed:

  • "jvm_start" event.
  • "jvm_started" event.
  • "jvm_stop" event.

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, lea la documentación de las propiedades individuales para ver todas las posibilidades además de los ejemplos mostrados anteriormente.