On Tue, 2007-12-04 at 17:53 +0100, Sébastien Geindre wrote:
> hi all,
>
> i have a pb with socket established by httpclient.
> they fall down after 10 seconds !
>
> PostMethod post = new PostMethod("http://.....");
> post.getParams().setSoTimeout(new Integer(150000));
>
> 2007-12-04 17:40:38,780 main TRACE methods.EntityEnclosingMethod - enter
> EntityEnclosingMethod.hasRequestContent()
> 2007-12-04 17:40:38,780 main TRACE httpclient.HttpConnection - enter
> HttpConnection.getRequestOutputStream()
> 2007-12-04 *17:40:48*,807 main DEBUG httpclient.HttpMethodDirector -
> Closing the connection.
> 2007-12-04 17:40:48,807 main TRACE httpclient.HttpConnection - enter
> HttpConnection.close()
> 2007-12-04 17:40:48,807 main TRACE httpclient.HttpConnection - enter
> HttpConnection.closeSockedAndStreams()
> 2007-12-04 17:40:48,808 main DEBUG transformer.WFSProxyHttpClient -
> HttpMethodRetryHandler Exception : Broken pipe
>
'Broken pipe' usually meant the other side (the target host in your case
or a proxy in between) terminated the connection.
Oleg
>
> 10 second after the first write on the socket, it fall down.
>
>
> any idea ???
>
> The server needs more than 10 seconds to process the service...I know
> it's too long...
> thanks
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]