title: How to set specify proxy for load server application in JVM & Jboss?
body: <p>I have a load server application which switches between two applications, App1 &amp; App2. Each App has its own IFrame which talks to a bank, but when the bank returns back data, the load server cannot distinguish which app was that. I investigated on that, then I found out that it is the proxy issue. </p>
  
  <p>As a result, I tried to force the application to use <code>proxyHost</code> &amp; <code>proxyport</code> but it did n't work, then I forced the Jboss to use the specific <code>proxyHost</code> &amp; <code>proxyport</code> but it did n't work either. It use a default proxy on the box and it does n't care about my configuration.</p>
  
  <p>Setting the <code>proxyHost</code> &amp; <code>proxyPort</code> at the Jboss startup script (<code>bin\run.bat</code>):
  the Jboss logs showed that it had accepted the java VM arguments (e.g. <code>-Dhttp.proxyHost=XX.XX.XX.XX -Dhttp.proxyPort=8080</code>), when we ran
  the application, it would still go through the default proxy settings on the box.</p>
  
  <p>I searched in google &amp; stackoverflow and tried different ideas but didn't work.
  Could someone please shed some light on it?</p>