cancel
Showing results for 
Search instead for 
Did you mean: 

messaging URL not found for Adapter Engine

Former Member
0 Kudos

Hi all,

I am doing RFC-JDBC. My Sender RFC Adapter is sucessful in pulling data from SAP and it is also processed in the queue. But when It gives to the JDBC Adapter, Jdbc adapter cant find the message URL.

I checked drivers, UID, PWD and its perfect. I checked my insert opetaion of table structure, it is also exactly defined as shown in sap help.

Still I dont understand what this error is. Is it something we need to fix through SICF by activating inactive services like adapter engines??.

Thanks in advance. I appreciate your time.

Raj.

Message was edited by: Raj Peddisetty

Accepted Solutions (1)

Accepted Solutions (1)

sam_raju
Contributor
0 Kudos

Hi Raj,

Can you paste the error message you are getting from your JDBC Adapter?

You can copy this error message from your Message Display Tool or from SXMB_MONI.

Rgds,

Sam Raju

Former Member
0 Kudos

Hi Sam and Bhavesh,

Please find this error as follows:

on R/3:

call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:

In the MDT, the error is as following:

Time Stamp Status Description

2006-03-01 15:51:12 Success RFC adapter received sRFC for Z_PA_DINERS_TXN from R/3/230. Attempting to send message synchronously

2006-03-01 15:51:12 Success Application attempting to send an XI message synchronously using connection AFW.

2006-03-01 15:51:12 Success Trying to put the message into the call queue.

2006-03-01 15:51:12 Success Message successfully put into the queue.

2006-03-01 15:51:12 Success The message was successfully retrieved from the call queue.

2006-03-01 15:51:12 Success The message status set to DLNG.

<b>2006-03-01 15:51:14 Error Received XI System Error. ErrorCode: AE_DETAILS_GET_ERROR ErrorText: no_messaging_url_found: Unable to find URL for Adapter Engine af.xis.xiserver ErrorStack: Error when reading the access data (URL, user, password) for the Adapter Engine af.xis.xiserver

2006-03-01 15:51:14 Error Returning synchronous error notification to calling application: XIServer:AE_DETAILS_GET_ERROR:no_messaging_url_found: Unable to find URL for Adapter Engine af.xis.xiserver.

2006-03-01 15:51:14 Error Transmitting the message using connection http://xiserver.amers.company.com:8000/sap/xi/engine?type=entry failed, due to: XIServer:AE_DETAILS_GET_ERROR:no_messaging_url_found: Unable to find URL for Adapter Engine af.xis.xiserver.

2006-03-01 15:51:14 Error The message status set to FAIL.

</b>

Thanks,

raj.

Message was edited by: Raj Peddisetty

MichalKrawczyk
Active Contributor
0 Kudos

hi Raj,

please go through this whole thread

there are many tips you can check in your system from it:

Regards,

michal

Former Member
0 Kudos

Hey guys,

First - I have found out in the past that the "Error when reading the access data (URL, user, password) for the Adapter Engine..."

Is usually just a symptom for the real problem.

It's the "ErrorText: no_messaging_url_found" that interests me most.

I believe the problem lies somewhere on the ABAP WAS - and specifically getting Adapter details from a cache.

Just to be sure it's not a locked user problem (users that are responsible for refreshing the various caches for example) please run transaction RSUSR200 to see if any locked users exist. If there are - please list them here.

Next, could you check that all data relevant to that adapter is available on the ABAP WAS cache (can be checked in SXI_CACHE)

I would even recommend performing a full refresh in SXI_CACHE.

