Sun Java System Portal Server 7.2 Deployment Planning Guide

ProcedureTo Configure Usage of an HTTP Proxy for a Portal Server Instance

The following procedure describes how to configure an HTTP Proxy for a Portal Server instance on Sun Java System Web Server.

  1. Use the cd command to change to the web container data directory containing the configuration for the instance.

    cd webcontainer-install-root/SUNWwbsvr7/https-instance-name/config

    For example: /var/opt/SUNWwbsvr7/https-siroe.com/config

  2. Edit the server.xml file to add the following lines:


    <jvm-options>-Dhttp.proxyHost=proxy-host</jvm-options>

    <jvm-options>-Dhttp.proxyPort=proxy-port</jvm-options>

    <jvm-options>-Dhttp.nonProxyHosts=portal-host</jvm-options>

    Where proxy-host is the fully-qualified domain name of the proxy host, proxy-port is the port on which the proxy is run, and portal-host is the fully qualified domain name of the portal host.

  3. Restart the web container.