on 01-06-2010 4:34 PM
Hello All
When SOAP communication channel is trying to post the message to WEBSERVICE it is getting read timeout exception.
This is synchronous call. When the message size is 2KB it is posted successfully, but the error is coming when it trying to post the 2MB message.
The error in the CC monitoring as below
SOAP: error occured: com.sap.engine.interfaces.messaging.api.exception.MessagingException:
java.net.SocketTimeoutException: Read timed out
Adapter Framework caught exception: java.net.SocketTimeoutException: Read timed out
Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.SocketTimeoutException: Read timed out. Setting message to status failed.
The WS was giving slow response
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
are you able to fix the issue ?
All you gotta do is go to CC, in Module tab, select "XI.Timeout" in parameter name and enter the value in milli seconds .
FYI the default time out is 5 mins (300000)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello all,
Already i have tried module parameter in the CC but that is not helped.
Thnese module parameters are used to If webservice is taking time to provide response.
But in my case the AF is not connected to webservice.
It seems to be timeout exception is occuring when the message is putting in af queue from IS.
com.sap.engine.interfaces.messaging.api.exception.MessagingException
Please check point no 2.2.7 of the doc:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747
you can try to increase xiadapter.inbound.timeout.default in NWA, Go to->Operation Management->Systems-> Start & Stop -> Java Services -> (Under Related Tasks) Java System Properties.
Otherwise copy paste MDT(Audit Logs) of your channel.
Changes are made as per 2.2.7 section of the document. Changed the parameter value to 10mins(6000000)But still no use
Time Stamp Type Description
2010-01-07 09:52:08 Information The message was successfully received by the messaging system. Protocol: XI URL: http://pmichsappiq26.app.pmi:8026/MessagingSystem/receive/AFW/XI Credential (User): PIIS_PIQ
2010-01-07 09:52:08 Information Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the request queue.
2010-01-07 09:52:08 Information Message successfully put into the queue.
2010-01-07 09:52:08 Information The message was successfully retrieved from the request queue.
2010-01-07 09:52:08 Information The message status was set to DLNG.
2010-01-07 09:52:08 Information Delivering to channel: CC_SOAP_Rcv
2010-01-07 09:52:08 Information SOAP: request message entering the adapter with user J2EE_GUEST
2010-01-07 10:02:10 Error SOAP: call failed: java.net.SocketTimeoutException: Read timed out
2010-01-07 10:02:10 Error SOAP: error occured: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.SocketTimeoutException: Read timed out
2010-01-07 10:02:10 Error Adapter Framework caught exception: java.net.SocketTimeoutException: Read timed out
2010-01-07 10:02:10 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.SocketTimeoutException: Read timed out. Setting message to status failed.
2010-01-07 10:02:10 Error The message status was set to FAIL.
Edited by: Rams on Jan 7, 2010 11:25 AM
As per audit log:
2010-01-07 09:52:08 Information SOAP: request message entering the adapter with user J2EE_GUEST
2010-01-07 10:02:10 Error SOAP: call failed: java.net.SocketTimeoutException: Read timed out
It is getting timed out after 600 secs, check if web service you are trying to connect through SOAP adapter is up or not.
when i am sending smaller size 1.5MB message to Webservice it is getting processed from PI. But failing for 2.5MB message.
The Audit log for success message is below. This message size is 1.5MB.
Time Stamp Type Description
2010-01-07 10:11:44 Information The message was successfully received by the messaging system. Protocol: XI URL: /MessagingSystem/receive/AFW/XI Credential (User): PIIS_PIQ
2010-01-07 10:11:44 Information Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the request queue.
2010-01-07 10:11:44 Information Message successfully put into the queue.
2010-01-07 10:11:44 Information The message was successfully retrieved from the request queue.
2010-01-07 10:11:44 Information The message status was set to DLNG.
2010-01-07 10:11:44 Information Delivering to channel: CC_SOAP_Rcv
2010-01-07 10:11:44 Information SOAP: request message entering the adapter with user J2EE_GUEST
2010-01-07 10:20:55 Information SOAP: completed the processing
2010-01-07 10:20:55 Information SOAP: continuing to response message 576b8330-fb76-11de-cbcf-00237da48188
2010-01-07 10:20:55 Information The message was successfully delivered to the application using connection SOAP_http://sap.com/xi/XI/System.
2010-01-07 10:20:55 Information The message status was set to DLVD.
Edited by: Rams on Jan 7, 2010 11:45 AM
Hi Mayank,
It took 12mins when I am directly processed 2.5MB message in the WS.
When I changed the parameter value to 20mins in PI
i got the below error.
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>
<SAP:P1>402</SAP:P1>
<SAP:P2>ICM_HTTP_TIMEOUT</SAP:P2>
<SAP:P3>(See attachment HTMLError for details)</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Error while receiving by HTTP (error code: 402, error text: ICM_HTTP_TIMEOUT) (See attachment HTMLError for details)</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
Edited by: Rams on Jan 7, 2010 4:03 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
Please check the link below to understand various timeout's in PI:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747
Thanks!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can increase time out in CC.
Refer to SAP Note 856597 for more details
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.