The next step in the process is to
create the JDBC provider.
About this task
Perform the following steps to create the
JDBC provider.
Procedure
- Log in to the WebSphere® Application Server Integrated Solutions Console,
if you are not still logged in.
- Click .
- Click New.
- Enter the following values in the Configuration
tab:
- Database type: DB2
- Provider type: DB2 Universal JDBC
Driver Provider
- Implementation type: Connection pool
data source
- Name: JDBC provider name (for example, mcsJDBC).
If you use a name other than mcsJDBC, use that
name in place of mcsJDBC later in this procedure.
- Description: Descriptive text (for example, JDBC
provider for Multi-Channel Server database).
- Click Next.
- Enter the directory location for the
database driver JAR files. Click Next.
- Check the summary. Click Finish.
- Click Save.
- Create the
data source for the JDBC provider you just created.
- Select the JDBC provider you just created (for example, mcsJDBC).
- Click .
Click New.
- Enter the following values in the Configuration
tab:
- Name: Data source name (for example, mcsDS).
If you use a name other than mcsDS, use that
name in place of mcsDS later in this procedure.
- JNDI Name: JNDI name (for example, jdbc/mcsDS).
The name must start with jdbc/. If you use
a JNDI name other than jdbc/mcsDS, use that
name in place of jdbc/mcsDS later in this procedure.
- Click Next.
- Enter the database properties for the
new data source.
- Driver type: Type of the DB2 driver (for
example, 4)
- Database name: Name of the MCS database
(for example, mcs)
- Server name: Host name of the database server
(for example, wpmls10.in.xyz.com)
- Port number: Port number of the database
(for example, 50000)
- Click Next.
- Select the previously created J2C entry
from the Component-managed Authentication Alias drop-down list (for
example, mcsDBauth). Click Next.
- Check the summary. Click Finish.
- Define the resultSetHoldability property
for the data source you just created.
- Select the data source your just created (for example, mcsDS).
- Click .
- Change the value of resultSetHoldability to 1.
- Click OK.
- Click Save to save
the configuration.
- Restart the server1 application server using
the following commands:
- Log in to the WebSphere Application Server Integrated Solutions Console.
- Click .
- Select the mcsDS check
box and click Test Connection.
Note: If
the test connection fails and you modify the configuration, you must
restart the server1 application server before testing
the connection again.
What to do next
After creating the JDBC provider, proceed to
the next topic,
Updating the MCS configuration
file.