Search code examples
javajbossjmx

How to check datasource in JBoss?


I have a datasource, how to check if its ok? maybe somehow using jmx-console?


Solution

  • If you want just check if data source is installed and some statistic information about it you can read that bean: jboss.jca:name=DefaultDS,service=ManagedConnectionPool.

    You can find such bean for each data source, just change DefaultDS with the data source name.