Hi,, I was using Httpclient 3.1 for http connetcion in my project. Now i have upgraded HttpClient 3.1 to Httpclient 4.0.1.
The problem which i am facing with HttpClient 4.0.1 is that when I use same HttpClient object for multiple threads it is not working and causing the exception . "Invalid use of SingleClientConnManager: connection still allocated. Make sure to release the connection before allocating another one.Cause null" Cause java.lang.IllegalStateException: Invalid use of SingleClientConnManager: connection still allocated. Make sure to release the connection before allocating another one." If using same HttpClient object is not possible how can I use HttpClient object for mutiple connection in threading. If I create new Httpclient object for every connection,then also it is not working properly. Thanks & regards Rajkumari -- View this message in context: http://old.nabble.com/same-HttpClient-object-for-multiple-threads-it-is-not-working-and-causing-the-exception-tp28851451p28851451.html Sent from the HttpClient-User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
