Sun Java System Web Server 7.0 Update 3 Administrator's Guide

ProcedureEnabling Java for Your Configuration

  1. Select the Configuration.

    Select the configuration from the configuration list. Click Configuration tab to get the list of available configurations.

  2. Click on Java > General tab.

  3. Click Enable Java check box.

    Turn on/off Java support for the configuration. Enabling Java allows the server to process Java applications.

  4. Set Java Home.

    Specify the location of the Java SE. Specify the absolute path or path relative to the server's config directory.

  5. Set Stick Attach.

    Specify whether the server attaches each HTTP request processing thread to the JVM only once (Otherwise the server attaches/detaches the HTTP request processing thread on each request).


    Note –

    Using CLI

    For enabling Java for a configuration, execute the following command.


    wadm> enable-java --user=admin --password-file=admin.pwd --host=serverhost 
    --port=8989 --config=config1

    See CLI Reference, enable-java(1).