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

Creating a Configuration

In order to start using the web server, you need to create a Configuration.

To create a new Configuration, perform the following tasks:

  1. Click Configuration tab .

  2. Click New button

The wizard guides you through the settings available for creating a Configuration. The following sections provide a description of the fields available in wizard pages:

Step 1 – Set Configuration Information

This wizard page allows you to set the generic information for the new configuration

Set the following parameters in the wizard page:

Step 2 — Create a Listener for the Configuration

This wizard page allows you to set the HTTP listener properties for the new Configuration

Set the following parameters in the wizard page:

Step 3 — Configure Java, CGI and SHTML

This wizard page allows you to configure properties related to Java/CGI and SHTML.

Set the following parameters in the wizard page:

Restore Configuration

From this section, you can restore the configuration that were deployed earlier.


Note –

You can only restore the last seven configuration.


ProcedureTo Restore the Configuration

  1. Click the Configuration tab

  2. Click the General sub tab > Restore sub tab

    Select the configuration from the configuration backups list.

  3. Click the Restore button

  4. Click the Deployment Pending Link on the top right of the Administration Console page to deploy the restored configuration

    A new popup window opens up.

  5. Click the Deploy button

Step 4 — Create an Instance

This wizard page allows you to create an instance for the new Configuration.

Set the following parameters in the wizard page:


Note –

Using CLI

For creating a configuration through CLI, execute the following command:


wadm> create-config --doc-root=[DOCROOT] --jdk-home=[JAVAHOME] 
--server-user=[SERVERUSER]  [--document-root=serverdocroot] [--platform=32|64] 
--http-port=port --server-name=servername CONFIGNAME

config1 is the name of the new configuration.

See CLI Reference, create-config(1).