Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » P2 dev » P2 fails to connect through proxy server
P2 fails to connect through proxy server [message #516497] Wed, 24 February 2010 09:02
Mr. H is currently offline Mr. HFriend
Messages: 1
Registered: February 2010
Junior Member
I'm using p2 to update my RCP-application. This works fine, unless I let p2 connect through a proxy. I tried several ways of implementation to use proxy configuration (Properties, ProxySelector, Command-Line args, ...), but everything fails. The same software uses proxy connections in several other parts, which works.

While trying to connect, p2 throws an java.net.SocketException in org.apache.commons.httpClient.HttpMethodDirector.executeWith . This changes when I use an own implementation of ProxySelector. Then the application states that the type HTTP for proxy is unknown to httpclient.

The update is an autoupdate which starts before the application loads (in preStartup()). I'm using Eclipse 3.5.1.R35.

How can I set the proxy correctly? The same problem occurs if I use a network-configuration in eclipse and try to fetch update-sites. If I change the proxy settings to use native as active provider, the fetching works. Please help, this problem is driving me insane.
Previous Topic:NPE when accessing Update-site
Next Topic:IInstallableUnits contained in a Profile do not seem to carry over IRequiredCapabilities
Goto Forum:
  


Current Time: Sat Dec 20 07:25:34 GMT 2014

Powered by FUDForum. Page generated in 0.21876 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software