Configuring components to run externally

Components must be stateless to execute externally. That is, the Stateless option must be selected on the Instances tab in the Component Properties dialog box; if using jagtool or an external configuration file, the property com.sybase.jaguar.component.stateless must be true.

To configure a component for external execution, configure the settings listed in Table 4-3, on the Instances tab in the EAServer Manager Component Properties dialog box.

Table 4-3: Instances tab component properties for external execution

Setting

Specifies

External Server

If selected, the component executes externally in the specified server; the default external server name is DefaultExternal.

External Server/Name

The name of the external server that hosts the component—see “Configuring servers to host external components”.

If using jagtool or an external configuration file, set the property com.sybase.jaguar.component.external.servername.

Request Timeout

How long, in seconds, to wait for a response from the external server before returning an error to the client and restarting the external server. A value of 0 indicates infinity (no timeout). The default value is set in the server properties for the server where the component is installed—see “Configuring servers to host external components”.

If using jagtool or an external configuration file, set the Request Timeout property com.sybase.jaguar.component.external.request.timeout.

If the Automatic Failover option is selected on the Transactions tab (com.sybase.jaguar.component.auto.failover is true), EAServer retries requests that fail due to timeout, one retry only.

Server Start Timeout

How long, in seconds, to wait for the external server to start if it is not already running. EAServer returns an error to the client if the external server does not start in the specified time. The default value is set in the server properties for the server where the component is installed—see “Configuring servers to host external components”.

If using jagtool or an external configuration file, set the property com.sybase.jaguar.component.external.serverstart.timeout.