Creating a JDBC provider
Before you can create a data source and connection for Decision Center, you first create a JDBC provider.
Procedure
- In the WebSphere Integrated Solutions Console, open Resources > JDBC, and click JDBC Providers.
- In Scope, select Node=xxx, Server=yyy, where xxx is the name of your node and yyy the name of your server.
- Click New.
- In Step 1, select the database type,
provider type, and a non-XA implementation type.
Table 1. JDBC provider options for DB2 and Derby Database type Provider type Implementation type Name Derby Derby JDBC Provider Connection pool data source Enter a name, for example Decision Center JDBC Provider DB2 DB2 Universal JDBC Driver Provider Connection pool data source Enter, for example, DB2 Universal JDBC Driver Provider for DC - Click Next.
- In Step 2, confirm or modify the database class path and click Apply. Then click Next.
- Click Finish, and then Save to save the changes directly to the master configuration.
- Optional: If you are configuring Decision
Center for WebSphere® Application
Server for Linux on z Systems™, the DB2 installation might have installed the file db2jcc_license_cisuz.jar in
a location that is not in the WebSphere Application
Server path.
- Use the following command to find the db2jcc_license_cisuz.jar file: find / -name db2jcc_license_cisuz.jarTip: It is best to do this as the root user to avoid permission messages.
- From the WebSphere Integrated Solutions Console, open Environment > WebSphere variables and click DB2UNIVERSAL_JDBC_DRIVER_PATH.
- Set the value to the path discovered by the find command.
- Use the following command to find the db2jcc_license_cisuz.jar file: find / -name db2jcc_license_cisuz.jar
Parent topic: Step 2: Configuring database connectivity