Troubleshooting
Problem
WSWS3228E exception occurs in WebService client (JAX-RPC) when invoking WebService call and WebService provider is taking more than default timeout (300 secs) to process the request.
Symptom
Following exception is observed in client side. The exception will be found in the SystemOut.log or as a SOAPFault message.
HttpOutboundC 1 WSWS3228E: Error: Exception: java.net.SocketTimeoutException: Async operation timed out
at
com.ibm.ws.tcp.channel.impl.AioTCPReadRequestContextImpl.processSyncRead
Request(AioTCPReadRequestContextImpl.java:157)
at
com.ibm.ws.tcp.channel.impl.TCPReadRequestContextImpl.read(TCPReadReques
tContextImpl.java:109)
at
com.ibm.ws.http.channel.outbound.impl.HttpOutboundServiceContextImpl.par
seResponseMessageSync(HttpOutboundServiceContextImpl.java:1625)
at
com.ibm.ws.http.channel.outbound.impl.HttpOutboundServiceContextImpl.rea
dSyncResponse(HttpOutboundServiceContextImpl.java:695)
at
com.ibm.ws.http.channel.outbound.impl.HttpOutboundServiceContextImpl.sta
rtResponseReadSync(HttpOutboundServiceContextImpl.java:1743)
at
com.ibm.ws.http.channel.outbound.impl.HttpOutboundServiceContextImpl.fin
ishRequestMessage(HttpOutboundServiceContextImpl.java:1163)
at
com.ibm.ws.webservices.engine.transport.http.HttpOutboundChannelConnecti
on.sendSOAPRequest(HttpOutboundChannelConnection.java:366)
at
com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSende
r.java:606)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWra
pper.java:262)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWra
pper.java:262)
at
com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine
.java:336)
at
com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.
java:936)
Cause
HTTP transport custom properties for JAX-RPC web services applications in Infocenter is not clear on how to set "timeout" and "write_timeout" properties as JVM custom properties or incorrectly documented.
For example refer to WebSphere Application Server V8.0 Infocenter:
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-base-dist&topic=rwbs_httptransportprop
Resolving The Problem
Set following JVM custom properties as required
For:
- "timeout" set custom property as com.ibm.ws.webservices.readTimeout
- "write_timeout" set custom property as com.ibm.ws.webservices.writeTimeout
The above property values are in seconds.
Note:
- Setting HTTP transport custom properties for JAX-RPC web services applications as JVM custom properties applies to all webservices application hosted on server.
- If your WebService implementation is JAX-WS then timeout and write_timeout are correct
Related Information
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21568332