DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30514>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30514 HttpClient deadlocks under multithreaded access [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2004-08-06 22:36 ------- Hi Neil, This is because the connections are not being released. You must be sure to call method.releaseConnection() or fully read the response for all calls to HttpClient.executeMethod(). The following should fix the problem: try { // print out something so we know when there are active // threads System.out.print( "." ); m_client.executeMethod( httppost ); } catch ( Throwable t ) { } finally { httppost.releaseConnection(); } Mike --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]