[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski resolved HTTPCLIENT-954.
------------------------------------------

    Resolution: Invalid

http://hc.apache.org/httpcomponents-client-4.0.1/tutorial/html/connmgmt.html#d4e629

Please post questions to the user list. JIRA is for issue tracking.

Oleg


> 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