]
Will Tatam commented on WFLY-2551:
----------------------------------
Good work to trace it. I had spotted it only effected resources that were enabled when
jboss booted based on the xml, but hadn't spotted that it was the fact i'm adding
disabled and then enabling that was causing the missing items
AS7.2 - JMX Datasource pool & jdbc statistics dissapear if you
enable validation
--------------------------------------------------------------------------------
Key: WFLY-2551
URL:
https://issues.jboss.org/browse/WFLY-2551
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JCA, JMX
Reporter: Will Tatam
Assignee: Stefano Maestri
If you just create a basic datasource under AS 7.2 the you can view the current
statistics about the pool under
jboss.as:subsystem=datasources,data-source=mySQL,statistics=pool
However, if you add the following then sometimes the statistics=pool and statistics=jdbc
entries disspaear
<validation><check-valid-connection-sql>select
1</check-valid-connection-sql></validation>