
|
-
Log on to the WebSphere Application Server Administration
console.
-
Select Resources > JDBC Providers.
The JDBC Providers page appears.
-
In the JDBC Providers page, select the scope
as Server, and then click New.
The JDBC Providers - New appears.
-
From the JDBC Providers list, select
DB2 Universal JDBC Driver Provider.
-
Click Apply.
The Settings page for your JDBC Provider appears.
-
In the Classpath area, change the classpath
entries to reflect the correct locations of the following jar files.
-
Click Apply.
The JDBC Providers Settings page appears with the new
settings.
-
In the Additional Properties area, click
Data Sources.
The Data Sources page appears.
-
Click New.
The General Properties Settings page appears.
-
In the General Properties Settings page:
Enter a valid name for the JDBC data source. The JDBC Data Source name
can be a string of characters that can include spaces.
Enter a valid JNDI name. The JNDI name should not have any blank spaces.
Note: The dblabel should be SRMDB in the dbinfo.cfg
file.
-
Click Apply.
The Additional Properties Area page appears.
-
In the Additional Properties area:
-
In the Related Items area, click
J2C Authentication Data Entries to enter the
userid and password information.
The J2C Authentication Data Entries
page appears. The entries in this page are needed for
Java 2 Connector security.
-
Click New.
The User id and Password entries page appears.
-
In the Alias field, type
the alias for the authentication data entry.
-
In the User ID field, type
a user ID for Java 2 Connector security. For CES database,
type the user ID as cisdba.
-
In the password field, type
the password. For CES database, type the password as
cisdba.
-
Click OK.
The J2C Authentication Alias is created.
-
In the General Properties Settings
page:
-
From the Component-managed Authentication
Alias list, select the newly created J2C Authentication
Alias.
-
From the Container-managed Authentication
Alias list, select the newly created J2C Authentication
Alias.
-
Click Test Connection.
-
Click OK.
-
Select Applications > Enterprise
Applications.
The Enterprise Applications page appears.
-
Select XJSAPP.
The Enterprise Applications page appears
with the Additional Properties and Related
Items areas.
-
In the Related Items area,
select Map Resource References to Resources.
The Mapping Resource References to Resources
page appears.
-
From the Specify existing JNDI
Resource Name list, select the newly created JNDI
resource.
-
Click the header to select all the entities.
-
Click OK.
-
Click Save.
You are prompted to save the changes to update the
master repository.
-
Click Save.
-
Restart the WebSphere Application Server.
|