Thanks for prompt reply. I will try with version 4.0.1-SNAPSHOT. Is the
snapshot stable enough to use in production environment?

I initially tried to send the context log as an attachment but the mail
bounced back due to size limit. Is there alternate way to post log
files? I can try to send us zip file...

Thanks again
Valli

-----Original Message-----
From: Oleg Kalnichevski [mailto:[email protected]] 
Sent: Thursday, November 19, 2009 11:43 AM
To: HttpClient User Discussion
Subject: Re: HC 4.0 GA: IllegalStateException

[email protected] 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: [email protected]
For additional commands, e-mail: [email protected]



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

Reply via email to