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-1463) Connection open error
Date Wed, 19 Feb 2014 12:17:21 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski resolved HTTPCLIENT-1463.
-------------------------------------------

    Resolution: Invalid

Android ships with an extremely outdated fork of HttpClient 4.0 BETA, which we as a project
have nothing to do with. Please report this issue to Google. 

Alternatively you could consider using HttpClient 4.3 port to Android [1]. I is however available
as a development snapshot only at the moment.

Oleg

[1] http://hc.apache.org/httpcomponents-client-4.3.x/android-port.html

> Connection open error
> ---------------------
>
>                 Key: HTTPCLIENT-1463
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1463
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.2.6
>         Environment: Android 4.0.3. I think it ships 4.1.1
>            Reporter: Saurav Sarkar
>            Priority: Critical
>              Labels: android, cmis
>
> In my Android client i connect to Open CMIS server and then to the corresponding repositories.
> I am not sure about the version of HTTPclient with Android 4.0.3
> I am trying to authenticate using X 509 certifcate. After the authentication i face the
issue on next http call. Below is the stack trace
> 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.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
> at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
> at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
> at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
> at org.apache.chemistry.opencmis.client.bindings.spi.http.AbstractApacheClientHttpInvoker.invoke(AbstractApacheClientHttpInvoker.java:256)
> at org.apache.chemistry.opencmis.client.bindings.spi.http.AbstractApacheClientHttpInvoker.invokeGET(AbstractApacheClientHttpInvoker.java:78)
> at org.apache.chemistry.opencmis.client.bindings.spi.browser.AbstractBrowserBindingService.read(AbstractBrowserBindingService.java:342)
> at org.apache.chemistry.opencmis.client.bindings.spi.browser.AbstractBrowserBindingService.getTypeDefinitionInternal(AbstractBrowserBindingService.java:454)
> at org.apache.chemistry.opencmis.client.bindings.spi.browser.ClientTypeCacheImpl.getTypeDefinition(ClientTypeCacheImpl.java:43)
> at org.apache.chemistry.opencmis.commons.impl.JSONConverter.convertSuccinctProperties(JSONConverter.java:2101)
> at org.apache.chemistry.opencmis.commons.impl.JSONConverter.convertObject(JSONConverter.java:1844)
> at org.apache.chemistry.opencmis.client.bindings.spi.browser.ObjectServiceImpl.getObject(ObjectServiceImpl.java:276)
> at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getObject(SessionImpl.java:500)
> Best Regards, Saurav



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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


Mime
View raw message