Skip navigation.
Downloads | Product Documentation | Support

Creating WebLogic Configurations Using the Configuration Wizard

# Starting the Configuration Wizard

This section describes how to invoke the Configuration Wizard in graphical, console (command-line), or silent interface modes. Topics include:

- Starting in Graphical Mode
- Starting in Console Mode
- Starting in Silent Mode

# Starting in Graphical Mode

When run in graphical mode, the Configuration Wizard is executed in a graphics environment. The console for the machine on which you install WebLogic Platform must support a Java-based GUI. All Windows-based consoles support Java-based GUIs; only a subset of UNIX-based consoles support Java-based GUIs.

Note: If you attempt to start the Configuration Wizard in graphical mode on a system that cannot support a graphical display, the Configuration Wizard automatically starts in console mode.

To start the Configuration Wizard in graphical mode on a Windows platform, choose the Configuration Wizard option from the BEA program group in the Windows Start Menu:

Start—> Programs—> BEA WebLogic Platform 8.1—> Configuration Wizard

To start the Configuration Wizard in graphical mode from a Windows command prompt or on a UNIX platform:

1. Log in to the target system on which the product installation resides.
2. Open an MS-DOS command prompt window (on Windows) or a command shell (on UNIX).
3. Go to the `\common\bin` subdirectory of the product installation directory. For example:

>     cd c:\bea\weblogic81\common\bin

4. Invoke one of the following scripts to start the Configuration Wizard in graphical mode:

- Windows: `config.cmd`
- UNIX: `sh config.sh`

Note: You can also start the Configuration Wizard in graphical mode using the QuickStart application. QuickStart is presented, by default, following an installation of the product software. To launch the Configuration Wizard from QuickStart, select Create a new domain configuration, or extend an existing one.

# Starting in Console Mode

When run in console mode, the Configuration Wizard is executed in a text-based environment.

To start the Configuration Wizard in console mode:

1. Log in to the target system on which the product installation resides.
2. Open a command-line shell.
3. Go to the `\common\bin` subdirectory of the product installation directory. For example:

>     cd c:\bea\weblogic81\common\bin

4. Invoke one of the following scripts:

- Windows: `config.cmd -mode=console`
- UNIX: `sh config.sh -mode=console`

To finish creating your domain, respond to the prompts in each section by entering the number associated with your choice, pressing Enter, or typing `next` (or `n`) to accept the current selection. The arrow (—> ) indicates the value currently selected. To quit the Configuration Wizard, enter `Exit` in response to any prompt. To review or change your selection, enter `Previous` at the prompt.

Note: Instead of typing complete words when you want to enter `[Exit]`, `[Previous]`, and `[Next]`, you can use the following one-letter shortcuts: `x`, `p`, and `n`, respectively.

# Starting in Silent Mode

When run in silent mode, the Configuration Wizard is executed as a noninteractive process.

Silent-mode configuration enables you to define the configuration information for a domain once and then duplicate that domain on multiple machines. In silent mode, the Configuration Wizard reads configuration settings from a script that you manually create prior to execution.

Before you can run the Configuration Wizard in silent mode, you must first create a script in which you define the settings usually entered manually by a user during graphical mode or console mode configuration. When running in silent mode, the Configuration Wizard queries the specified configuration script to obtain the configuration settings it needs. It does not prompt you to provide information in real time. For more information, see Creating a Script for Silent-Mode Configuration.

To start the Configuration Wizard in silent mode on a Windows or UNIX system, follow these steps:

1. Log in to the target system on which the product installation resides.
2. Create a configuration script, as described in Creating a Script for Silent-Mode Configuration.
3. Open an MS-DOS command prompt window (on Windows) or a command shell (on UNIX).
4. Go to the `\common\bin` subdirectory of the product installation directory. For example:

>     cd c:\bea\weblogic81\common\bin

5. Start the silent-mode configuration process using one of the following commands:

- Windows:
  `config.cmd -mode=silent [-silent_script=``scriptfile1;scriptfile2;...``] [-log`=`logfile``]`
- UNIX:
  `sh config.sh -mode=silent [-silent_script=``scriptfile1;scriptfile2;...``] [-log`=`logfile``]`

In both command lines:

- `scriptfile` specifies the full or relative path of the configuration script. You can specify multiple scripts, separated by a comma (`,`), or a semi-colon (`;`). White space between filenames is not allowed. The `-silent_script` argument is optional. If you specify multiple scripts and one of them is not found, an error message indicating the name of the script not found is generated. If no script file is specified, by default, the Configuration Wizard searches the `common\lib` subdirectory of the product installation directory for the file `configscript.txt`.
- `logfile` specifies the full or relative path of the log file. The `-log` argument is optional. If the argument is not specified, no log file is generated. If a pathname is not specified, the Configuration Wizard stores the log file within the `common\lib` subdirectory of the product installation directory.

Note: Incorrect entries in the configuration script can cause configuration failures. To help you determine the cause of a failure, you should generate a log file when you start the configuration.

The silent script is interpreted and executed at runtime. The domain is validated at various points during the execution.