Method createURLConnection in HTTPClientInvoker contains some error.
See code:
if(proxyHost == null)
| {
| // have found that the actual system property to be set can differ between
VMs,
| // so will try all the ones I know of.
| proxyHost = System.getProperty("http.proxyHost");
| if(proxyHost == null)
| {
| proxyHost = System.getProperty("proxyHost");
| }
|
| // since not set by metadata, need to check if proxy turned off by property
setting
| String proxyOnString = System.getProperty("http.proxySet");
| if(proxyOnString == null)
| {
| proxyOnString = System.getProperty("proxySet");
| }
| if(proxyOnString != null)
| {
| proxyOn = Boolean.getBoolean(proxyOnString);
| }
| }
|
First error is that while I specefied http.proxyHost java mashine aumatic hanldling proxy
request to server.
Second what is http.proxySet? I can't find mention abot this paremeter in Java. In
result you do request to the proxy and java handling it and use it's own request to
proxy, in result you ca't connect to the server.
In result you need forcing http.proxySet parameter to false.
And if you using own request via proxy you must test parameter http.nonProxyHosts.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011382#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...