WAS v8.5 > Script the application serving environment (wsadmin) > Scripting for data access resources > Configure data access with wsadmin scripting

Testing data source connections using wsadmin.sh

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 ensure the parameters in the data source definition are correct. We can use the testConnection command for the AdminControl object to test data source connections for a cell, node, server, application, or cluster scope. This topic provides an example that tests the data source connection for the application scope.


Related


Testing a connection with the dmgr console
Use the wsadmin scripting AdminControl object for scripted administration


Reference:

Data source settings
Commands for the AdminControl object using wsadmin.sh


+

Search Tips   |   Advanced Search