Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » p2 director behind a firewall / proxy does not work
p2 director behind a firewall / proxy does not work [message #557276] Mon, 06 September 2010 12:26 Go to next message
Bernhard Merkle is currently offline Bernhard Merkle
Messages: 88
Registered: July 2009
Member
Hi,

I am using p2 director.bat and buckminster headless.

Updating (or installing) buckminster headless on my home machine works fine, however within my company network we have a proxy / firewall. There p2 director.bat does NOT work.

I tried to pass
-Dhttp.proxyHost=http://user:password@firewall.mycompany.net
-Dhttp.proxyPort=80
both via the command line and also via the eclipse.ini file but both versions did not work.

How can I use director.bat within a corporate network with proxy ?

the versions i used are from [1]

thanks, Bernhard,

[1] http://www.eclipse.org/buckminster/downloads.html

[Updated on: Mon, 06 September 2010 12:28]

Report message to a moderator

Re: p2 director behind a firewall / proxy does not work [message #741222 is a reply to message #557276] Wed, 19 October 2011 10:02 Go to previous messageGo to next message
Nicolas Bros is currently offline Nicolas Bros
Messages: 49
Registered: July 2009
Member
I'm looking for an answer to this as well.
Re: p2 director behind a firewall / proxy does not work [message #741341 is a reply to message #741222] Wed, 19 October 2011 12:41 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2500
Registered: July 2009
Senior Member
On 10/19/11 12:02 PM, Nicolas Bros wrote:
> I'm looking for an answer to this as well.
I think Stephan's answer is the closest you will get...

- henrik
Re: p2 director behind a firewall / proxy does not work [message #741345 is a reply to message #741341] Wed, 19 October 2011 12:48 Go to previous messageGo to next message
Nicolas Bros is currently offline Nicolas Bros
Messages: 49
Registered: July 2009
Member
Henrik Lindberg wrote on Wed, 19 October 2011 14:41
I think Stephan's answer is the closest you will get...


I must have missed it. Where can I find his answer?
Re: p2 director behind a firewall / proxy does not work [message #741910 is a reply to message #741345] Thu, 20 October 2011 02:19 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de Alwis
Messages: 242
Registered: July 2009
Senior Member
I ended up disabling the http client transport and instead use the JVM's support. Combined with proxy-vole, I was able to support NTLMv2 as well s custom proxy.pac settings. See

http://wiki.eclipse.org/ECF_Filetransfer_Support_for_NTLMv2_Proxies
http://stackoverflow.com/questions/1499970/how-do-i-configure-proxy-settings-for-java-in-solaris/4877497#4877497
Re: p2 director behind a firewall / proxy does not work [message #742894 is a reply to message #741345] Thu, 20 October 2011 23:55 Go to previous message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2500
Registered: July 2009
Senior Member
On 10/19/11 2:48 PM, Nicolas Bros wrote:
> Henrik Lindberg wrote on Wed, 19 October 2011 14:41
>> I think Stephan's answer is the closest you will get...
>
>
> I must have missed it. Where can I find his answer?
>
Stephan posted:

Although this post isn't exactly new, I ran into the same
problem and still couldn't find an answer in the net, so I had to try
myself.
This is what I ended up doing:

Configure a proxy within the IDE, then
grab the file configuration/.settings/org.eclipse.core.net.prefs
and copy it into the corresponding location of the director
installation.

Seems to work as intended.
best,
Stephan
Previous Topic:can't update when using headless build
Next Topic:p2.inf tooling ?
Goto Forum:
  


Current Time: Tue Sep 23 10:36:00 GMT 2014

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

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