on 06-24-2015 2:12 PM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinod,
Have you tried to increase the number of connections allowed in the RFC channel?
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinod,
Is this the generic channel that you are using for RFC lookup purpose for all the interfaces?
If yes, then can you please check whether the lookup is working for other interfaces or not.
Also, please check whether there is any issue in the channel, go to channel monitoring, give the channel name and click on ping channel button and see the outcome.
Regards
Vishnu
Did you verify if there are any locks? NWA -> Locks ?
if you dont find any, please create a new channel and see if that helps..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.