Creating WebLogic Configurations Using the Configuration Wizard
This section describes how to invoke the Configuration Wizard in graphical, console (command-line), or silent interface modes. Topics include:
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:
To start the Configuration Wizard in graphical mode from a Windows command prompt or on a UNIX platform:
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.
When run in console mode, the Configuration Wizard is executed in a text-based environment.
To start the Configuration Wizard in console mode:
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 (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.
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:
cd c:\bea\weblogic81\common\bin
config.cmd -mode=silent [-silent_script=
scriptfile1;scriptfile2;...
] [-log
=logfile
]
sh config.sh -mode=silent [-silent_script=
scriptfile1;scriptfile2;...
] [-log
=logfile
]
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. The silent script is interpreted and executed at runtime. The domain is validated at various points during the execution.