Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2551

AS7.2 - JMX Datasource pool & jdbc statistics dissapear if you enable validation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.0.0.Alpha1
    • None
    • JCA, JMX
    • None

      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>

            bstansbe@redhat.com Brian Stansberry
            will.tatam@red61.com Will Tatam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: