1 Reply Latest reply on Oct 18, 2016 11:04 AM by adeviers

    Running Remote Naming client via a proxy server

    WarnerJan Veldhuis Newbie

      I have a Swing application that uses remote naming, i.e. http-remote://<servername>:<port> as Context.PROVIDER_URL. Now I want this client to use the proxy specified by -Dhttp.proxyHost and -Dhttp.proxyPort. Apparently, these settings are ignored by the remoting-client. Which property do I need to add to the InitialContext so the remoting-client becomes proxy-aware?


      This is a similar question as this one: Re: JNDI and EJB over *Proxied* HTTP. How? The answer there does not work. Adding these properties to the JVM does not work for the remoting client. The Apache HttpClient *does* respond and work with these settings, so it's all configured properly.