Installation Guide for Oracle Self-Service E-Billing > Configuring Oracle WebLogic > Process of Configuring Oracle WebLogic for the Customer Service Representative Application >

Configuring JDBC Resources for the Customer Service Representative Application


You must configure the following JDBC resources for applications deployed with Oracle WebLogic, using the Oracle WebLogic Administration Console:

  • Data sources
  • Connection pools

This task is a step in Process of Configuring Oracle WebLogic for the Customer Service Representative Application.

Configuring the Data Sources for the Customer Service Representative Application

You must create the following data sources for the Customer Service Representative application:

  • edxAdminDataSource
  • edxXMADataSource
  • reportDataSource

To create the data source for the Customer Service Representative application

  1. Start the newly created Billing and Payment domain, and open the Oracle WebLogic Administration Console in a browser. The default URL is

    http://Server_Name:Server_Port/console

    where:

    • Server_Name is the name of the server with the Customer Service Representative domain.
    • Server_Port is the port number of the Customer Service Representative domain server.
  2. Log on to the Oracle WebLogic Administration Console, using the user name and password defined when the domain was created.
  3. Click the Data Sources link under JDBC in the services section.
  4. Click New to create a new data source.
  5. Enter the data source name and the JNDI name.
  6. For each data source, select the Database Type as Oracle, and enter other settings as shown in the following table. Be sure to select the correct version of the driver for your database version, including patches. For the edxAdminDataSource, select Supports Global Transactions, select the corresponding transaction option, and click Next.
    Data Source Name
    JNDI Name
    Database and Driver
    Settings
    Database Details

    edxAdminDataSource

    edx.databasePool

    Oracle

    Driver (Thin)

    Emulate Two-Phase Commit

    OLTP/Hostname:
    ListenPort:SID

    edxXMADataSource

    edx.xma.databasePool

    Oracle

    Driver (Thin XA)

    None

    OLTP/Hostname:
    ListenPort:SID

    reportDataSource

    edx.report.databasePool

    Oracle

    Driver (Thin XA)

    None

    OLAP/Hostname:
    ListenPort:SID

  7. For Connection Properties, provide the correct values.
    Connection Property
    Value

    Database Name

    Your Oracle Database Alias Name

    Host Name

    Your Oracle Database Server Host Name

    Port

    Database Server Listening Port

    Database User Name

    Your Oracle Database User Name

    Password

    Your Oracle Database Password

  8. Click Next, then click Test Configuration to test whether the database connection is configured correctly.
  9. Click Next, then target the data source to the server where you want to deploy the application. The default is AdminServer. Click Finish.
  10. Click Activate Changes to save the changes.
  11. Repeat from Step 4 to create each remaining data source.

Configuring the Connection Pools for the Customer Service Representative Application

You must configure a connection pool for each data source.

To configure the connection pools for the Customer Service Representative application

  1. Go to the Summary of JDBC Data Sources.
  2. Click any data source name link.
  3. On the Connection Pool tab, enter the values for the connection pool settings for each JDBC data source you created.
    Property
    Value

    Initial Capacity

    5

    Maximum Capacity

    20

    Capacity Increment

    5

    Statement Cache Type

    FIXED

    Statement Cache Size

    300

    Test Connections on Reserve

    Checked

    Test Frequency

    120

    Test Table Name

    DUAL

    Shrink Frequency

    15

    Login Delay

    1

Installation Guide for Oracle Self-Service E-Billing Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.