3 Creating a WebLogic Domain

This chapter describes the procedure to create a WebLogic domain by using the Configuration Wizard in graphical mode.

  1. Start the Configuration Wizard as described in Section 2.1, "Starting the Configuration Wizard in Graphical Mode."

    The Welcome screen is displayed.

  2. Select Create a new WebLogic domain and click Next.

    The Select Domain Source screen is displayed.

  3. Select one of the following options:

    • Generate a domain configured automatically to support the following products:

      The WebLogic Server option is selected, by default.

      Select the check boxes corresponding to the other products to include in the domain.

    • Base this domain on an existing template

      Select this option to create a domain by using an existing domain template. For information about domain templates, see WebLogic Server Domain Template Reference.

      Enter the full path to the template in the Template location field, or click Browse to navigate to the directory containing the required template.

    Click Next.

    The Specify Domain Name and Location screen is displayed.

  4. Enter the name of the domain and specify the domain location.

    • Domain names must not start with a number. This restriction is intended to prevent potential conflicts with internally-generated JDBC store table names, which must begin with a letter.

    • The domain directory can be located anywhere in the system. By default, it resides in MW_HOME\user_projects\domains\domain, where MW_HOME is the directory that contains the product installation, and domain is the name of the domain directory defined by the selected template.

      The Configuration Wizard stores the config.xml file and all other generated components in the domain directory that you specify.

    Click Next.

    The Configure Administrator User Name and Password screen is displayed.

  5. Configure the username and password for the administrator. The username is used to boot the administration server and connect to it.

    • The user name must not contain commas, tabs, or any of the following characters: <>#|&?(){}.

    • The password is case sensitive, and must contain at least eight alphanumeric characters, with at least one numeral or one of the following characters: !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~

    Click Next.

    The Configure Server Start Mode and JDK screen is displayed.

  6. Select the WebLogic domain startup mode.

    • In the development mode, the configuration of security is relatively relaxed, allowing you to autodeploy applications.

    • In the production mode, the configuration of security is stringent, requiring a user name and password to deploy applications. Before putting a domain into production, familiarize yourself with the securing the production environment. For more information, see Securing a Production Environment.

    For information about changing the run-time mode after you have created a domain, see the WebLogic Server Administration Console Online Help.

    Table 3-1 provides information to help you select a startup mode that suits your requirements.

    Table 3-1 Differences Between Development Mode and Production Mode

    Function Development mode Production mode


    You can use the demonstration digital certificates and the demonstration keystores provided by the WebLogic Server security services. With these certificates, you can design your application to work within environments secured by SSL.

    For more information, see Securing Oracle WebLogic Server.

    You must not use the demonstration digital certificates and the demonstration keystores. If you do so, a warning message is displayed.

    Deploying applications

    WebLogic Server instances can deploy and update applications that reside in the domain_name/autodeploy directory automatically.

    It is recommended that this method be used only in a single-server development environment.

    For more information, see Deploying Applications to WebLogic Server.

    The auto-deployment feature is disabled; so, you must use the WebLogic Server administration console, the weblogic.Deployer tool, or the WebLogic Scripting Tool.

    Log file rotation

    By default, when you start the WebLogic Server instance, the server automatically renames (rotates) its local server log file as SERVER-NAME.log.n. For the remainder of the server session, messages accumulate in the log file until the file grows to a size of 500 kilobytes.

    For more information, see the "Rotate Log Files" topic in the WebLogic Server Administration Console Online Help.

    The server rotates the local log file after the size of the file reaches 5000 kilobytes.

    When the server is configured for production mode, by default, all versions of the log files are kept. Administrators may want to customize the number of log files retained.

    JDBC system resource

    The default capacity is 15 connections.

    The default capacity is 25 connections.

  7. Select the JDK.

    In the JDK Selection pane, select the JDK for the startup mode that you selected in the WebLogic Domain Startup Mode pane.

    The Configuration Wizard presents a list of the JDKs included in the installer. You can choose one of these JDKs or another JDK that you have installed on your system.


    If you select a JDK that is included in the installer, the Configuration Wizard creates server startup scripts to invoke the JDK. If you select a JDK that is not supplied by JDK, the Configuration Wizard does not configure the startup scripts; you must change the startup scripts manually.

    Select only those JDKs that are supported on the platform you are using. For a list of the JDKs that are supported for a specific platform, see Oracle Fusion Middleware Supported System Configurations at http://www.oracle.com/technology/software/products/ias/files/fusion_certification.html. The default selection reflects the JDK that best meets the requirements of your environment, based on the platform on which you are installing the domain.

  8. After selecting the JDK, click Next.

    • If the domain includes components that require JDBC data sources, the Configure JDBC Data Source screen is displayed.

      For more information, see Section 5.1, "Configure JDBC Data Sources."

    • If the domain includes components (such as, SOA) that require the use of the Oracle Fusion Middleware Repository Creation Utility (RCU) to load database schemas, the Configure JDBC Component Schema screen is displayed.

      For more information, see Section 5.5, "Configure JDBC Component Schema."

    If the domain that you are creating does not include any component that requires JDBC data sources or RCU-loaded database schemas, the Select Advanced Configuration screen is displayed.

  9. While creating the domain, you can perform certain advanced configuration tasks, such as modifying settings for the administration server; configuring the distribution of your domain across servers, clusters, and machines; configuring JMS file stores; and configuring RDBMS security store settings.

    In the Select Advanced Configuration screen, select the appropriate check boxes depending on the configuration tasks to perform, and click Next. For more information about advanced configuration options, see Chapter 4, "Customizing the Domain Environment."

    If you click Next without selecting any advanced configuration option, the Configuration Summary screen is displayed.

  10. Review the configuration settings of your domain before the Configuration Wizard creates the domain.

    Select an item in the Domain Summary pane on the left and review the associated details in the Details pane on the right. You can make limited adjustments by clicking Previous to return to a previous screen.


    You can limit the type of information displayed in the Domain Summary pane by selecting a filter from the Summary View drop-down list.
  11. After reviewing the domain settings, click Create.

    The Creating Domain screen is displayed. It displays messages indicating the progress of the domain creation process.

    When the process is complete, the new domain is ready for use.

  12. To start the administration server immediately, select the Start Admin Server check box. This option is available only for Windows systems.

  13. Click Done.