on 2012 Apr 13 2:00 PM
Hi All ,
Have encounter an issue , wherein sender is SOAP and receiver is RFC .
Its like two interfaces using the same RFC receiver channel and both the interfaces failed and says :
Error messages says :
For 1st interface :
Error Delivering the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Sync application request expired.. Setting message to status failed
For 2nd interface :
Error Delivering the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: resource error: could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception:(106) JCO_ERROR_RESOURCE: Connection pool RfcClient[CC_XXXXXXX] is exhausted. The current pool size limit(max connections) is 1 connections.. Setting message to status failed.
Can any one suggest , how to resolve this issue ?
Currently the Max connection is 1 , if we increase the value for Max Connection to 2 or 5 in the receiver adapter , will this solves the issue ? Please suggest.
-Shweta
Request clarification before answering.
Hi Shweta, Please check if the If the 1st RFC is getting executed successfully in SAP system. If the RFC is not closing properly, increasing the number of threads may not help as it might still max out the connections.
Thanks,
Sathya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If your two scenarios are not EOIO, you might have more simultaneous connections then scenarios. Simply think of several requests from each interface being processed at the same time - they will still fail if you set max connections to 2. It is much safer to set the paramter to a higher value, so that there was a chance for PI to "roll" the available connections dynamically, according to the current usage. Moreover - setting max connections to 10 doesn't mean PI maintains 10 permanent connections to the receiver. It is just a limit of connections that you globally want to allow.
Hope this helps,
Greg
Hi,
Frankly speaking - it might turn out unnecessary. Most probably the timeouts were caused by the messages being "queued" at the receiver adapter level, because of only a single instance of the outgoing connection. In my opinion, it might be worth testing with only the communication channel paramter changed. Only if you still encounter problems, will you have to do further adjustments.
Regards,
Greg
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.