[jboss-jira] [JBoss JIRA] (WFLY-2551) AS7.2 - JMX Datasource pool & jdbc statistics dissapear if you enable validation
Will Tatam (JIRA)
issues at jboss.org
Mon Jul 28 18:19:29 EDT 2014
[ https://issues.jboss.org/browse/WFLY-2551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988476#comment-12988476 ]
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>
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list