axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele Mazzucco <Michele.Mazzu...@ncl.ac.uk>
Subject Re: Axis2 1.1.1 java.net.SocketTimeoutException: Read timed out
Date Fri, 27 Apr 2007 07:57:39 GMT
Try options.setTimeOutInMilliSeconds()


Michele

On Thu, 2007-04-26 at 17:15 -0700, Ninad Agate wrote:
> I am using axis2 1.1.1 release. In my code I call
> org.apache.axis2.client.ServiceClient.sendReceive(elem). It throws
> following timeout exception after ~40 seconds. I have
> set  HTTPConstants.SO_TIMEOUT and HTTPConstants.CONNECTION_TIMEOUT
> properties to 5 minutes. Has anyone run into this issue? Are there any
> other timeout properties that I ned to set.
> 
> Thanks.
> 
> - Ninad
> 
> java.net.SocketTimeoutException: Read timed out; nested exception is: 
> 
> org.apache.axis2.AxisFault: Read timed out; nested exception is: 
> 
> java.net.SocketTimeoutException: Read timed out, . ., ITSVMsg.6, ,
> org.apache.axis2.AxisFault: Read timed out; nested exception is: 
> 
> java.net.SocketTimeoutException: Read timed out; nested exception is: 
> 
> org.apache.axis2.AxisFault: Read timed out; nested exception is: 
> 
> java.net.SocketTimeoutException: Read timed out
> 
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:227)
> 
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:674)
> 
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:237)
> 
> at
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)
> 
> at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:579)
> 
> at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508
> 
> ...
> 
> Caused by: org.apache.axis2.AxisFault: Read timed out; nested
> exception is: 
> 
> java.net.SocketTimeoutException: Read timed out
> 
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:344)
> 
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:204)
> 
> ... 28 more
> 
> Caused by: java.net.SocketTimeoutException: Read timed out
> 
> at java.net.SocketInputStream.socketRead0(Native Method)
> 
> at java.net.SocketInputStream.read(SocketInputStream.java:129)
> 
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
> 
> at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
> 
> at
> org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
> 
> at
> org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
> 
> at
> org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
> 
> at
> org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
> 
> at
> org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
> 
> at
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
> 
> at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
> 
> at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
> 
> at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
> 
> at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
> 
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:541)
> 
> at
> org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:119)
> 
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:335)
> 
> ... 29 more
> 
> ********************************************************************** 
> 
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the intended recipient,
> please contact the sender by reply e-mail and destroy all copies of
> the original message.  
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message