TIMEOUT (for an application)

This element set timeouts for process requests and the start of the DVM.


<TIMEOUT [Using=component-id ]>
  1. The component-id references a component with a set of timeout definitions that are used.

Child elements

The TIMEOUT element may contain the following child elements:

  1. Zero or one USER_AGENT element.
  2. Zero or one REQUEST_RESULT (for an application) element.
  3. Zero or one DVM_AVAILABLE element.


You use this element to set limits on the amount of time a DVM takes to start, and the amount of time it takes to process requests between the GAS and the client.

Timeouts are important for performance, so default values are set, and values can be configured.

Timeout settings may be defined by referencing in its Using attribute a predefined WEB_APPLICATION_TIMEOUT_COMPONENT to inherit timeout settings, and/or by setting individual timeout settings specific to the application.

When settings are inherited from a WEB_APPLICATION_TIMEOUT_COMPONENT, settings you define locally within the TIMEOUT element override the component settings.

Usage example referencing a timeout component

<TIMEOUT Using="cpn.wa.timeout.set1" />

Usage example using local elements


Parent elements

This element is a child of the UA_OUTPUT element.