[ 
https://issues.apache.org/jira/browse/SOLR-12848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16667210#comment-16667210
 ] 

Shawn Heisey commented on SOLR-12848:
-------------------------------------

Once you've got the patch applied, exactly how to proceed will depend on what 
you want to do.  Typing "ant clean server" in the solr directory will create a 
runnable server (bin/solr start works).  Typing "ant clean package" will create 
binary packages just like those you can download from the Solr website, but 
will likely have -SNAPSHOT in the version name.


> SolrJ does not use HTTP proxy anymore
> -------------------------------------
>
>                 Key: SOLR-12848
>                 URL: https://issues.apache.org/jira/browse/SOLR-12848
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrJ
>    Affects Versions: 7.5
>            Reporter: Andreas Hubold
>            Priority: Major
>              Labels: httpclient
>         Attachments: SOLR-12848.patch, SOLR-12848.patch
>
>
> SolrJ's HttpSolrClient ignores the HTTP proxy configuration from system 
> properties http.proxyHost and http.proxyPort. This used to work with Solr 
> 6.6.5.
> Solr 6.6.5 used org.apache.http.impl.client.SystemDefaultHttpClient under the 
> hood, which took system properties for HTTP proxy config into account. The 
> deprecated SystemDefaultHttpClient class was replaced as part of SOLR-4509. 
> SolrJ now uses org.apache.http.impl.client.HttpClientBuilder#create to create 
> an HttpClient, but it does not call #useSystemProperties on the builder. 
> Because of that, the proxy configuration from system properties is ignored.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to