My Oracle Support Banner

HTTP timeout properties not working for cross-composite SOAP calls (Doc ID 2783000.1)

Last updated on JUNE 08, 2021

Applies to:

SOA Suite Cloud Service - Version 12.1.3.0 and later
Information in this document applies to any platform.

Symptoms

After setting the following HTTP related timeout properties:

-Dweblogic.http.client.defaultReadTimeout=[XXX]
-Dweblogic.http.client.defaultConnectTimeout=[XXX]
-DHTTPClient.socket.readTimeout=[XXX]
-DHTTPClient.socket.connectionTimeout=[XXX]

(where [XXX] is the timeout value in milliseconds)

it was found that SOA to SOA cross-composite SOAP calls were not honoring the configured HTTP timeout values.

Instead timeouts were still happening after the default timeout period :-

Unable to invoke endpoint URI "https://hostname:9074/soa-infra/services/EE/Prj_TestTimeouts/bpelprocess_templateplTimeoutt_ep" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Read timed out
at oracle.integration.platform.blocks.soap.AbstractWebServiceBindingComponent.dispatchRequest(AbstractWebServiceBindingComponent.java:710)
at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.processOutboundMessage(WebServiceExternalBindingComponent.java:401)
at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.sendSOAPMessage(WebServiceExternalBindingComponent.java:1609)
at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.request(WebServiceExternalBindingComponent.java:1052)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:151)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:217)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:285)
at sun.reflect.GeneratedMethodAccessor2031.invoke(Unknown Source)
.
.
.
Caused by: javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Read timed out
at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:1450)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:238)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:109)
at oracle.integration.platform.blocks.soap.AbstractWebServiceBindingComponent.dispatchRequest(AbstractWebServiceBindingComponent.java:646)
... 58 more
Caused by: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Read timed out
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:347)
at oracle.j2ee.ws.common.transport.HttpTransport.transmit(HttpTransport.java:75)
at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:57)
at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:105)
at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:60)
at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:259)
at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:93)
at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:1383)
... 61 more
Caused by: javax.xml.soap.SOAPException: Message send failed: Read timed out
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post2(HttpSOAPConnection.java:700)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$PrivilegedPost.run(HttpSOAPConnection.java:1511)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:345)
... 68 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:933)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
at HTTPClient.BufferedInputStream.fillBuff(BufferedInputStream.java:206)
at HTTPClient.BufferedInputStream.read(BufferedInputStream.java:126)



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.