SOAP request automatically retries in the event of no response from server.

SOAP request automatically retries in the event of no response from server.

book

Article ID: KB0090501

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description:
============

SOAP request retries three times when a response is not received within a certain time. No exception is thrown. Behavior is seen only when using the HTTP component, but not when using Tomcat.


Environment:
===========

BW ALL

Cause:
=====

This is caused by the underlying HTTP transport and is expected behavior. It is the default behavior of HttpClient (SOAP over HTTP client). BW uses Apache HttpClient as the HTTP Client. HttpClient will retry the method three times provided that the request has never been fully transmitted to the target server. Exercise caution when enabling auto-retrial. Use it only if the method is known to be safe to retry multiple times without causing data corruption or data inconsistency. A detailed explanation can be found at http://hc.apache.org/httpclient-3.x/tutorial.html.


Resolution:
==========

From BW 5.9, a property "bw.plugin.http.client.retryCount" is provided for the user to set the RetryCount value. You can set the value to >= 0. Note that  this property works only when set in the properties.cfg file. It does not work if set in the BWEngine.tra or Designer.tra file.


References:
==========
http://hc.apache.org/httpclient-3.x/tutorial.html

Issue/Introduction

SOAP request automatically retries in the event of no response from server.