Sun Java System Portal Server 7.2 Administration Guide

Configuring Proxies

Proxies need to be configured for consumer and for web container XML files.

You can perform the following tasks:

ProcedureTo Configure Proxy for Consumers in Common Agent Container

  1. Run ./cacaoadm get-param java-flags.

  2. Copy the values and paste it to ./cacaoadm set-param java-flags.

  3. Now add the following to the command: -Dhttp.proxyHost=webcache.canada.sun.com -Dhttp.proxyPort=8080 -Dhttp.proxyUser=Proxyuser -Dhttp.proxyPassword=Password

  4. Press Enter.

  5. Restart the common agent container server.

ProcedureTo Configure Web Container XML file

  1. Edit the following file:

    vi /var/opt/SUNWappserver/domains/domain1/config/domain.xml

  2. Set the following JVM options:

    • Dhttp.proxyHost

    • Dhttp.proxyPort

    • Dhttp.proxyUser

    • Dhttp.proxyPassword