Question
Areteans
IN
Last activity: 21 Oct 2016 8:42 EDT
Getting com.pega.pegarules.pub.services.RemoteApplicationException: SOAP service failed
Hi All,
We are getting com.pega.pegarules.pub.services.RemoteApplicationException: SOAP service failed most of the time in one environment.
It is happening for all the SOAP connectors and is random. Any idea about the root cause of the issue?
I have attached log file for reference.
Thanks
***Updated by moderator: Marissa to add SR Details***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
IN
Hello!
Upon reviewing the corresponding SR, we see that it has been resolved. SA-28517 was created as a result of the investigation. Please reference that if you have the same question.
Regards,
Lochan | Community Moderator | Pegasystems Inc.
Pegasystems Inc.
US
You may have connection pool issue - what is your pega version? Check this link (specifically the dynamic system settings there: https://docs-previous.pega.com/troubleshooting-soap-connection-errors-many-tcp-sockets-closewait-state-red-hat-enterprise-linux)
Caused by: com.pega.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection at com.pega.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:491) at com.pega.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:395) at com.pega.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153) at com.pega.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
Areteans
IN
We are using PEGA 7.2. I had referred to the link also. But not sure if this is the root cause for this issue or not.
Pegasystems Inc.
US
So what are the values of these DSS in your environment if set:
So what are the values of these DSS in your environment if set:
a) Purpose : Axis2_Max_Connections
Ruleset : Pega-IntegrationEngine
Value : 1000 (default)
b) Purpose : Axis2_Max_HostConnections
Ruleset : Pega-IntegrationEngine
Value : 100 (default)
Areteans
IN
We don't have any explicit limit set in the form of DSS. it should be taking the default value.
I check the INIT step in InvokeAxis2 activity and found that
int maxHostConnections = 100;
String maxHostConnectionString = tools
.getSystemSettings().getDynamic(
"Pega-IntegrationEngine",
"Axis2_Max_HostConnections");
oLog.infoForced("------------"
+ maxHostConnectionString + "-------");
if (maxHostConnectionString != null) {
try {
maxHostConnections = java.lang.Integer
.parseInt(maxHostConnectionString);
} catch (NumberFormatException nfe) {
//Ignore them as the default value is already set.
}
}
So if we don't have any explicit DSS set then it should take the default value i.e. 100.
This is as per my understanding. Any thoughts?
Pegasystems Inc.
US
Please add the debug logger for the InvokeAxis2 activity and attach the log.
Accepted Solution
Pegasystems Inc.
IN
Hello!
Upon reviewing the corresponding SR, we see that it has been resolved. SA-28517 was created as a result of the investigation. Please reference that if you have the same question.
Regards,
Lochan | Community Moderator | Pegasystems Inc.