Disabling Apache Httpclient -- fix eclipse proxy bug -- "proxy authentication required"


Disabling Apache Httpclient

Under some conditions, it seems that the Apache httpclient provider (which is used for p2/Eclipse update) spontaneously disconnects when retrieving files. An example is bug 344905. We're not currently sure if this is some problem with the JRE, or with Apache HttpClient, but in either case, it is possible to disable the HttpClient provider and have ECF use the JRE URLConnection-based provider instead. This is accomplished by setting this System property:

org.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient

For example, to set this property when starting Eclipse:

eclipse -vmargs -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient

This will disable the Apache HttpClient provider, and force using the JRE URLConnection provider.

Since release of Eclipse Kepler (4.3), the Apache HttpClient provider was renamed and disabling the HttpClient provider is accomplished by setting this System property:

org.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4

or by setting this property when starting Eclipse:

eclipse -vmargs -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4

Sourced from ==> https://wiki.eclipse.org/Disabling_Apache_Httpclient

阅读更多
上一篇PERL/UNIX/SHELL/LINUX/PROVER
下一篇[笔记]VMWare Workstation Pro 14 创建虚拟机 安装 CentOS6.9 克隆虚拟机 配置网卡 实现宿主机与虚拟机互通 虚拟机与虚拟机互通
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