About this task
To configure WebShpere Application Server, do the following steps:
- Create J2C Authentication Data for DB2®:
- From the WebSphere® Application
Server Administration Console, select .
- Click New, and access DB2 with the username and
password. This creates the J2C Authentication Data Entry for DB2.
- Create JDBC Providers:
From the WebSphere Application Server Administration
Console, select to create a new user-defined JDBC provider
(The environment variable DB2_JDBC_DRIVER_PATH must have
a correct value).
- Create a Data Source for the JDBC provider and enter the following properties:
- JNDI Name: the default value is jdbc/DEMO;
- Component-managed Authentication Alias: select the Authentication Alias
created in step 1;
- Container-managed Authentication Alias: select the Authentication Alias
created in step 1;
- DatabaseName and serverName for the Data Source.
- Restart the WebSphere Application
Server.