Mike
On Wednesday, October 15, 2003, at 10:42 PM, Itai Brickner wrote:
Im not sure who is in charge, but I think someone should update the tutorial...
thanks, Itai --- Michael Becke <[EMAIL PROTECTED]> wrote:connectionManager.setConnectionStaleCheckingEnabled(true);Yep, that will do it. Having connectionStaleChecking disabled will lead to a few unreliable connections.
Mike
On Wednesday, October 15, 2003, at 01:20 PM, Itai Brickner wrote:
Hi Mike,added
I think the problem was actually solved once I
<http://jakarta.apache.org/commons/httpclient/logging.html>
does this makes sense?
thanks,
Itai --- Michael Becke <[EMAIL PROTECTED]> wrote:Hi Itai,
Could you be more specific about what you mean by reconnect? What exactly is happening? A stack trace and wire log
---------------------------------------------------------------------MultiTrhadHttpConnectionManger,would be helpful. Generally speaking HttpClient should handle creating, opening and closing all connections. You are only responsible for releasing the connection after each method execution.
Mike
On Tuesday, October 14, 2003, at 01:13 PM, Itai Brickner wrote:
I am using the Thefoo(MultiThreadedHttpConnectionManagerandI am not sure how to reconnect when I get HttpRecoverableExeception due to long idle time
this is the code im using
public voidsearchmanager) { GetMethod method; try { HttpClient con=new HttpClient(manager); method=new GetMethod(string); con.executeMethod(method); } catch (HttpRecoverableException e) { //I am not sure how to reconnect } finally { method.releaseConnection(); } }
thanks, Itai
__________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved producthttp://shopping.yahoo.com
[EMAIL PROTECTED]To unsubscribe, e-mail:
---------------------------------------------------------------------For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]To unsubscribe, e-mail:
---------------------------------------------------------------------searchFor additional commands, e-mail: [EMAIL PROTECTED]
__________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved producthttp://shopping.yahoo.com
[EMAIL PROTECTED]To unsubscribe, e-mail:
---------------------------------------------------------------------For additional commands, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail:[EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.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]