If someone reads this in the future: in order for the ClientResource to actually use the JVM args you must include in your JSE client the following optional jars:
org.restler.ext.httpclient.jar org.apache.httpcore.jar org.apache.httpclient.jar Thanks, Chen. On Wed, Apr 14, 2010 at 02:55, Chen Bekor <[email protected]> wrote: > Forget that - it is working fine by setting the JVM args as suggested > below. Must have been my fault somewhere. > > > On Tue, Apr 13, 2010 at 18:27, Chen Bekor <[email protected]> wrote: > >> hi, >> >> When running a simple test client using the >> org.restlet.resource.ClientResource class I would like to set a proxy server >> and a port. >> >> There are some old discussions and resolved bugs related to that but I >> think that this is not related to ClientResource but rather to the Apache >> HTTP Client extension. >> >> Trying to do that through JVM args (http.proxyHost , http.proxyPort etc) >> does not seem to take affect. >> >> Thanks, >> >> Chen. >> > > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2584811

