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

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

This property is used to configure how long the Wrapper will wait for a configured event to complete.

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

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

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=15

The timeout can be set to "0" to wait indefinitely. In general, it is a good idea to set a timeout that is as short as possible to allow your command to run under normal circumstances. If the timeout is set too long, then your application may get stuck unexpectedly waiting for the command to complete.

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

Referencia: Comando de Eventos

El Java Service Wrapper proporciona un conjunto completo de propiedades de configuración que le permiten hacer que el Wrapper se adapte exactamente a sus necesidades. Por favor, lea la documentación de las propiedades individuales para ver todas las posibilidades además de los ejemplos mostrados anteriormente.