cancel
Showing results for 
Search instead for 
Did you mean: 

Messages got stuck in Adapter engine

Former Member
0 Kudos

We are doing http to RFC sysnchronous scenario

Message got stuck in adapter engine.so we are getting 500 HTTP timeout error in Http client.

Please help us to find why messages got stuck in Adapter engine.

Below Adapter engine audit log message is pasted for your reference.

Audit Log message:

Time Stamp Status Description

26.09.2008 06:33:54 Success Message successfully received by messaging system. Profile: XI URL: http://devsap01:51000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER

26.09.2008 06:33:54 Success Using connection RFC_http://sap.com/xi/XI/System. Trying to put the message into the request queue.

26.09.2008 06:33:54 Success Message successfully put into the queue.

26.09.2008 06:33:54 Success The message was successfully retrieved from the request queue.

26.09.2008 06:33:54 Success The message status set to DLNG.

26.09.2008 06:33:54 Success Delivering to channel: RFC_out_Test

26.09.2008 06:33:54 Success MP: entering

26.09.2008 06:33:54 Success MP: processing local module localejbs/RfcAFBean

26.09.2008 06:33:54 Success RFC adapter received a synchronous message. Attempting to send sRFC for ZFTestRFC

26.09.2008 06:33:54 Success RFC adapter received a synchronous message. Attempting to send sRFC for J2EE_GUEST

ime Stamp Status Description

26.09.2008 06:56:15 Success MP: leaving

26.09.2008 06:56:15 Error Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.MessageExpiredException: Sync application request expired.. Setting message to status failed.

26.09.2008 06:56:15 Error The message status set to FAIL.

26.09.2008 06:56:15 Error Returning synchronous error message to calling application: com.sap.aii.af.ra.ms.api.MessageExpiredException: Sync application request expired..

Kindly advise us on this issue.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Though the successful response is being received from RFC, it was not able to deliver it successfully to HTTP.

I assume, you check with basis regarding any timeout or waiting time needs to be specified.

Try to increase the interval level.

Regards

Krish

Former Member
0 Kudos

Hi krish,

when i send a http request it got stuck in adapter engine with status "delivering" for some time....

We found that RFC got successfully executed in R/3 system but the synchronous message is not delivered to PI.since adapter engine message is having status "delivering"

after some time we got adapter engine message status as "cancelled with error"

Error is Message expired exception which you can see audit log message I have pasted in my previous post.

Meanwhile we also got HTTP timeout error in Http client.

Could you please tell me why it got stuck in Adapter engine with status "delivering" since RFC is executed successfully.

Why we are not getting synchronous message reply back to PI?

former_member240483
Contributor
0 Kudos

HI there,

is this happend for only one record or for all,

if one try to test with onemore because it seems some performance or connection problem.

Regards

PT

Former Member
0 Kudos

Hi,

It happens for only one interface.

we have similar Http to RFc synchronous scenarios which is working fine.

Whenever this particular Http to RFC is triggered it got stuck in Adpater engine with status "delivering".

Here this particular RFC takes 10.5 seconds for standalone execution.

We assume that problem lies while sending synchronous reply of RFC back to PI.Can I know why?

Kindly help us in solving this issue.

Is there any setting we need to maintain in receiver R/3?

Answers (3)

Answers (3)

SudhirT
Active Contributor
0 Kudos

Hi,

Goto SAP XI ADAPTER: RFC under services in VA and increase syncMessageDeliveryTimeoutMsec parameter and increase it to 900000.

Thanks!

SudhirT
Active Contributor
0 Kudos

Hi,

It seems your RFC is taking much time to execute. For now you can test by increasing the HTTP_Timeout to 1000 in RUNTIME property of the Integration engine --> specific configuration in Tcode SXMB_Admin and the XI AF Adapter timeout property under Services in Visual admin to 5 mins. Then try again if it process successfully, if yes then RFC execution time is the problem in your case.

Thanks!

Former Member
0 Kudos

Hi

It seems that RFC execution takes some more time.

But anyhow message in adapter engine is having status "delivering" , waiting for synchronous reply back from R/3 system.

I have increased HTTP_TIMEOUT in Sxmb_adm ,

I have applied note 807000.

I have increased value of HTTP provider in Visual admin to 5 minutes,still we didnt get synchronous reply back from R/3.

Is there anyother setting in RFC adapter that suits increased Rfc execution time.

Kindly provide us the solution.

Edited by: sasitharan on Sep 29, 2008 12:43 PM

dharamveer_gaur2
Active Contributor
0 Kudos

This is internal server error,check with Basis.also check HTTP port of your XI system.

use SAP Notes u2013 804124, 807000