cancel
Showing results for 
Search instead for 
Did you mean: 

Problem "Unable to find resource" in SAP PI 7.0 Sp12

Former Member
0 Kudos

Hi Experts - We are experiencing below problem in SAP PI 7.0 SP 12.

Objects are available in the system and cache notifications are green. Even after multiple attemps messages are not processing.

Is there any resolution action we can take? Details below.

THanks, Mathias.

<Trace level="1" type="B" name="CL_RD_PLSRV-ENTER_PLSRV">

<Trace level="1" type="T">R E C E I V E R - D E T E R M I N A T I O N</Trace>

<Trace level="1" type="T">Cache Content is up to date</Trace>

<Trace level="2" type="T">Start without given receiver</Trace>

<Trace level="2" type="T">Dynamic Receiver Determination via Mapping.</Trace>

<Trace level="2" type="T">......attachment XI_Context not found</Trace>

<Trace level="3" type="T">Object ID of Interface Mapping 721735504F3735BB885E49DD430ACFB0</Trace>

<Trace level="3" type="T">Version ID of Interface Mapping 4E0CDFA06AAB11DBBE41EACA91374078</Trace>

<Trace level="1" type="T">Interface Mapping http://eu.Company.com/SC/Mak/Pack/ProdRec/xi NAME_WMTORD_TO_SAP_BASIS_Receivers</Trace>

<Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_NAME_WMTORD_TO_SAP_BASIS_Receivers_</Trace>

