Wednesday, May 14, 2014

WebLogic Domain Creation


This topic describes how to create a WebLogic domain by using the Configuration Wizard in graphical mode & console mode in Windows and Unix Machines

Domain Creation Types
You can create a WebLogic domain in following ways:
  • GUI Mode
  • Console Mode

Using WLST also you can create a domain.

GUI mode Domain Creation on Windows

Follow these steps to create a domain in gui mode on a Windows platform
Log in to the Windows system.
Go to the WL_HOME\common\bin directory that contains config.cmd file (which is used to launch the domain configuration wizard), where WL_HOME is the directory in which WebLogic Server is installed.
Double-click the config.cmd file to create a domain

GUI mode Domain Creation on Unix Machines

To start the graphical-mode installation process follow these steps.
Log in to the target UNIX system.
Go to the WL_HOME/common/bin directory that contains the installation program.
Launch the domain configuration wizard by executing the below command:

./config.sh

Example:

[mastshai@OEL bin]$ pwd
/u01/app/oracle/product/fmw/wlserver_10.3/common/bin
mastshai@OEL bin]$ ls -ltr config*
-rwxr-x---. 1 mastshai mastshai 2276 May 14 20:33 config.sh
-rwxr-x---. 1 mastshai mastshai 2124 May 14 20:33 config_builder.sh
[mastshai@OEL bin]$ ./config.sh

Note:
If you want to do GUI mode domain creation on Unix/Linux machines please ensure you have the VNC Server installed. You can use Xming or Cygwin softwares also.


Console Mode Domain Creation on Windows

Follow these steps to create a domain using console mode on a Windows platform
Log in to the Windows system.
Open a command prompt
Go to the directory WL_HOME\common\bin that contains the config.cmd file
Launch the domain creation wizard by executing the below command

config.cmd -mode=console

Console Mode Domain Creation on Unix Machines

To start the domain creation in console mode follow these steps.
Log in to the target UNIX system.
Go to the WL_HOME/common/bin directory that contains the config.sh
Launch the domain configuration wizard by executing the below command
./config.sh -mode=console

Example:
[mastshai@OEL bin]$ pwd
/u01/app/oracle/product/fmw/wlserver_10.3/common/bin
[mastshai@OEL bin]$ ./config.sh -mode=console