+

Search Tips   |   Advanced Search

Testing data source connections using scripting


We can test connections for data sources with wsadmin and scripting. After we have defined and saved a data source, we can test the data source connection to verify the parameters in the data source definition are correct.

Use the testConnection command for AdminControl to test data source connections for a cell, node, server, application, or cluster scope. This page provides an example that tests the data source connection for the application scope.

 

 

Related tasks


Testing a connection with the admin console
Use AdminControl for scripted administration

 

Related


Data source settings
Example: Testing a connection using testConnection(ConfigID)
Commands for AdminControl