cancel
Showing results for 
Search instead for 
Did you mean: 

MAPPING.RESOURCE_NOT_FOUND

Former Member
0 Kudos

Hello

I have a simple test project where I map some address fields into less fields. Nothing complicated and this szenario did work already. But now I get an error:

Result:

<SAP:Error>

<SAP:Category>Application</SAP:Category>

<SAP:Code>MAPPING.RESOURCE_NOT_FOUND</SAP:Code>

<SAP:P1>com/sap/xi/tf/_MM_Address_To_CustomerAddress_.cla~</SAP:P1>

<SAP:P2>urn:siller.de:BIT400SWC:1.0</SAP:P2>

<SAP:P3>677396c0-2072-11da-8fff-d1b7ac110534</SAP:P3>

<SAP:P4>-1</SAP:P4><SAP:Stack>Unable to find resource com/sap/xi/tf/_MM_Address_To_CustomerAddress_.cla~ (urn:siller.de:BIT400SWC:1.0, 677396c0-2072-11da-8fff-d1b7ac110534, -1)</SAP:Stack>

</SAP:Error>

My scenario was synchronous and I added some async stuff. I copied the original MM, MI and IM and altered to async and gave them new names. And a new configuration of course. XI Cache is correct I only see two mapping programms one for sync, one for async, every light their is green.

I tested now first my sync scenario it gives me the error, my async scenario either.

Scenario: HTTP to IS, then a file written down.

Test with HTTP Client page.

Please help!

TIA

Dominik

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Dominik,

Arte you sure that your Interface Mapping points to the correct Mapping Program and that the MP lies in the correct Namespace ? Maybe because of the copying, the dependecies are not in sync.

Best regards

Joachim

Former Member
0 Kudos

@Udo and Joachim,

I deleted everything, went to dinner, created everything new => same error

udo_martens
Active Contributor
0 Kudos

Hi Dominik,

i went to dinner, made the same error and deleted everythink what was created, and now i m quite full

To be serios:

Copy ur message mapping,

Copy ur interface Mappping, refer the new message Mappinmg

Copy ur interface destination, refer the new interface mapping

If this works, u have a strange cache problem (open a call)

Regards,

Udo

Former Member
0 Kudos

Udo,

it didn't work

Same error

Dominik

Answers (5)

Answers (5)

Former Member
0 Kudos

I really don't know why but now it works all.

Here my steps I did so far:

- installation of the adapter engine locally

- several checks if it works correctly

=> error persisted

- guide "how to handles caches in sap xi 3.0": I did point 1 to 16

=> error persisted

- Create a new namespace in the SWCV which had the error, created a very easy test scenario

=> error has gone (uuups - why????)

- Took my previous error scenario and tried it again

=> it works now

I will now share the points

Thanks to all hints!!!

Dominik

Former Member
0 Kudos

Hello Domonik,

Please check the cache settings described in the HowTo guide

https://websmp204.sap-ag.de/~sapdownload/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf

on the service marketplace. Hopefully this will solve the problem.

If not, there is also (at least) one note (868813) dealing with this kind of problem.

Best regards

Joachim

Former Member
0 Kudos

Hello Domonik,

have you try to restart the message again. Sometine it

is only a temporary problem and when you restart the

message could be successfull.

The reason the mapping class is not found could be serveral. One often happen to us is that the mapping

class was pull out from the cache because of transporting

the interface.

Try to restart the message, maybe it help.

Regards,

Ly-Na Phu

Former Member
0 Kudos

Sorry for not responding I follow another strategy first I noticed that this strange behaviour first occured after an installation of the local adapter engine for my developer workplace. The installation was wrong (as I now noticed) and I searched an complete (!

Dominik

Message was edited by: Dominik Kovacic-Voß

Former Member
0 Kudos

Hi Dominik,

Then I'd tend to agree with Udo. There seems to be a problem with your cache. Please check the cache notifications in your Repository and Directory. If I got you right, you've already checked TA sxi_cache. You can also try to do a complete cache refresh in sxi_cache -> XI runtime cache.

Best regards

Joachim

Former Member
0 Kudos

You can also try to do a complete cache refresh in

sxi_cache -> XI runtime cache.

I already did it more than once No effect

Please check the cache notifications in your Repository and Directory.

in repository no error

in directory I had errors but at my last two commits this error doesn't occure any more. Error (in german) is:

Die von den Datenänderungen betroffene Adapter Engine "af.kv1.kovacic-t2" konnte nicht benachrichtigt werden.

Eine HTTP-Verbindung zu "http://kovacic-t2:50000/CPACache/invalidate" lieferte als Antwort den Status-Code "401".

My communication chanel was of type file and the integrated adapter engine was af.kv1.kovacic-t2. But now I changed it back to our IS, so no more errors here.

Please refer to thread Java Proxy and Deployment Problem (), I did install the Adapter Engine / Framework yesterday and patched it from SP9 to SP12. I don't know but one thing was really mysterious: no xi user were installed but some of the xi websites (like rwb) I could not get connected with j2ee admin (no xisuper is available). I put all actions in UME to a role and assigned it to my j2ee admin but this didn't altered the situation: no connect to rwb website. And in the installation guide I found no hint in this direction and I think I did all in correct order.

But could a lokal AE installation affect our integration server if it should do a mapping?

Dominik

Message was edited by: Dominik Kovacic-Voß

Former Member
0 Kudos

Hi Dominik,

So no copying this time? You created everything from scratch?

When creating your IM, did you use the value help to insert the MM? This helps you to avoid typing errors. Do you reference the correct namespace?

If you test your IM in the Integration Repository, do you get the same error? If no, please check if you reference the correct IM (namespace! - please use the value help) in you Interface Determination.

Best regards

Joachim

Former Member
0 Kudos

Joachim,

no copying, everything completly new. I always use the help. For all used objects the namespace is always the same (urn:siller.de:BIT400SWC:1.0).

Tests in IM show no errors. I checked everything twice. But XI Cache shows below mapping a line with map type IDENTITY. What is this? No other mapping shows this line, neither the demo mappings nor from another project. Maybe here lies the error?

Dominik

udo_martens
Active Contributor
0 Kudos

Hi Dominik,

u referred a not existing Message Mapping in ur Interface Mapping. May be, MM is not active, may be, you referred an old Interface Mapping in ur Interface Determination.

Regards,

Udo