Why and when to perform this task
After you have defined and saved a data source, you can click the Test Connection button to ensure that the parameters in the data source definition are correct. On the collection panel, you can select multiple data sources and test them all at once. Be sure that the following conditions are met before using the Test Connection button.Steps for this task
If you used a WebSphere environment entry for the class path or other fields, such as ${DB2_JDBC_DRIVER_PATH}/db2java.zip, make sure that you assign it a value in the WebSphere Variables page.
Note that if you add a new WebSphere environment variable, or modify it, you might need to restart the process. If you run the Network Deployment edition of WebSphere Application Server, this action includes restarting both the node agents and the deployment manager. For any other edition of the product, this action consists of restarting the application server.
The View the JVM Logs text is a hyperlink that takes you to the JVM Logs console screen for the process.
Again, the text for View the JVM Logs is a hyperlink to the appropriate logs screen.
Related concepts
Test connection service
Related tasks
Testing a connection using wsadmin
Related reference
Example: Test a connection using testConnection(ConfigID)