Sun Java System Web Server 7.0 Update 6 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 the Configuration tab. .

  2. Click the 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 enables 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 enables 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 enables you to configure properties related to Java/CGI and SHTML.

Set the following parameters in the wizard page:

Restore Configuration

The following steps enable you to restore a configuration that was previously deployed.


Note –

You can only restore the last seven configurations.


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 pop-up windowappears.

  5. Click the Deploy button.

Step 4 — Create an Instance

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

Set the following parameters in the wizard page:


Note –

Using CLI

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