Step 2: Creating a data source and connection pool

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:

  1. In the WebLogic Server Administration Console, on the Home Page, in the Domain Configurations section, under Services click Data Sources.
  2. In the Summary of JDBC Data Sources page, under Data Sources, click New > Generic Data Source.
  3. 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.

  4. Select a database type and click Next. For example, select Derby.
  5. In the next panel, select a database driver and click Next.
    Tip: Best practice is to use a non-XA driver.
  6. In the panel that displays transaction options, keep the default options and click Next.
  7. 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
  8. 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.

  9. Click Next.
  10. In the Create a New JDBC Data Source page, in the Servers table, select AdminServer and click Finish.