Consultor Eletrônico



Kbase P174143: How to time limit procedure calls of the AppServer agents?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   28/10/2010
Status: Unverified

GOAL:

How to time limit procedure calls of the AppServer agents?

GOAL:

Is there a timeout parameter that can be used to specify the amount of time an AppServer agent can spend on a request before disconnecting and returning to the status of AVAILABLE ready to receive further requests?

GOAL:

Is there an exection timeout parameter for the AppServer agents?


FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.2B
OpenEdge Server Technology Category: AppServer
OpenEdge Category: Language (4GL/ABL)

FIX:

Two new features were introduced in OpenEdge 10.2B in order to achieve this goal, either at the procedure block level or at the Application Server level.

The first way to time restrict procedure calls involves the use of the STOP-AFTER phrase. This phrase specifies a time-out value for a DO, FOR, or REPEAT block. The integer expression that specifies the number of seconds each iteration of a block has until a time-out occurs. If a time-out occurs, the AVM raises the STOP condition.

Another way to time limit procedure calls is to set the ubroker property called srvrExecutionTimeLimit will in the [UBroker] section of the ubroker.properties file. This is a non-negative integer property that specifies the maximum time in seconds that a remote procedure may execute on the given AppServer. This timeout value applies to all remote procedures that execute on the AppServer.