You must create a data source and a connection pool to
enable Decision
Center.
About this task
If WebSphere Application
Server is
used in cluster mode, you must define the data source at node level
in the cluster (as opposed to cluster level).
Procedure
To create a data source and a connection pool:
- In the WebSphere Integrated Solutions Console,
open , and then click Data sources.
- In the Scope section, select the
scope that you selected for the JDBC provider in Creating a JDBC provider,
and click New.
- In Step 1, enter a name for the
data source (for example, Decision Center Datasource), jdbc/ilogDataSource in
the JNDI name field, and click Next.
- In Step 2, select Select
an existing JDBC provider, and then select the non-XA
JDBC provider that you created in Creating a JDBC provider, and click Next.
- In Step 3, enter the database properties
for the data source and click Next.
The
following table shows the minimum set of mandatory properties to define
the supported databases. If the table does not include your driver,
check the
WebSphere Application
Server documentation
for more information.
| Database |
Properties |
| DB2® Universal JDBC Driver |
- databaseName: Database name if driverType is
set to 4, or a locally cataloged database name if driverType is
set to 2
- driverType: 2 or 4
For driverType 4:
- serverName: TCP/IP address or host name
- portNumber: TCP/IP port number
|
| DB2 legacy CLI-based
Type 2 |
databaseName: for example, Sample. |
| Oracle JDBC Driver |
URL: for example, jdbc:oracle:oci:@sample |
| Derby |
- databaseName: path to the location of the database
files. This directory must not exist already. For example, c:\dcdb.
- Clear the option Use this data source in container
managed persistence (CMP).
For more information, refer to the Derby documentation.
|
- In Step 4, proceed as follows:
- WebSphere Application
Server for
distributed platforms: Select the default values in the list and click Next.
- WebSphere Application
Server for Linux on z Systems™: Select the DB2 Administrator's authentication alias from
the Component-managed authentication alias option,
and then click Next.
- Click Finish.
The
connection pool is created and is associated with the data source.
You must now change some custom properties.
- Click the name of the data source.
- Under Additional Properties, click Custom properties.
From here, make the following custom changes to the data
source.
- Click Save to save the changes directly
to the master configuration.