RE: SocketTimeout exception occurs during Serviceclient.sendReceiveNonBlocking call

2006-11-22 Thread Sriram Vaidyanathan
Yes, Thilina. Thanks that did the trick setting the timeout in options.

Thanks
Sriram

-Original Message-
From: Thilina Gunarathne [mailto:[EMAIL PROTECTED]
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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SocketTimeout exception occurs during Serviceclient.sendReceiveNonBlocking call

2006-11-22 Thread Thilina Gunarathne

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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



SocketTimeout exception occurs during Serviceclient.sendReceiveNonBlocking call

2006-11-21 Thread Sriram Vaidyanathan
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