Hi,
I think it’s intermittently network issue. The error actually indicating at the point the TCP connection trying to connect to the server, the server is not ready to accept it and hence refused. There is not way to fix intermittent network issue, as from client to server end, it goes through so many hops and routes before reaching the actual server. This is no way to guarantee 100% stable all the time.
Perhaps in your catch code, you can try to trap the exception and invoke pub.flow:throwExceptionForRetry to force the flow to re-execute again? Referring to http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite9-10/Integration_Server/9-10_Integration_Server_Built_In_Services_Reference.pdf page 403, it’s stated:
Usage Notes
Use the pub.flow:throwExceptionForRetry service to handle transient errors that might occur
during service execution. A transient error is an error that arises from a condition that
might be resolved quickly, such as the unavailability of a resource due to network
issues or failure to connect to a database. The service might execute successfully if
the Integration Server waits and then retries the service. If a transient error occurs,
the service can catch this error and invoke pub.flow:throwExceptionForRetry to instruct the
Integration Server to retry the service.
The pub.flow:throwExceptionForRetry service should be used for transient errors only
So maybe you can have the handling in your catch section?
#Integration-Server-and-ESB#webMethods