7.4 Creating the WebLogic Server domain

To deploy applications on WebLogic Server, you must have a WebLogic Server domain. A domain is the basic administrative unit for WebLogic Server. Here are the two basic types of WebLogic Server domains:

Domain with Managed Servers (recommended): A production environment typically consists of an Administration Server with one or more Managed Servers. The Administration Server is used to perform management operations; the applications and resources are deployed to individual Managed Servers.

Standalone Server Domain: This type of domain can be used for development or test environments in which a single server instance acts as both Administration Server and Managed Server. This option is easier to manage and allows you to use the hot deploy feature in WebLogic on a development environment (not recommended).

Note: In production environments, Oracle recommends that you deploy applications only on Managed Servers in the domain; the Administration Server should be reserved for management tasks.

7.4.1 Create a WebLogic domain with Managed Server

  1. From a command prompt, start the WebLogic Configuration Wizard by navigating to the [appserver root] /common/bin directory and typing the appropriate command:

    • (Windows) config.cmd

    • (Linux and Solaris) ./config.sh

  2. On the Welcome screen, select Create a new WebLogic domain and click Next .

  3. On the Select Domain Source screen, select Generate a domain configured automatically to support the following products and click Next .

  4. On the Create WebLogic Domain screen, either accept the default values or enter the Domain name and Domain location as required, and then click Next .

  5. In the Configure Administrator Username and Password screen, type your WebLogic user name and password, confirm the password by retyping it, and then click Next . Record this user name and password because Configuration Manager will prompt you for them.

  6. In the WebLogic Domain Startup Mode panel, select Production Mode .

    Important: Using Development Mode is not recommended.
  7. In the right pane, navigate to the location of the JDK according to your operating system and then click Next :

    • (Windows, Linux) Location of Oracle JDK 1.6 or later. For example, C:\Program Files\Java\jdk1.7.0_21 (Windows) or /opt/Java/jdk1.7.0_21 (Linux)

    • (Solaris) Location of Oracle JDK 1.6 or later.

  8. On the Select Optional Configuration Screen, click Next .

  9. On the Configuration Summary Screen, click Create .

  10. On the Creating Domain screen, when the configuration creation is 100% complete, do the following tasks:

    • (Windows) Select Start Admin Server and click Done .

    • (Linux and Solaris) Click Done , and start the server by navigating from a command prompt to the [appserverdomain] and typing ./startWebLogic.sh

  11. (Windows, Linux, or Solaris) When prompted, enter the WebLogic user name and password that you entered in step 5.

Note: The Admin Server starts in the command prompt. Enter the user name and password in the command prompt.

// Ethnio survey code removed