If you just want to check if the data source is installed and any statistical information about it, you can read that bean: jboss.jca:name=DefaultDS,service=ManagedConnectionPool .
You can find such a bean for each data source, just change DefaultDS to the name of the data source.
Lukasz Stelmach
source share