Step 1: Creating a data source and connection pool

Create a data source and connection pool.

About this task

Make sure that you create or establish the location of the database for Decision Center (see Mandatory: Create the databases). For a list of supported databases, consult IBM support site

Note: Unless you are using Derby Embedded, make sure that your database is running before creating the data source.

Procedure

  1. In the WebLogic Server Administration Console, in Domain Structure, under your domain select Services > Data Sources.
  2. In the Summary of JDBC Data Sources page, on the Configuration tab, in the Data Sources table, click New > Generic Data Source.
  3. Give a name to your data source (for example, Decision Center Data Source) and type jdbc/ilogDataSource for the JNDI name.
  4. Select your database type and click Next.
  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 Derby Embedded:
    Property Value
    Driver Class Name org.apache.derby.jdbc.EmbeddedDrive
    URL jdbc:derby:c:\dcdb
    Database user name dcdbUser
    Password dcdbUser
    Derby Network users also need the following:
    Property Value
    Host name localhost
    Port number 1527
  8. In the next page, click Test Configuration to ensure that the connection pool is operational.
  9. Click Next.
  10. In the Servers table, select AdminServer and click Finish.