Installation Guide for Oracle Self-Service E-Billing > Configuring Oracle WebLogic > Process of Configuring the Billing and Payment Application on an Oracle WebLogic Cluster >

Creating the Oracle WebLogic Domain and Managed Servers for the Billing and Payment Application on a Cluster


To implement the Billing and Payment application on an Oracle WebLogic cluster, you must create a domain and admin server on the computer where you installed the Billing and Payment application. You must also create one or more managed servers on this computer and on the other computers in the cluster.

Table 5 shows an example of the entities created for the Billing and Payment application in a clustered environment.

Table 5. Example of a Cluster Environment for the Billing and Payment Application
Server
Associated Computer
Server Name
IP Address
Port

Admin Server

Computer 1

AdminServer

10.240.12.163

7001

Proxy Server

Computer 1

EBillingProxy

10.240.12.163

9007

Managed Server 1

Computer 1

EBillingMS1

10.240.12.163

9001

Managed Server 2

Computer 2

EBillingMS2

10.240.8.244

9002

Managed Server 3

Computer 3

EBillingMS3

10.240.12.157

9003

This task is a step in Process of Configuring the Billing and Payment Application on an Oracle WebLogic Cluster.

To create a domain and servers for the Billing and Payment application on a cluster

  1. On the computer where you installed the Billing and Payment application, create a domain for the Billing and Payment EAR file:
    1. Go to the following directory:
      • UNIX. WL_HOME/wlserver_12.1/common/bin
      • Windows. WL_HOME\wlserver_12.1\common\bin
    2. Run the following command:
      • UNIX. config.sh
      • Windows. config.cmd
    3. On the Oracle WebLogic Configuration Wizard, select Create a new WebLogic domain, then click Next.
    4. Leave the option to automatically configure the domain selected, then click Next.
    5. Enter the user name and password of the user to administer the Oracle WebLogic domain, then click Next.
    6. Select the SUNJDK to use for this domain, then click Next.
    7. Choose Yes to configure the Oracle WebLogic domain, then click Next.
    8. Enter the name of the domain to create, such as EBilling_Domain, then enter a location for the domain, such as port 7001, and the default Admin Server. Click Create.
  2. Start the domain, using the following command:

    WLS_HOME/common/bin/startWebLogic.sh

  3. Create a managed server:
    1. Log in to the Oracle WebLogic administration console, for example:

    http://localhost:7001/console/

    where:

    • localhost is the host name of the server where you installed the Billing and Payment application. The host name can be the Domain Name System (DNS) name or the IP address, such as 10.240.12.163.
    • 7001 is the port number where you installed the Billing and Payment application.
    1. Click Environment, Servers, and then New.
    2. Enter a name for the managed server, such as EBillingMS1.
    3. Specify the server listen address (the IP address of the managed server).
    4. Enter the server listen port, such as 9001.
    5. Select the Standalone Server option (not the Clustering option).
    6. Click Next, and click Finish.

      If successful, then the following messages appear:

      All changes have been activated. However, 1 items must be restarted for the changes to take effect.

      Server created successfully.

  4. Stop the domain, using the following command:

    $WLS_HOME/common/bin/stopWebLogic.sh

  5. Configure the Node Manager for the computer:
    1. Make sure you start the Node Manager at least once. The configuration file, nodemanager.properties, is created automatically when you first start Node Manager.
    2. Edit the nodemanager.properties file, located in the $WLS_HOME/common/nodemanager directory. Set the following parameter values.
      Parameter
      Value
      Purpose

      AuthenticationEnabled

      false

      Creates a nonauthenticated connection to Node Manager.

      SecureListener

      false

      Creates a plain connection to Node Manager, not a secure connection.

    3. Start the Node Manager, using the following command:

    $WEBLOGIC_HOME/server/bin/startNodeManager.sh

  6. Edit the required scripts:
    1. Add the following code to the commEnv.sh file, located in the $WLS_HOME/common/bin directory to set EDX_HOME, the directory where you installed Oracle Self-Service E-Billing:

    export EDX_HOME=/home/oracle/eBilling

    export CLASSPATH=$CLASSPATH:$EDX_HOME/config:$EDX_HOME/config/resourcebundle:$EDX_HOME/lib/xercesImpl-2.7.1.jar:$EDX_HOME/lib/xalan-2.7.1.jar:$EDX_HOME/lib/serializer-2.7.1.jar

    1. Also in the commEnv.sh file, change the MaxPermSize value to 1024 for each platform.
    2. In the startManagedWebLogic.sh file, located in the $WLS_HOME/common/bin directory, add the Dlog4j.configuration Java option to the end of the definition in the JAVA option section:

    export JAVA_VM="${JAVA_VM} -Dedx.home=${EDX_HOME} -Dlog4j.configuration=file:${EDX_HOME}/config/log4j.xml -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Dorg.owasp.esapi.resources=${EDX_HOME}/config"

  7. Repeat Step 3 through Step 6 as necessary to create and configure additional servers on this computer or other computers in the cluster.
Installation Guide for Oracle Self-Service E-Billing Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.