HttpClient 4.01 mutiple connection problem
------------------------------------------

                 Key: HTTPCLIENT-954
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-954
             Project: HttpComponents HttpClient
          Issue Type: Question
          Components: HttpClient
    Affects Versions: 4.0.1
            Reporter: Aayushi Soni
             Fix For: 4.0.1


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.

reagrds
Aayushi Soni




     
      

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to