You must create a data source and connection pool in WebLogic Server to
enable Decision
Center.
About this task
Before you create a data source, your database must be
running. For a list of supported databases, consult the support details
on the IBM support site.
Procedure
To create a data source and connection pool:
- In the WebLogic Server Administration
Console, on the Home Page, in the Domain Configurations section,
under Services click Data Sources.
- In the Summary of JDBC Data Sources page,
under Data Sources, click .
- Give a name to your data source and type jdbc/ilogDataSource for
the JNDI name.
For example, you can name the data
source Decision Center Data Source.
- Select a database type and click Next. For example, select Derby.
- In the next panel, select a database driver and click Next.
Tip: Best practice is to use a non-XA driver.
- In the panel that displays transaction options, keep the
default options and click Next.
- Define the connection properties and click Next.
For example, Derby users can enter the following values:
Table 1. Connection properties for a Derby database| Property |
Value |
| Database name |
dcdb;create=true |
| Host name |
localhost |
| Port number |
1527 |
| Database user name |
dcdbUser |
| Password |
dcdbUser1 |
- In the next page, click Test Configuration to
ensure that the connection pool is operational.
If
the message Connection test succeeded is displayed,
your connection pool is ready to be used.
- Click Next.
- In the Create a New JDBC Data Source page,
in the Servers table, select AdminServer and
click Finish.