Support HTTP proxy servers for pax runner provisioning

Description

In my particular case, the whole company is using a proxy in order to access the internet. To be able to use pax runner, we require some sort of proxy support. In fact, we are using a ntlm authentication, so support of authentication would be perfect, but this is more of a nice to have feature compared to general proxy support.

something like:
-Dhttp.proxyHost=my.proxy.host -Dhttp.proxyPort=8080 would be perfect

Environment

any

Activity

Show:
M
July 31, 2009, 4:46 PM

Sorry, my fault! I didn't notice, that it is NOT implemented yet. With the JAVA_OPTS it works great. Thanks a lot for the help!

M
July 31, 2009, 4:53 PM

Concerning the question if it is worth implementing. I think so, because the problem with JAVA_OPTS is that it might be a problem setting them on systems, where you have several deployment environments (some behind a proxy, some not). There you always have to reset the parameters. With a command line add-on, you are able to create a configuration for each scenario and run them in parallel. Currently, for me the JAVA_OPTS solution will do, but in general I would prefer to have it as a command line parameter, but that's just my view. Anyway, thanks again for your help!

Alin Dreghiciu
August 2, 2009, 10:15 AM

You can set now via command line the http/https/ftp/sock properties (as in http://java.sun.com/javase/6/docs/technotes/guides/net/proxies.html).
However, using this properties while embedding can have side effects as I do not backup the original props in order to restore them.

Can you test them? You will have to do something like:

Alin Dreghiciu
August 2, 2009, 10:58 AM

I added documentation in wiki: http://wiki.ops4j.org//x/fQu4

Alin Dreghiciu
September 20, 2009, 10:52 AM

Released as part of 1.2.0

Assignee

Alin Dreghiciu

Reporter

M

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure