When you creating new DataSource in WLS, it allows you to test the connectivity. However after you have created it, the test button is kinda hidden in a non-obvious way. This is how I get to it and test an existing DataSource that have targeted a server.
-
Login to Admin Console (eg: http://localhost:7100/console)
-
On the Domain Structure left panel, click:
<my\_domain\_name>
(eg: DefaultDomain) > Services > Data Sources -
On the right, Click on the DataSource name you want to test.
-
Click the "Monitoring" tab > "Testing" tab.
-
Select the server the DataSource has targeted to and then press "Test Data Source" button.