Sun GlassFish Mobility Platform 1.1 Installation Guide

Configuring HTTP and HTTPS Proxies with the Sun GlassFish Enterprise Server Admin Console

On the JVM Options page in the Sun GlassFish Enterprise Server Admin Console, you can specify these options for the Java application launcher that runs the Enterprise Server. The following -D JVM options designate proxy properties that are specific to this Enterprise Server:

To set these JVM options:

  1. Start the Sun GlassFish Enterprise Server Admin Console.

  2. In tree component, expand the Configurations node and then the server-config node.

  3. Select JVM Settings.

  4. Click the JVM Options tab.

  5. Add the options:

    1. Click Add JVM Option.

    2. In the blank row that appears, type the information for the -Djava.http.proxyHost option in the Value field.

    3. Repeat steps a and b for the -Djava.http.proxyPort, -Djava.https.proxyHost, and -Djava.https.proxyPortoptions.

  6. Click Save.

  7. Restart the server.