lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <>
Subject [jira] [Commented] (SOLR-4451) Upgrade to httpclient 4.2.x and take advantage of SystemDefaultHttpClient
Date Fri, 15 Feb 2013 19:51:13 GMT


Mark Miller commented on SOLR-4451:

Some tests run from eclipse now seem to fail after this. Is there a sys prop I need to pass
now or something? I seem to get:

{noformat}410 T11 oasc.SolrException.log SEVERE null:java.lang.NoSuchMethodError: org.apache.http.impl.conn.SchemeRegistryFactory.createSystemDefault()Lorg/apache/http/conn/scheme/SchemeRegistry;
		at org.apache.http.impl.client.SystemDefaultHttpClient.createClientConnectionManager(
		at org.apache.http.impl.client.AbstractHttpClient.getConnectionManager(
		at org.apache.solr.client.solrj.impl.HttpClientUtil.setMaxConnections(
		at org.apache.solr.client.solrj.impl.HttpClientConfigurer.configure(
		at org.apache.solr.client.solrj.impl.HttpClientUtil.configureClient(
		at org.apache.solr.client.solrj.impl.HttpClientUtil.createClient(
		at org.apache.solr.handler.component.HttpShardHandlerFactory.init(
		at org.apache.solr.core.CoreContainer.initShardHandler({noformat}
> Upgrade to httpclient 4.2.x and take advantage of SystemDefaultHttpClient
> -------------------------------------------------------------------------
>                 Key: SOLR-4451
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 4.2, 5.0
>         Attachments: SOLR-4451.patch
> HttpComponent is up to version 4.2, and included in 4.2 is a new subclass of DefaultHttpClient
named SystemDefaultHttpClient, which automatically configures itself using the "standard"
java system properties...
> ...i think we should upgrade and start using this new class in place of DefaultHttpClient,
so that SolrJ clients (and implicitly SolrCloud) can automaticly leverage system properties
users may expect to work.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message