Hi Juergen We had similiar usecase of requiring the proxy setting through command lines. Unfortunately jvm level parameters do not work because as per i understand they are used by urlconnection object and http client directly makes a socket connection. What we did is to read this parameters through system properties and used it where httpclient was called. Hope this helps Amey
-----Original Message----- From: Juergen Pill [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 3:59 PM To: [email protected] Subject: Http client 3.0: Setting proxy via command line options Hello, is there a way to specify the proxy settings (host and port) via a command line setting similar to the sun way (or even via some property file) e.g.: -Dhttp.proxyHost=abcdef -Dhttp.proxyPort=1234 The proxy can be set programatically, but if this setting is missing, is there a way to specify itĀ from outside (or if present, even overwrite it). Best regards Juergen Pill --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
