3.3 Creating a WebLogic domain

You must create your WebLogic domain and also manually configure a time-out setting for the domain. You can optionally create a boot.properties file.

To create a WebLogic domain:

  1. Log on to a computer on which you installed WebLogic Server as a user with administrator privileges.

  2. From a command prompt, navigate to the directory [appserver root]/common/bin and start the WebLogic Configuration Wizard by entering the following command:

    • (Windows) config.cmd

    • (Linux, UNIX) ./config.sh

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

  4. Select Generate a domain configured automatically to support the following products and click Next.

  5. Enter a domain name.

    Note: The domain should be created with the same name on all cluster nodes. All computers in the cluster must use the same domain name. For this document, this defined domain name appears as [domain name].
  6. Enter a user name and password, confirm the password by retyping it, and then click Next.

  7. In the left pane, select Production Mode.

  8. In the right pane, select Available JDKs and the appropriate platform, and then click Next:

    • (Solaris) Sun SDK.

    • (All other platforms) JRockit SDK.

  9. In the Select Optional Configuration Screen, do not select any option.

  10. On the Configuration Summary screen, click Create.

  11. Open a text editor and enter the following lines:

    username=[username from weblogic install] 
    password=[password from weblogic install]
  12. Save the text file as [WL_HOME]/user_projects/domains/[domain name]/servers/AdminServer/security/boot.properties.

    Note: For more information, go to this site:
  13. On the Creating Domain screen, when the configuration creation is 100% complete, click Done.

  14. Repeat steps 1 to 12 for each additional computer in the cluster.

Configure transaction time-out settings for the cluster

  1. Start the Admin server.

    Note: You don't need to start Admin server on every node weblogic installed, you may select any node to host Administration server for the cluster.

    On the machine hosting the WebLogic Administration Server, open a command window and navigate to[WL_HOME]/user_projects/domains/[domain name]/bin, and then enter the following command to start WebLogic Administration Server:

    • (Windows) startWebLogic.cmd

    • (Linux, UNIX) nohup ./startWebLogic.sh&

  2. Start WebLogic Server Administration Console by typing http://[HostName]:7001/console in the URL line of a web browser.

  3. Log in by entering the user name and password you created when you installed WebLogic Server.

  4. Open the WebLogic Server Administration Console on the administration server.

  5. Under Domain Structure, click your domain name.

  6. Under Change Center, click Lock & Edit.

  7. Click the Configuration tab and then click JTA.

  8. In the Abandon Timeout Seconds box, enter 600.

  9. Click Save and then click Activate Changes.

Configuring Admin Server Listen Address

  1. In the WebLogic Server Administration Console, under Domain Structure, click Environment > Servers

  2. Under Change Center, click Lock & Edit.

  3. Under Servers table, click AdminServer.

  4. Provide hostname or IP address in the Listen Address box.

  5. Click Save and Activate Changes.

  6. Restart the Admin Server.

Note: Provide specific IP address or host name of Admin Server. Do not leave it the Listen Address box blank. Leading the box blank can lead to managed server startup problems and configuration issues.

// Ethnio survey code removed