How to configure timeout for services managed by TIBCO ActiveMatrix® Service Gateway(ASG).

How to configure timeout for services managed by TIBCO ActiveMatrix® Service Gateway(ASG).

book

Article ID: KB0086601

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Gateway -
Not Applicable -

Description

Description:
Timeout can be configured at:


Apache (for services over HTTP).

At two places in ConfigUI for services managed by ASG.

Resolution

In Apache the timeout is configured using the parameter "AsgTimeout 30" in the mod_ASG.conf file generally located in the folder <ASG_HOME>/modules/http_server/apache

In ConfigUI the timeout can be configured at:

Service level or in the Services tab (services.cfg).
Partner Operations tab(partneroperations.cfg).

 The timeout occurs based on whichever value is lower.
 A value at the service applies to the service invocation. It will be applicable to any operation which is routed to that service.
 Values in the Partner operations tab are specific to the partner + operation combination.


Notes:
=====

Below is the reply if the Patner Operation times out:
-----------
<asg:Error xmlns:asg="http://www.tibco.com/asg/error">
   <asg:ErrorCode>7007</asg:ErrorCode>
   <asg:ErrorMessage>PartnerOperation Timeout</asg:ErrorMessage>
</asg:Error>
-----------

Below is the reply if Service times out:
----------------------------------
<asg:Error xmlns:asg="http://www.tibco.com/asg/error">
   <asg:ErrorCode>7004</asg:ErrorCode>
   <asg:ErrorMessage>Service timeout</asg:ErrorMessage>
</asg:Error>
----------------------------------

It is also recommended that the values be configured as Apache Timeout > Partner Timeout > Service Timeout.

Issue/Introduction

How to configure timeout for services managed by TIBCO ActiveMatrix® Service Gateway(ASG).