My company has firewall setting. So I am trying to set the proxy manually using:
System.getProperties().put
("proxySet
", "true");
System.getProperties().put
("proxyHos
t", "someproxy.com/....");
System.getProperties().put
("proxyPor
t", "8080");
System.getProperties().put
("socksPro
xySet","tr
ue");
System.getProperties().put
("socksPro
xyHost","s
omeproxy.c
om/...");
System.getProperties().put
("socksPro
xyPort","8
080");
But the someproxy is what I am not sure of. I tried to look up the proxy from my browsers but both are configured to select Automatic Proxy configuration from a url which includes a port number and few paramaters (
http://someProxycom:8080/array.dll?Get.Routing.Script)
. I tried to hit the proxy in a browser and it returns me a .DLL file.
Please if you know let me know how to get around this issue as my URL connection fails inspite of using the proxy.
Error:
java.security.PrivilegedAc
tionExcept
ion: java.net.UnknownHostExcept
ion:
http://someProxycom:8080/array.dll?Get.Routing.ScriptStart Free Trial