Default language.

Configuring AR System server for a proxy server


If you will be using web services with a proxy server, perform the procedures in this topic. If you want to consume web services over SSL or with client certificates, see Configuring-to-consume-over-SSL-or-with-client-certificates.

To configure  for use with a proxy server

  1. Verify that  is not running.
  2. Open the devstudio.ini file located in the ARSystemInstallDir\DevStudio directory in a text editor.
  3. Add the following lines to the file:
    • For HTTP protocols:
      -Dhttp.proxySet=true
      -Dhttp.proxyHost=<hostName>
      -Dhttp.proxyPort=<portNumber>
    • For other protocols:
      -DproxySet=true
      -DproxyHost=<hostName>
      -DproxyPort=<portNumber>
  4. Save and close the devstudio.ini file.

To configure the  to consume an external web service for use with a proxy server

  1. Stop the .
  2. Open the arserver.config (arserverd.config) file in a text editor. The default locations are:
    • UNIX — ARSystemServerInstallDir/bin
    • Windows — ARSystemServerInstallDir
  3. Add the following proxy information next to the last jvm option:
    • For HTTP protocols:
      jvm.option.<next_no1>=-Dhttp.proxySet=true
      jvm.option.<next_no2>=-Dhttp.proxyHost=<hostName>
      jvm.option.<next_no3>=-Dhttp.proxyPort=<portNumber>
      jvm.option.<next_no4>=-Dhttp.proxyUser=<userName>
      jvm.option.<next_no5>=-Dhttp.proxyPassword=<password>
      jvm.option.<next_no6>=-Dhttp.nonProxyHosts="<hostName>|<hostName>|..."

    • For other protocols:

      jvm.option.<next_no1>=-DproxySet=true

      jvm.option.<next_no2>=-DproxyHost=<hostName>

      jvm.option.<next_no3>=-DproxyPort=<portNumber>

      For example:

      If your arserver.config (arserverd.config) has jvm.option.19 as last the jvm option, you have to add following for HTTP protocol:

      jvm.option.20=-Dhttp.proxySet=true
      jvm.option.21=-Dhttp.proxyHost=<hostName>
      jvm.option.22=-Dhttp.proxyPort=<portNumber>
      jvm.option.23=-Dhttp.proxyUser=<userName>
      jvm.option.24=-Dhttp.proxyPassword=<password>
      jvm.option.25=-Dhttp.nonProxyHosts="<hostName>|<hostName>|..."
  4. Save and close the arserver.config (arserverd.config) file.
  5. Restart the .

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*