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 Create or Extend a Configuration 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 Select Optional Configuration Screen, do not select any option.

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

    • (Solaris) Sun SDK.

    • (All other platforms) JRockit SDK.

  10. In Customize Environment and Services Settings, select No and click Next.

  11. On the Configuration Summary screen, click Create.

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

    username=[username from weblogic install] 
    password=[password from weblogic install]
  13. 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:
  14. On the Creating Domain screen, when the configuration creation is 100% complete, click Done.

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

Configure transaction time-out settings for the cluster

  1. 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.

// Ethnio survey code removed