Links

  • 1. Sogeti
  • 2. JBoss
  • 3. IBM
  • 4. Oracle
  • 5. SpringSource
  • 6. NL-JUG
  • 7. Java

Archives

Syndication  RSS 2.0

RSS 1.0
RSS 2.0

Bookmark this site

Add 'JCN Blog' site to delicious  Add 'JCN Blog' site to technorati  Add 'JCN Blog' site to digg  Add 'JCN Blog' site to dzone

Posted by Jan-Hendrik Kuperus at 9:49 on Thursday 13 August    Add 'Eclipse Galileo and NTLMv2 Proxies' site to delicious  Add 'Eclipse Galileo and NTLMv2 Proxies' site to technorati  Add 'Eclipse Galileo and NTLMv2 Proxies' site to digg  Add 'Eclipse Galileo and NTLMv2 Proxies' site to dzone

While configuring the newest installment of Eclipse, Eclipse 3.5 (Galileo), I ran into some proxy trouble. After setting the proxy-configuration, the ‘Install New Software…’ window would structurally say ‘No repository found on <location>’.

After some Googling and researching, it appears to be a problem with Eclipse’s underlying URL/Proxy handling library. This library is now Apache httpclient, which does not support NTLMv2 proxies. Luckily, there’s a workaround.

If you are behind an NTLMv2 proxy, you can force Eclipse to revert its URL/Proxy handling library to the old JRE URLConnection by adding these lines to your eclipse.ini file:

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.proxyPort=8080
-Dhttp.proxyHost=myproxy
-Dhttp.proxyUser=mydomain\myusername
-Dhttp.proxyPassword=mypassword
-Dhttp.nonProxyHosts=localhost|127.0.0.1

If your proxy does not require authentication, you can leave out the proxyUser and proxyPassword settings.

For more information, see http://wiki.eclipse.org/ECF_Filetransfer_Support_for_NTLMv2_Proxies.

–JH


© 2004 - 2008 Java Competence Network. All Rights Reserved.