Okay, thanks Would you modify that code on wiki with Client client = ClientProxy.getClient(greeter);
I will try setConnectionTimeout tomorrow. Regards, Alexey On Wed, Dec 3, 2008 at 6:26 PM, Daniel Kulp <[EMAIL PROTECTED]> wrote: > On Wednesday 03 December 2008 11:24:06 am Alexey Zavizionov wrote: >> Hello, thanks for reply >> >> There is a line >> Client client = ClientProxy.getClient(poltim); >> what is it "poltim" ? > > It's your client proxy object that implements your service interface. > > Dan > > >> >> Regards, >> Alexey >> >> On Wed, Nov 26, 2008 at 7:21 PM, Andi Abes <[EMAIL PROTECTED]> wrote: >> > To configure client side parameters in general, see >> > >> > http://cwiki.apache.org/CXF20DOC/client-http-transport-including-ssl-sup >> > port.html >> > >> > >> > The part you're looking for is the attribute ReceiveTimeout, which by >> > default is 60 seconds- it is specified in millis. Based on the schema >> > doc, a value of 0 should make the wait infinite. >> > >> > >> > Should look something like this (but I havent't tried it yet) >> > >> > <http-conf:conduit name="*.http-conduit"> >> > <http-conf:client ReceiveTimeout ="0"/> >> > >> > </http-conf:conduit> >> > >> > A. >> > >> >> -----Original Message----- >> >> From: Michael Ramnarine [mailto:[EMAIL PROTECTED] >> >> Sent: Wednesday, November 26, 2008 12:05 PM >> >> To: [email protected] >> >> Subject: RE: While debugging - SocketTimeoutException: Read timed out >> >> >> >> Pausing the reader thread helps this situation (in eclipse debug view >> > >> > / >> > >> >> call stack / right click on reader thread and pause it). >> >> >> >> If someone can explain how to configure the http connection to >> > >> > increase >> > >> >> the timeout, that would a bit more work, but would be even better. >> >> >> >> -Mike >> >> >> >> > -----Original Message----- >> >> > From: Alexey Zavizionov [mailto:[EMAIL PROTECTED] >> >> > Sent: Wednesday, November 26, 2008 11:55 AM >> >> > To: [email protected] >> >> > Subject: While debugging - SocketTimeoutException: Read timed out >> >> > >> >> > Hello, list >> >> > >> >> > When I use debugger I see timed out exception. >> >> > How can I fix it? >> >> > >> >> > 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.read1(BufferedInputStream.java:256) >> >> > at >> >> > java.io.BufferedInputStream.read(BufferedInputStream.java:313) >> >> > at >> >> > sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:659) >> >> > at >> > >> > sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:604) >> > >> >> > at >> > >> > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon >> > >> >> > nection.java:961) >> >> > at >> > >> > java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367 >> > >> >> > ) >> >> > at >> > >> > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleR >> > >> >> > esponse(HTTPConduit.java:1937) >> >> > at >> > >> > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(H >> > >> >> > TTPConduit.java:1865) >> >> > at >> > >> > org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:6 >> > >> >> > 6) >> >> > at >> > >> > org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:593) >> > >> >> > at >> > >> > org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndi >> > >> >> > ngInterceptor.handleMessage(MessageSenderInterceptor.java:62) >> >> > >> >> > >> >> > >> >> > >> >> > Regards, >> >> > Alexey > > > > -- > Daniel Kulp > [EMAIL PROTECTED] > http://dankulp.com/blog >
