[
https://issues.apache.org/jira/browse/HTTPCLIENT-769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Lindner updated HTTPCLIENT-769:
------------------------------------
Fix Version/s: (was: 4.0 Alpha 3)
Description:
I am seeing many of the same problems noted in HTTPCLIENT-741 using the latest
builds from the maven repo.
java.lang.IllegalStateException: Connection already open.
at
org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
at
org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
at
org.apache.http.impl.client.DefaultClientRequestDirector.execute(DefaultClientRequestDirector.java:308)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:501)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:456)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:422)
at
com.hi5.os.Hi5RemoteContentFetcher.fetch(Hi5RemoteContentFetcher.java:279)
was:
AbstractClientConnAdapter is currently prone to all sorts of concurrency
issues. (1) Access to internal state is not properry synchronized making the
class prone to race conditions. Presently none of the instance variables is
even declared volatile. (2) AbstractClientConnAdapter treats aborted connection
as one in an illegal state, which is not quite right.
Oleg
Environment:
jdk 1.6, linux SUSE 10
244833 2008-05-01 11:03 lib/httpclient-4.0-alpha4-20080427.214350-9.jar
168993 2008-05-01 11:03 lib/httpcore-4.0-beta2-20080408.115743-9.jar
176761 2008-05-01 11:03 lib/httpcore-nio-4.0-beta2-20080408.115743-9.jar
22040 2008-05-01 11:03 lib/httpmime-4.0-alpha4-20080427.214350-9.jar
Affects Version/s: (was: 4.0 Alpha 2)
4.0 Alpha 3
Updated with stacktrace and list of jars used.
> java.lang.IllegalStateException: Connection already open.
> ---------------------------------------------------------
>
> Key: HTTPCLIENT-769
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-769
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpConn
> Affects Versions: 4.0 Alpha 3
> Environment: jdk 1.6, linux SUSE 10
> 244833 2008-05-01 11:03 lib/httpclient-4.0-alpha4-20080427.214350-9.jar
> 168993 2008-05-01 11:03 lib/httpcore-4.0-beta2-20080408.115743-9.jar
> 176761 2008-05-01 11:03 lib/httpcore-nio-4.0-beta2-20080408.115743-9.jar
> 22040 2008-05-01 11:03 lib/httpmime-4.0-alpha4-20080427.214350-9.jar
> Reporter: Paul Lindner
> Priority: Critical
>
> I am seeing many of the same problems noted in HTTPCLIENT-741 using the
> latest builds from the maven repo.
> java.lang.IllegalStateException: Connection already open.
> at
> org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
> at
> org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
> at
> org.apache.http.impl.client.DefaultClientRequestDirector.execute(DefaultClientRequestDirector.java:308)
> at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:501)
> at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:456)
> at
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:422)
> at
> com.hi5.os.Hi5RemoteContentFetcher.fetch(Hi5RemoteContentFetcher.java:279)
--
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]