<Trace level="3" type="T">Dynamic Configuration ( http://sap.com/xi/XI/System/IDoc SNDPOR SAPSXX ) ( http://sap.com/xi/XI/System/IDoc SNDPRN SXXCLNT010 ) ( http://sap.com/xi/XI/System/IDoc SNDPRT LS ) ( http://sap.com/xi/XI/System/IDoc RCVPOR XXXCLNT010 ) ( http://sap.com/xi/XI/System/IDoc RCVPRN X1295_LWHA ) ( http://sap.com/xi/XI/System/IDoc RCVPRT LS ) ( http://sap.com/xi/XI/System/IDoc MESTYP WMTORD ) ( http://sap.com/xi/XI/System/IDoc IDOCTYP WMTOID01 ) ( http://sap.com/xi/XI/System/IDoc CIMTYP )</Trace>

<Trace level="2" type="T">Mode 0</Trace>

<Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_NAME_WMTORD_TO_SAP_BASIS_Receivers_.</Trace>

<Trace level="3" type="T">Load 4e0cdfa0-6aab-11db-be41-eaca91374078, http://eu.Company.com/SC/Mak/Pack/ProdRec/xi, -1, com/sap/xi/tf/_NAME_WMTORD_TO_SAP_BASIS_Receivers_.class.</Trace>

<Trace level="3" type="T">Search com/sap/xi/tf/_NAME_WMTORD_TO_SAP_BASIS_Receivers_.class (http://eu.Company.com/SC/Mak/Pack/ProdRec/xi, -1) in swcv 4e0cdfa0-6aab-11db-be41-eaca91374078.</Trace>

<Trace level="3" type="T">Does not found exact entry. Search in other namspaces.</Trace>

<Trace level="3" type="T">Search com/sap/xi/tf/_NAME_WMTORD_TO_SAP_BASIS_Receivers_.class (-1) in swcv 4e0cdfa0-6aab-11db-be41-eaca91374078 without namespace.</Trace>

<Trace level="1" type="T">Class not found: com.sap.xi.tf._NAME_WMTORD_TO_SAP_BASIS_Receivers_</Trace>

<Trace level="1" type="T">com.sap.aii.ibrun.server.mapping.persist.ResourceNotFoundException: Unable to find resource com/sap/xi/tf/_NAME_WMTORD_TO_SAP_BASIS_Receivers_.class (http://eu.Company.com/SC/Mak/Pack/ProdRec/xi, 4e0cdfa0-6aab-11db-be41-eaca91374078, -1) at com.sap.aii.ibrun.server.mapping.persist.DBSwcvMappingPersistor.getInputStream(DBSwcvMappingPersistor.java:325) at com.sap.aii.ibrun.server.mapping.persist.DBSwcvMappingPersistor.readFile(DBSwcvMappingPersistor.java:203) at com.sap.aii.ibrun.server.mapping.persist.DBSwcvMappingPersistor.readClass(DBSwcvMappingPersistor.java:195) at com.sap.aii.ibrun.server.mapping.MappingLoader.findClass(MappingLoader.java:138) at java.lang.ClassLoader.loadClass(ClassLoader.java:627) at java.lang.ClassLoader.loadClass(ClassLoader.java:593) at com.sap.aii.ibrun.server.mapping.JavaMapping.load(JavaMapping.java:95) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:45) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:92) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0_0.processFunction(MappingServiceObjectImpl0_0.java:131) at sun.reflect.GeneratedMethodAccessor329.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62) at java.lang.reflect.Method.invoke(Method.java:391) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy252.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62) at java.lang.reflect.Method.invoke(Method.java:391) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:275) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:217) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7803) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2405) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1728) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8164) at com.sap.mw.jco.JCO$Server.work(JCO.java:8284) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8231) at com.sap.mw.jco.JCO$Server.run(JCO.java:8147) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:219) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</Trace>

<Trace level="1" type="T">java.lang.ClassNotFoundException at JavaMapping.load(): Could not load class: com/sap/xi/tf/_NAME_WMTORD_TO_SAP_BASIS_Receivers_</Trace>

Accepted Solutions (0)

Answers (3)

Answers (3)

fatih_eren
Explorer
0 Kudos

Hello Mathias,

have you find another solution for your Problem.

If I change an existing Scenario to another Adapter engine I get the same error with the "Ressource not found".

Former Member
0 Kudos

Hi,

Do as Abhishek suggested and if you still face the problems then restart the J2EE engine. Most probably it should be resolved by clearing the cache (provided all configuration & mapping is correct & in place.)

Regards,

Sarvesh

Former Member
0 Kudos

Hi - We have executed a cache refresh but that did not resolve the situation. We will try a re-transport (system is QA stage and does not allow manual config actions) to understand if that helps.

However I would like to understand the root cause, we have been fighting the symptoms for a long time.

Do you know how information is technically providec in the cache? Is there any limitation in the data present in the cache (storage limitation that comes to effect if you have too many objects)? How are objects read out from the cache?

Thanks, Mathias.

Former Member
0 Kudos

> Hi - We have executed a cache refresh but that did not resolve the situation. We will try a re-transport (system is QA stage and does not allow manual config actions) to understand if that helps.

In QA stage IR part is non configurable but ID is always configurable, so make sure once again if everything is reconfigured as per QA environment (re-check all setps again).

Secondly make sure while transporting you have not missed anything.

> However I would like to understand the root cause, we have been fighting the symptoms for a long time.

>

> Do you know how information is technically providec in the cache? Is there any limitation in the data present in the cache (storage limitation that comes to effect if you have too many objects)? How are objects read out from the cache?

In my opinion there is no as such limitation (I haven't seen any document yet which talks about limitation of cache). It all depends upon your hardware configuration available memory at run time.

For more information you can find the document on how cache works on SDN. Just search it.

Former Member
0 Kudos

Hi - We have executed the re-transport which resolved the situation described above.

However we have not been able to fully close the topic and understand the root cause.

Our current understanding is as follows:

At the time of a transport activation, a cache notification is created and the information is transmitted from the Integration Directory to the different caches using user XIDIRUSER. After the successful notification, the cache update is triggered. This is initiated by the IE ABAP Runtime via user XIISUSER. This user is calling the Integration Directory which than takes user XIDIRUSER to retrieve the required objects, e.g. message mappings, from the Integration Repository. If at this stage, the user XIDIRUSER does not receive an available Work-Process, the action is not completed. This means also the cache notification stays green, as the negative feedback cannot be transmitted either, since the user XIDIRUSER 'died out'.

This was confirmed to happen in an overload situation for our system.

Please comment if you have any further experiences or different explanation.

Mathias

former_member200962
Active Contributor
0 Kudos

The error says, runtime is not able to find Interface Mapping.

To resolve you can:

1) Do some dummy changes to the ID objects (Interface Determination) --> save --> activate --> cache refresh.

2) As a last option recreate the ID objects.

I am assuming that the mapping program is available, active (in IR) and referred in Interface Determination.

Can you give some more information about your scenario and the steps involved?

Regards,

Abhishek.