cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500

Former Member
0 Kudos

Hello,

I have following Synch. scenario.

RFC -


> XI -


> JDBC

Often I get following error.

<b>com.sap.aii.af.mp.module.ModuleException: call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500 : Timeout caused by: com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500 : Timeout</b>

The followingis the stacktrace.

Exception thrown [Tue Nov 20 10:02:00,354]:Exception thrown by application running in JCo Server

com.sap.aii.af.mp.module.ModuleException: call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500 : Timeout caused by: com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500 : Timeout

at com.sap.aii.af.rfc.afcommunication.ejb.RfcAFBean.process(RfcAFBean.java:335)

at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0_0.process(ModuleLocalLocalObjectImpl0_0.java:103)

at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:264)

at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0.process(ModuleProcessorLocalLocalObjectImpl0_0.java:103)

at com.sap.aii.af.rfc.afcommunication.to.impl.AbstractToAF.consumeAfterProduce(AbstractToAF.java:341)

at com.sap.aii.af.service.util.concurrent.AbstractProducerConsumer.consume(AbstractProducerConsumer.java:377)

at com.sap.aii.af.rfc.afcommunication.to.impl.ToAFDynamic.run(ToAFDynamic.java:131)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500 : Timeout

at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:150)

at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:848)

at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)

... 4 more

I looked at many threads and adjusted following time.

<b>ICM http time out to 60,000

RFC timeout to 300 secs

Integration Server http tiemout to 300 sec</b>

I still run into above Error. I wonder how to resolve this issue. I appreciate your help.

Thank you,

Balaji

Accepted Solutions (0)

Answers (2)

Answers (2)

agasthuri_doss
Active Contributor
0 Kudos

Hi,

>>XI -


> JDBC

Whethere the Receiver JDBC Adapter is in Batch mode. If not try with Batch Mode.

Regards

Agasthuri Doss

Former Member
0 Kudos

Agasthuri,

Thank you for the information, I am running SELECT, so I can't use batch mode.

Balaji

agasthuri_doss
Active Contributor
0 Kudos

Hi,

What is the value mentioned for the Parameter

--icm/conn_timeout and icm/keep_alive_timeout

Check this Blog.. Might help

/people/michal.krawczyk2/blog/2006/06/08/xi-timeouts-timeouts-timeouts

Regards

Agasthuri Doss

Former Member
0 Kudos

Agasthuri,

Thank you for the information. I already looked at Micahel's post. Currently we are using following values.

icm/conn_timeout = 180,000 (changed from default 5000)

icm/keep_alive_timeout = 60 (We could not cahnge this value)

Thank you,

Balaji

Former Member
0 Kudos

have a look at SAP Note 804124 and 807000

Thanx

Aamir

Former Member
0 Kudos

Amir,

Thank you for the information. I already looked at these SAP notes. SAPnotes 807000 has HttpIOException. After looking at stacktrace it is not HttpIOException. One thing <u><b>I noticed while processing request I get error immediately after 60 secs</b></u>. I am not sure what timeout is refering to 60 secs.

Thank you,

Balaji