
35
3. In the databaseName field, type
PLANTSBY
for the value and click OK. See Figure 5.
Figure 5. Database name
4. From the Resources > JDBC Providers > DB2 JDBC Provider > Data Sources >
pbwdatasource page, scroll down and click J2C Authentication Data Entries
under Related Items.
5. Click New.
6. Make an alias (any unique name). Change your user ID and password to match your
DB2 user ID and password.
7. Click Resources > JDBC Providers > DB2 JDBC Provider > Data Sources >
pbwdatasource.
8. Select the new alias you just created for Component-managed Authentication
Alias.
9. Repeat this step for Container-managed Authentication Alias. Your results will
look similar to Figure 6.
Figure 6. Authenication aliases
10. Click OK.
Change the PlantsByWebSphere data source JNDI name
1. Click Resources > JDBC Providers > Samples Cloudscape 5.0 Provider > Data
Sources > PLANTSDB.
2. Change the JDNI name to
jdbc/PlantsByWebSphereDataSource_cloud
(this
action avoids naming confusion with the new DB2 data source).
3. Click OK.
Comentarios a estos manuales