Haha, yeah. Actually, my socket timeout wasn't happening because of the SO_TIMEOUT param, it was happening because of the Options.setTimeoutInMillis(...) timeout, which is defaulted at 30 seconds. So after setting this, everything was ok.
Roshan Punnoose Phone: 301-497-6039 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 16, 2007 5:18 PM To: axis-user@ws.apache.org Subject: Re: SocketTimeOutException What kind of web service method invocation do you use? Void or with some returning type? I experienced this problem only with void (so client was waiting for some background confirmation and timeout expired), in that case I guess there is no really working solution. Try adding parameter SO_TIMEOUT into the axis2.xml (but it won´t help). You can take a look at my (I guess two days old) post called "Any real solution to Socket Timeout" or something like this. You can also try to use calling with returning object (I used String which indicates success...) than you can just throw this object away.. I hope it helps. But I am sure that uninstallation of internet security tools is NOT a good solution :) ______________________________________________________________ > Od: [EMAIL PROTECTED] > Komu: axis-user@ws.apache.org, "Jernigan, TieSha" <[EMAIL PROTECTED]> > CC: axis-user@ws.apache.org > Datum: 16.01.2007 20:24 > Předmět: Re: SocketTimeOutException > >I had the same problem : >you can try to update timeout value in axis.xml. >But for me the problem was fixed to uninstall my security internet tools >(stopping firewall was not enough ...) > > > >Quoting "Jernigan, TieSha" <[EMAIL PROTECTED]>: > >> When running my Axis2 Client, after about 20-30 seconds I get the >> following exception. My system does not recover from this exception. I >> am assuming that when the exception occurs the socket gets closed, so I >> never get a response back from my server. Is there a way that I can >> increase the timeout? Or are there any other suggestions on how to fix >> the problem? >> >> >> >> ERROR espace.services.galelite.client.BaseWebServiceClient - Server >> responded with the Exception[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] >> >> [2007.01.16 at 13:35:01 EST] Server responded with the Exception[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] >> >> > > > >--------------------------------------------------------------------- >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]
BEGIN:VCARD VERSION:2.1 N:Punnoose;Roshan FN:Punnoose, Roshan ADR;WORK:;2115 LABEL;WORK:2115 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20050413T183207Z END:VCARD
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]