hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HTTPCLIENT-954) HttpClient 4.01 mutiple connection problem
Date Fri, 11 Jun 2010 10:26:13 GMT

     [ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message