After you have created a data source and connection pool,
you connect to the data source to test the connection to the database.
Procedure
To test the connection to your database:
- In the WebSphere Integrated Solutions Console,
open , and click Data sources.
- Select the check box next to the data source that you want
to test, and click Test connection.
The status of the connection is indicated at the top
in a message such as the following one:
The test connection operation for data source <data_source> on server <server_name> at node <node_name> was successful.
Potential
connection errors might be:
- Java class ..com.ibm.db2.jcc is not found: Check
that the jcc drivers class path is correctly set.
- Null Userid is not supported — SQL ERRORCODE 4461:
Authentication failed. Check that the JAAS-J2C Authentication credentials
are correct.