官术网_书友最值得收藏!

Setting up a WebLogic domain

As you may know, after finishing the installation of Oracle WebLogic Server, you have the necessary binaries to start a container, but there is no configured server to deploy your code yet (unless you installed the samples, but we're not going to use them). To accomplish this, you have to create a domain consisting of one or more server instances. Your code runs on these instances.

We're going to use a basic domain template, consisting of just one instance, since we don't have any scalability or high availability requirements for the time being.

Tip

Concepts related to how to configure an Oracle WebLogic Server environment—domains, clusters, machines, and so on—are covered in Chapter 10, Scaling Up the Application. For now, we only have to know that we need an instance to run the projects on, and it is part of a domain, which is the component that OEPE links to.

To create it, follow the ensuing steps:

  1. Start the Configuration Wizard script, config.cmd (Windows) or config.sh (others), located at $MW_HOME/wlserver/common/bin/.
  2. Leave the Create a new domain option, enter /opt/packt/domains/tickets as Domain Location and click on Next:
  3. We are going to use only the Basic WebLogic Server Domain template:
  4. Configure the administrator's name (login) and password and navigate to the next page.
  5. Leave the Development option selected under Domain Mode, make sure that the 1.7 JDK we installed at the start of this chapter is selected and click on Next twice.
  6. On the Configuration Summary screen, click the Create button to start the process.
    Tip

    By default, the server instance is bound to TCP port 7001. If you have other software using this port, check Administration Server on the Advanced Configuration screen, click on Next and change the Listen port field to another value.

  7. When the process is done, click on the Next button to show information about the brand new domain, and click on Finish to close the wizard.
    Tip

    It is recommended to export an environment variable DOMAIN_HOME that points to the domain you are currently working on, tickets in this case. For example: export DOMAIN_HOME=/opt/packt/domains/tickets.

主站蜘蛛池模板: 甘谷县| 吉林市| 双柏县| 土默特左旗| 彝良县| 内江市| 云和县| 海晏县| 金阳县| 怀柔区| 塔河县| 临城县| 登封市| 陇川县| 科技| 荣成市| 德昌县| 临夏县| 平遥县| 方城县| 大英县| 拉萨市| 泸水县| 大港区| 扬中市| 东丽区| 察哈| 稷山县| 景东| 新巴尔虎左旗| 晋江市| 岳阳县| 德令哈市| 永清县| 吉木乃县| 行唐县| 汶川县| 安丘市| 瓦房店市| 中超| 米泉市|