Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Disabling Apache Httpclient"
(New page: 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 [https://bugs.ecli...) |
m (Slewis.composent.com moved page Disabling Apache Httpclient to Disabling Apache Httpclient45: changing title) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | The default filetransfer provider may be changed from httpclient45 to the older httpclient4 provider by setting the following system property upon eclipse (or other app) startup: | |
<pre> | <pre> | ||
− | org.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer. | + | org.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient45 |
</pre> | </pre> | ||
Line 8: | Line 8: | ||
<pre> | <pre> | ||
− | eclipse -vmargs -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer. | + | eclipse -vmargs -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient45 |
</pre> | </pre> | ||
+ | |||
+ | This will disable the Apache HttpClient45 provider, and force using the apache httpclient 4 provider. | ||
+ | |||
+ | To disable both the httpclient45 and httpclient4 provider and used the JRE URLConnection provider: | ||
+ | |||
+ | <pre> | ||
+ | org.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient45,org.eclipse.ecf.provider.filetransfer.httpclient4 | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | In some proxy environments this will allow the downloads to succeed by using the URLConnection provider rather than the HttpClient4 provider. |
Revision as of 15:42, 16 May 2019
The default filetransfer provider may be changed from httpclient45 to the older httpclient4 provider by setting the following system property upon eclipse (or other app) startup:
org.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient45
For example, to set this property when starting Eclipse:
eclipse -vmargs -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient45
This will disable the Apache HttpClient45 provider, and force using the apache httpclient 4 provider.
To disable both the httpclient45 and httpclient4 provider and used the JRE URLConnection provider:
org.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient45,org.eclipse.ecf.provider.filetransfer.httpclient4
In some proxy environments this will allow the downloads to succeed by using the URLConnection provider rather than the HttpClient4 provider.