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: HC 4.0 GA: IllegalStateException
Date Thu, 19 Nov 2009 19:43:22 GMT
Natarajan_Valli@emc.com wrote:
> I just try to upgrade HC 3.x to HC4.0. Use ThreadSafeClientConnManager
> for connection management. Any idea to resolve/debug this issue? 
> 

(1) Upgrade to the latest 4.0.1 snapshot
https://repository.apache.org/content/repositories/snapshots/org/apache/httpcomponents/httpclient/4.0.1-SNAPSHOT/

(2) Produce a wire/context log of the session
http://hc.apache.org/httpcomponents-client/logging.html

Oleg

>  
> 
> Caused by: java.lang.IllegalStateException: Connection already open.
> 
>                 at
> org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:
> 135)
> 
>                 at
> org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledC
> onnAdapter.java:101)
> 
>                 at
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultReques
> tDirector.java:381)
> 
>                 at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClien
> t.java:641)
> 
>                 at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClien
> t.java:576)
> 
>                 at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClien
> t.java:554)
> 
>  
> 
> Thanks
> 
> Valliappan
> 
> 


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


Mime
View raw message