Create JDBC Providers and Data Sources

If previous drivers are already created and installed, then you can skip the following steps for creating and installing the database drivers for the data source.

You need to create the required Database Drivers and their Data Sources. The creation of the Database Drivers and their Data Sources should be performed as the following sequence:

  1. If you are not using IBM MQ Workflow as your engine or if the Monitor database and the Event Queue database are located in the same physical database:

  2. If the Monitor database and the Event Queue database are located in two physical databases:

The following tables provide the required values for the each Database Driver and Data Source as you should enter through the creation steps:

Property/Field Name

DB2

 Oracle

Name

MonitorDB2PoolDriver

MonitorOraclePoolDriver

Database JDBC Driver File Name

db2java.zip

classes12.zip

Database JDBC Driver File path

<DB2>\java\

<Oracle>\jdbc\lib

Implementation Class

COM.ibm.db2.jdbc.DB2ConnectionPoolDataSource

oracle.jdbc.pool.OracleConnectionPoolDataSource

Property/Field Name

Value

Name

Monitor_Pool_DataSource

JNDI Name

MonitorPoolDataSource

Property/Field Name

Value

Name

Event_Queue_Pool_DataSource

JNDI Name

EventQueuePoolDataSource

Property/Field Name

DB2

Oracle

Name

MonitorDB2XADriver

MonitorOracleXADriver

Database JDBC Driver File Name

db2java.zip

classes12.zip

Database JDBC Driver File path

<DB2>\java12\

<Oracle>\jdbc\lib

Implementation Class

COM.ibm.db2.jdbc.DB2XADataSource

oracle.jdbc.xa.client.OracleXADataSource

Property/Field Name

Value

Name

Monitor_XA_DataSource

JNDI Name

MonitorXADataSource

Property/Field Name

Value

Name

Event_Queue_XA_DataSource

JNDI Name

EventQueueXADataSource

The following sections describe the required steps that you should follow to create and install a Database Driver and to create a Data Source under this driver.