on 09-24-2015 12:38 PM
Hello Guys,
In simple synchronous proxy to soap I'm facing exception:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.SocketTimeoutException: Read timed out
It happens randomly (3 times per 100 requests). Normally response comes in 1 second. Messages are very small.
1. Service is available. Tried to test it with soapui using load testing. Every response (tried 200 requests) comes within seconds.
2. I increased XMBWS.Timeout to 3 minutes and HTTP_TIMEOUT of integration engine to 3 minutes.
Now exception is
com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message 55f56f4d-636c-0810-e100-8000c0a80a46(INBOUND) expired
or
com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.SocketException: Connection reset
3. I've spoken to network guys. No firewall issue or anything on their site.
Any clues?
I'm prety sure it might be network, but don't know how to convince network guys
Do you think running SOAPUI from PI server (UNIX) might provide some answers if this is a network issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To add more insight into subject:
I can see on the webservice provider side that my request reaches target system (I can see this in logs), but somehow response is not coming back (randomly).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Angel,
From my experience using soapui, very rarely happens that processing takes e.g. 20 seconds. Most cases is 1-2 seconds
Were you able to read the document I have provided? Anyway, try increasing the parameter quoted from the document:
Set property of Service "XPI Adapter: XI" within SAP NetWeaver Administrator xiadapter.inbound.timeout.default
Default: 180000 [ms]
Note If this parameter value is not increased to > 3 minutes then the messages will continue to timeout with the message expired exception.
In NWA, Go to->Operation Management->Systems-> Start & Stop -> Java Services -> (Under Related Tasks) Java System Properties.
Regards,
Mark
Can do that, but to be honest: It happens on dev system. At time of the execution no other interface is running. every soap request is triggered one after the other (no paralel, but sequence), hence problem still occurs.
I consider this rather as a network problem (session expires?), but our network guys are not able to identify it.
Hi Angel,
1. Service is available. Tried to test it with soapui using load testing. Every response (tried 200 requests) comes within seconds.
Have you tried to execute the tests in parallel to simulate your actual scenario?
http://www.soapui.org/Functional-Testing/structuring-and-running-tests.html
com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message 55f56f4d-636c-0810-e100-8000c0a80a46(INBOUND) expired
or
com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.SocketException: Connection reset
See 2.2.7 Messaging System Times Out on this document
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. Yep. Responses still quick in SOAPUI. To add more. On PI it happens sometimes even for single request.
2. Already went through this document. Not helpful in my case. Only option descibed is increasing
xiadapter.inbound.timeout.default, but why should i do this if response shouldn't take so much time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.