axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sriram Vaidyanathan" <Sriram.Vaidyanat...@Copart.Com>
Subject RE: SocketTimeout exception occurs during Serviceclient.sendReceiveNonBlocking call
Date Wed, 22 Nov 2006 17:15:32 GMT
Yes, Thilina. Thanks that did the trick setting the timeout in options.

Thanks
Sriram

-----Original Message-----
From: Thilina Gunarathne [mailto:csethil@gmail.com]
Sent: Wednesday, November 22, 2006 5:06 AM
To: axis-user@ws.apache.org
Subject: Re: SocketTimeout exception occurs during Serviceclient.sendReceiveNonBlocking call

Hope you are using the sendRecieveNonBlocking without seperate listener..

Try increasing the time out value using the options.setTimeOutInMilliSeconds()..

~Thilina

On 11/22/06, Sriram Vaidyanathan <Sriram.Vaidyanathan@copart.com> wrote:
>
>
>
>
> Hi,
>
>     I am experiencing SocketTimeout exceptions during the
> serviceclient.sendRecieveNonBlocking call. This doesn't
> happen everytime but intermittently.
>
>     Is it related to some timeout value set at the server end ?
>
>
>
>     Any help on this would be appreciated.
>
>
>
> The full exception Stacktrace:
>
>
>
> 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:228)
>
>             at
> org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:819)
>
>             at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:351)
>
>             at
> org.apache.axis2.description.OutInAxisOperationClient$NonBlockingInvocationWorker.run(OutInAxisOperation.java:430)
>
>             at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>
>             at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>
>             at java.lang.Thread.run(Unknown Source)
>
> 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:332)
>
>             at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:207)
>
>             ... 6 more
>
>
>
>
>
> Thanks
>
> Sriram


--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

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

---------------------------------------------------------------------
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