Hi All,
We have an RFC Lookup error when we run an interface. This RFC lookup will fetch some values at runtime from SRM system tables by usage of function module & forms an XML message in PI for target system. Unfortunately this lookup was not working since one week & we are getting below exception in sxi_monitor .
"com.sap.aii.mapping.lookup.LookupException: Error when calling an adapter by using the communication channel RFCReceiver_SUS (Party: , Service: HSPCLNT320, Object ID: 499198ce778536e29bfd09a30e9110cc) XI AF API call failed. Module exception: 'Error during processing local bean: localejbs/RfcAFBean'. Cause Exception: 'Exception in getMethodReady() for stateless bean sap.com/com.sap.aii.adapter.rfc.app*xml|com.sap.aii.adapter.rfc.ejb.jar*xml|RfcAFBean;"
"Cannot get connection. Reason: the thread of component "ejbContexts/sap.com/com.sap.aii.adapter.rfc.app/com.sap.aii.adapter.rfc.ejb.jar/RfcAFBean" in application "sap.com/com.sap.aii.adapter.rfc.app" is currently associated with a restricted resource set and it is not allowed to get connection within it.'. at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.process(AdapterProxyLocal.java:92) at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.call(SystemAccessorInternal.java:55) at com.sap.aii.mapping.lookup.RfcAccessor.call(RfcAccessor.java:81) at com.sap.aii.mappingtool.flib7.RfcLookup.cacheMore(RfcLookup.java:81)"
"ResourceException occurred in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResourceException: Cannot get connection. Reason: the thread of component "ejbContexts/sap.com/com.sap.aii.adapter.rfc.app/com.sap.aii.adapter.rfc.ejb.jar/RfcAFBean" in application "sap.com/com.sap.aii.adapter.rfc.app" is currently associated with a restricted resource set and it is not allowed to get connection within it. "
We have already tried below solutions:
1. System restart
2. Activated channel with dummy changes
3. Start & Stop of channel in CC monitoring
4. Checked FM in SRM system, it is providing response of the input values provided.
5. NWA all of the instances are running fine without any issues.
6. RFC destination connectivity is working fine.
7. Note 1967751 is implemented.
Kindly provide any other suggestions you have for resolving this issue.
Regards,
Vinod.