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
- 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.
- Log on to the Oracle WebLogic Administration Console, using the user name and password defined when the domain was created.
- Click the Data Sources link under JDBC in the services section.
- Click New to create a new data source.
- Enter the data source name and the JNDI name.
- 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.
|
|
|
|
|
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 |
- For Connection Properties, provide the correct values.
|
|
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 |
- Click Next, then click Test Configuration to test whether the database connection is configured correctly.
- Click Next, then target the data source to the server where you want to deploy the application. The default is AdminServer. Click Finish.
- Click Activate Changes to save the changes.
- 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
- Go to the Summary of JDBC Data Sources.
- Click any data source name link.
- On the Connection Pool tab, enter the values for the connection pool settings for each JDBC data source you created.
|
|
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 |
|