cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RFC Client Exception

Former Member
0 Likes
2,109

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

View Entire Topic
Former Member
0 Likes

Hi Shweta Ganti,

The answers from RAJEEV GUPTA, Grzegorz Glowacki and Baskar Gopalakrishnan, about the RFC parameter, are the best solution to aovid that problem. Also you should think because this problem begins. I usually see this problem in synchrounous scenarios with a large XML or in scenarios with a large RFC reponse time. May be you could study if you need to pass all the XML to RFC, to improve the RFC code or wheter the problem is by a large runtime execution in ABAP endpoint code to make an asynchronous scenario.

Regards.