Skip to main content

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.

Jump to: navigation, search

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...)
 
Line 10: Line 10:
 
eclipse -vmargs -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
 
eclipse -vmargs -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
 
</pre>
 
</pre>
 +
 +
This will disable the Apache HttpClient provider, and force using the JRE URLConnection provider.

Revision as of 12:08, 12 May 2011

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.

Back to the top