hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Sharing the connection manager amongst client instances
Date Mon, 07 Apr 2014 21:14:41 GMT
On April 7, 2014 3:06:35 PM CEST, Jose Dillet <jose.dillet@gmail.com> wrote:
>In our application we have been sharing the connection manager amongst
>HttpClient instances successfully. Due to our desing we want to have
>than one HttpClient
>instance, but sharing the same underlying resources. This has been
>for HttpClient instances (see attached code SharedHttpClient for a
>with httpclient-4.2.3,
>and SharedHttpClient2 for a sample using httpclient-4.3.3
>When using async client, things were still working with
>httpasyncclient-4.0-beta3 (see SharedHttpAsyncClient) but does not work
>anymore with httpasyncclient-4.0.1 (see
>When I run SharedHttpAsyncClient2 I got this stack trace:
>15:23:10 ERROR - I/O reactor terminated abnormally
>java.lang.IllegalStateException: Illegal state ACTIVE
>    at org.apache.http.util.Asserts.check(Asserts.java:40)
>    at

It is a defect. Could you please raise a JIRA for it?


To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org

View raw message