DVM_AVAILABLE

The DVM_AVAILABLE timeout specifies how long (in seconds) the Genero Application Server allows for the DVM to start. This parameter provides a delay for the DVM to start and be available.

The DVM_AVAILABLE timeout provides a mechanism for the Genero Application Server to handle the failure of the DVM to start. If the DVM has not started by the time the DVM_AVAILABLE timeout expires, the Genero Application Server sends an error message to the front-end and logs the message: "DVM_AVAILABLE timeout expired."

This element is optional. If the element is not specified, the default time out is 100 seconds.

Web applications

When used as a child of the WEB_APPLICATION_TIMEOUT_COMPONENT element, the DVM_AVAILABLE timeout is only applicable when you start an application or you launch sub process in interactive mode (IN LINE MODE). If you run the sub process in background (IN FORM MODE), the DVM_AVAILABLE timeout is not applicable.

Web services

For a Web service, there is no notion of a front-end client. An error message is therefore not sent. In addition, a Web service is not expected to perform RUNs commands with new DVMs connecting by themselves.

Usage example

<DVM_AVAILABLE>10</DVM_AVAILABLE>

In this usage example, the DVM Available timeout is set to 10 seconds.

Parent elements

This element is a child of one of the following elements: WEB_APPLICATION_TIMEOUT_COMPONENT, SERVICE_APPLICATION_EXECUTION_COMPONENT, TIMEOUT (for a service), TIMEOUT (for an application)