Basically i was just doing a bunch of google searching to figure out how to
get proxies working properly and stumbled across this. I was hoping not to
have to set java property settings as it would be easier to do it in my
code from a configuration file, but oh well. I guess there must be some
sort of weirdness to using these overrides, at least for my proxy.

I think that's ultimately down to the fact that the default HTTP "stack" (driver, in jclouds speak) is based on java.net, and system properties apparently are the only way to get in there.

You can also use the Apache HTTP Components driver [1], which supports setting of the proxies internally. I'm afraid I don't have a working example to hand right now, though :-( Perhaps someone else on the list can help out?

ap

[1] https://github.com/jclouds/jclouds/tree/master/drivers/apachehc

Reply via email to