(Only if the previous user check was fine.. so other adapters won't stop working suddenly :->)

Last, for now - i would try checking in the Integration Builder the cache notification errors. (you can find the screen in the application menu - can't remember the exact name because I'm not at work currently).

That should give us a better picture of the problem before we dive into the J2EE World...

I wish you luck,

Yoad.

Former Member
0 Kudos

Yoad,

Thanks for your support. I checked the three steps, you said. There are no locked users, no errors in cache refresh, everything is perfect for these 3 tasks.

Please advice me on further steps.

Thanks,

Raj.

Former Member
0 Kudos

Hi Raj -

In SXI_CACHE, check that you can see the AE URL. From SXI_CACHE, proceed to Goto->Adapter Engine Cache. You should see an entry listed for your AE like:

af.<xi_SID>.<xi_server> | CA | http://<server>:<port>/MessagingSystem/receive/AFW/XI | etc.

Also, in your SLD, go to your Technical Landscape and choose Exchange Infrastructure. You should see the following entry:

Adapter Engine on <xi_SID>.<xi_server>

and also an entry for the Domain and Application System that coincides with the other XI components like Integration Directory and Integration Repository.

Let me know if you have these...

Regards,

Jin

Former Member
0 Kudos

Jin,

Thanks for support. I checked the 3 steps you mentioned, I can not find any entry in AE Cache.

In the SLD I could see the entries for IR, CD, IS, AE, Domain, RWB total 6 entries.

Moreover I observed that someothers also faced this problem, I opened an OSS note in the morning. I think it is an XI Bug. you could observe it in the "sai_AE_DETAILS_GET" FM , in the line 241, it calls the 'adapterType' on XI side it is 'AdapterType' in exchange profile, DT tab, Adapter Framework Parameters.

Please follow other thread, where people already got this kind of problem.

Thanks-a-lot for your support. I appreciate your concern and time.

Warm Regards,

Raj.

Former Member
0 Kudos

Raj,

If you could not find an entry for AE in SXI_CACHE (Goto->Adapter Engine Cache) that gives a URL for you Adapter Engine - That probably indicates a problem..

That's the cache i asked you to check previously.

That is the case?

About the adapterType - AdapterType problem - that problem should have been solved already and also gives different error texts (Like "Can't find property...") so I don't believe that is the case.

We work on a different working hours (GMT+2) here so i'm sorry i couldn't get back earlier.

Good day.

Former Member
0 Kudos

Yoad,

Thanks for the support and for coming back. Ya, I didnt find any entry in SXI_CACHE for ADApter Engine.

I saw in other thread, one guy mentioned that he got the same problem, "Error when accessing data" AE_DETAILS_GET_ERROR. He also mentioned that he got the solution from you, and he could resolve his problem.

If you need any more information, Please let me know. Cant I avoid this problem, by modifying the 241line to 'AdapterType' in SAI_AE_DETAILS_GET FM on XI???.

WOuld the problem persists even after that??

Is this for RFC Adapter? or for every other adapters??

Whats your go?? You too have a Good Day. ARe you in Greece?.

BEST REGARDS,

RAJ.

Former Member
0 Kudos

Hi Raj -

When you try executing the FM SAI_AE_DETAILS_GET (with single test), do you get the same error? The parameters would be:

AE_NAME: AF.<SID>.<SERVER>

BYPASSING_CACHE: X

Jin

Former Member
0 Kudos

Jin,

Thanks. I am not sure, bcoz I am not presently at my desk. I think I tried to execute that with out any errors. I will keep you updated tomorrow.

I am in Monutain Time, so gotta sleep.

Good Night.

Raj.

Former Member
0 Kudos

Hey Raj,

The problem with 'AdapterType' has a different error. But if you still want to check is you can follow the thread i wrote about the problem (It says what you should check in the SLD and what to check in the ABAP).

I can tell you that no other scenario that uses the Adapter Framework can work or should work without that entries in the SXI_CACHE. That is a problem that needs to be solved.

Please - try checking again for cache refresh erros:

In SXI_CACHE press Ctrl+F6.

If no errors show on the list, Please try to perform a full refresh (Shift+F6).

I believe that is where you should look for your problem.

Regards,

Yoad.

P.S.

I am from Israel.

Former Member
0 Kudos

Hi Raj -

Sounds pretty late... yes, get some rest and start fresh tomorrow.

Incidentally, if you were or are able to execute the FM successfully, you should find an entry in your AE Cache within SXI_CACHE. If this is the case, run your scenario thereafter to see if you can press on.

Regards,

Jin

Former Member
0 Kudos

Yoad,

Thanks for the reply. Ya, I checked in SXI_CACHE for errors, I didnt find anything. I checked your thread, I am on SP15, I observed my XI FM code as 'adapterType' and 'AdapterType' in Administration, DT tab of AF.

Ok, According to you, I will change that to 'AdapterType', Will see how it fares!!

BTW, Whats that Deirk got, I tried to contact him, but coudnt.

Talk to you in the morning.

Thanks once again.

Raj.

Former Member
0 Kudos

"Error when reading the access data (URL, user, password) for the Adapter Engine..."

This error occurs if the IE can't access the ExchangeProfile or could not get the username and password from exchangeProfile for XI AdapterFramework.

XI integration engine need to access SLD to get URL for AE and exchangeProfile to get access data for AE in CallAdapter Step. Normally the AE url is cached in SXI_Cache, but if the url not there IS will get the url from the SLD. The identified reciever channel has one corresponding AE, which is configured in Integration Directory and visible in SXI_Cache as well. IE will ask SLD to get the URL for AE and ask ExchangeProfile to get the logon data.

Please use sldcheck to validate that sld connection is working. Please also check in smgw under logon clients, what could happen is that more than one AS register itself with same programm id on the XI gateway. That could cause IE ask wrong exchangeProfile or wrong SLD for information and cause this kind of "Error when reading the access data (URL, user, password) for the Adapter Engine..."

regards, Hai

Former Member
0 Kudos

Jin,

Sorry for coming too late, doing some production support issues, could not work on XI.

As you mentioned i tried to execute the FM, it gives me the same error. Please look into this issue, only when have time.

Warm Regards,

Raj.

Former Member
0 Kudos

Yoad,

I tried at SXI_CACHE, with ctrlf6 and shiftf6. I dont have any errors there.

Thanks,

Raj.

Former Member
0 Kudos

Hi Hai Long,

Thanks-a-lot for your insights and views. I checked in the exchange profile of my XI server, not the Central SLD, I have the default UID(XIAFUSER) and PWD.

On the central SLD, I cant find the exchange profile.

in SXI_CACHE also I couldnt find any URLS there.

I checked SLD check, its working excellent.

As you mentioned in SMGW, there are multiple entries for same TP Name.

So, shall I delete the redundant TPs, Isnt it cause any serious problems?.

Thanks for the support.

Rgds,

Raj.

Former Member
0 Kudos

Hi All,

I'm also having the same issue as Raj is having. If you want to check the thread then its title is -"RFC Scenario - AE_DETAILS_GET_ERROR"

We are on SP15.While sending a file to the R/3 system using RFC, in async scenario, i'm geting the following error when i checked in SXMB_MONI -

<SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>

<SAP:AdditionalText>no_messaging_url_found: Unable to find URL for Adapter Engine af.<SID>.<HOST></SAP:AdditionalText>

<SAP:Stack>Error when reading the access data (URL, user, password) for the Adapter Engine af.<SID>.<HOST></SAP:Stack>

When i checked in exchange Profile, i can find the user XIAFUSER with the correct Password.

When i checked in the RWB->Component MOnitoring, i can see my RFC Adapter has a green light against it which means it is working fine.

When i run the transaction SLD_CHECK, it didn't come with any errors. Every action was successful.

But When i tried checking through Function Module - SAI_AE_DETAILS_GET, with the input "AF.<SID>.<HOST>" in the field AF_NAME, i get the error - no_adapter_engine_found: Unable to find Adapter Engine AF.<SID>.<HOST>.

When I went in SXI_CACHE -> GoTo->Adapter Engine Cache, as suggested by Yoad, i didn't see any entry for AE Name and Engine there !.

I'm also having the same "AdapterType" and "adapterType" issue in my system after moving to SP15. Are there any OSS Notes available, i was unable to find.

Kindly help me out in resolving this issue.

Regards.

Naveen

Former Member
0 Kudos

Naveen,

How many SLDs you have?. Do you have XI SLD(with no data or some data)? and Central or Master SLD?.

Thanks,

Raj.

Former Member
0 Kudos

Raj , i have only one SLD that to with XI.The SLD that i'm using is of XI only.This SLD contains the required business systems and technical systems that i created for my scenarios.

Thanks,

Naveen

Former Member
0 Kudos

Hi Naveen,

I think this seems to be mysterious. I changed the 'adpterType' to 'AdapterType' , but still it is not working. I opened an OSS note, will let you know, if I know anything. In my case we have two SLDs, I throught of, there are conflicts in both SLDs, so tried to delete BS AND TS that I created in XI SLD. Still, No result.

Thanks,

Raj.

Former Member
0 Kudos

Hi Raj, Kindly let me know as well whenever you get the solution to the problem.

Regards.

Naveen Kharb

Answers (3)

Answers (3)

Former Member
0 Kudos

I am using NW 2004s XI/PI 7.0. I want to import Exchange_profile.xml file from ..Usr\sap\sid\sys\global but there is no such files exixts there..kindly help me how to proceed furthur..

Real problem is that my ABAP users are not accepted in Java engine i.e.XI portal,

Thankz

Former Member
0 Kudos

Hi,

I am facing the same problem. I have configured a RFC-File scenario.

I get the error"no_messaging_url_found: Unable to find URL for Adapter Engine af.<SID>.<server>"

and <INTERNAL.AE_DETAILS_GET_ERROR>

I get the error "no_messaging_url_found: Unable to find URL for Adapter Engine" when I execute the Function Module SAI_AE_DETAILS_GET.

This error occured in the line 235( sap_xi_adapter_services = sld_accessor->associators( iref = sap_xi_adapter_framework assocclass = 'SAP_HostedXIAdapterServi) of the FM.

The value is not filled and i get the error mentioned.

I have gone through thread and verified all the points mentioned.

I have checked SXI_CAHCE,there are no locked users in RSUSR200,

  • SXI_CACHE, Goto->AdapterEngine Cache, I have an entry af.<sid>.<server>

  • In SLD,Technical Landscape,Exchange Infrastructure I have the entry <SID>.<Server> against the Adapter Engine

But as was mentioned in the thread the line 241 of the Fucntion Module has 'adapterType' and not 'Adaptertype' as in the exchange profile.I did not try changing 'a' to 'A'.

Could you please let me know how to solve the problem.

Thanks in advance.

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Raj,

I am not sure if this can help, but can you go to your RunTimeWorkbench and tell us what error/ status your JDBC receiver adapter is showing

In the case of a JDBC adapter, I have always found that the error shown by the JDBC adapter can help us locate the reason for the error.

Regards,

Bhavesh