Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 49865 invoked from network); 27 Apr 2007 07:58:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Apr 2007 07:58:39 -0000 Received: (qmail 39777 invoked by uid 500); 27 Apr 2007 07:58:37 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 39621 invoked by uid 500); 27 Apr 2007 07:58:36 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 39610 invoked by uid 99); 27 Apr 2007 07:58:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 00:58:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of Michele.Mazzucco@ncl.ac.uk designates 128.240.234.6 as permitted sender) Received: from [128.240.234.6] (HELO cheviot5.ncl.ac.uk) (128.240.234.6) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 00:58:28 -0700 Received: from [10.8.149.156] (eskdale.ncl.ac.uk [10.8.149.156]) by cheviot5.ncl.ac.uk (8.13.1/8.13.1) with ESMTP id l3R7w2Ag002534 for ; Fri, 27 Apr 2007 08:58:02 +0100 Subject: Re: Axis2 1.1.1 java.net.SocketTimeoutException: Read timed out From: Michele Mazzucco To: axis-user@ws.apache.org In-Reply-To: <000024E4A72C6041964952E2F4978D0C4FCB66@ord-mail.serena.com> References: <000024E4A72C6041964952E2F4978D0C4FCB66@ord-mail.serena.com> Content-Type: text/plain Organization: Newcastle University Date: Fri, 27 Apr 2007 08:57:39 +0100 Message-Id: <1177660659.18868.0.camel@eskdale.ncl.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 7bit X-Newcastle-MailScanner-Information: Please contact Postmaster@newcastle.ac.uk for more information X-Newcastle-MailScanner: Found to be clean X-Newcastle-MailScanner-MCPCheck: MCP-Clean, MCP-Checker (score=0, required 1) X-Newcastle-MailScanner-From: michele.mazzucco@ncl.ac.uk X-NCL-Spam-Status: No X-Virus-Checked: Checked by ClamAV on apache.org 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