Network Deployment (Distributed operating systems), v8.0 > Scripting the application serving environment (wsadmin) > Scripting for data access resources > Configure data access with wsadmin scripting


Test data source connections using wsadmin.sh

We can test connections for data sources with the wsadmin tool and scripting. After we have defined and saved a data source, you can test the data source connection to ensure that 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.


Procedure


Test a connection with the administrative console
Use the wsadmin scripting AdminControl object for scripted administration


Related


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

+

Search Tips   |   Advanced Search