Make sure you are providing the password for the data
source through the J2C Authentication Alias or through custom property
Password.
Providing the user ID and password for the v5 data source through the
custom properties UserName and Password is not recommended.
Instructions for creating the J2C Authentication Alias and setting
to the datasource:
Java 2 Connector authentication data entry settings
Follow these instructions to define authentication data, which includes
user identities and passwords. These authentication data entries can be
referenced by resource adapters, data sources and other configuration
objects that require authentication data using an alias.
- Click Security > JAAS Configuration > J2C
Authentication Data Entries.
- Click New to define a new authentication data entry.
- Enter the ID and password and save the changes, then go the Data
source
- Click Resources > JDBC Providers >
JDBC_provider > Data Sources > data_source
- Select Component-managed Authentication Alias or
Container-managed Authentication Alias, then save the changes.
- Restart the Server and then click Test Connection, or try to run the
application that uses the data source.
|