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

ProcedureEnabling Java for Your Configuration

  1. Click the Configuration tab to see the list of available configurations and select the configuration you need.

  2. Click Java > General tab.

  3. Select Enable Java check box.

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

  4. Set Java Home by specifying the location of Java SE.

    Specify the absolute path or path relative to the server's config directory.

  5. Set Stick Attach by specifying 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

    To enable 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).