On Sun, Jan 04, 2009 at 01:58:53AM +0200, Eugeny N Dzhurinsky wrote: > Hello! > > Everything looks good and the server is starting up well, I am able to connect > to the server and invoke the REST requests and they are working fine from the > Java client. > > But I've found if I connect to the server using telnet like this: > > #> telnet localhost 3000 > > the connection is being closed after 1 or 2 seconds. Looks like there is some > timeout for reading from a socket? I tried to debug the code and currently I > guess the problem is somewhere in the simple.http.connect.Connection class > from org.simpleframework.simple package. This package seems to be the > dependency of the com.noelios.restlet.ext.simple package.
Okay, I found the solution, may be that will help somebody - I removed the dependency of com.noelios.restlet.ext.simple from my project and everything works fine now - the connection is not closed even on slow links and requests are handled properly. Weird :) -- Eugene Dzhurinsky ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1002878
pgpfKhmnvBxwn.pgp
Description: PGP signature

