0 Replies Latest reply on Dec 6, 2017 7:57 AM by Nitin Shukla

    Enabling statistics on datasource in Wildfly 8.2

    Nitin Shukla Newbie

      Hello,

       

      I am looking to enable statistics on datasource configuration in Wildfly 8.2.0 FINAL. I am setting attribute statistics-enabled="true" in the datasource configuration in standalone.xml. However when I start the Wildfly server this attribute is overwritten and removed. When I go to the Wildfly admin console and navigate to Runtime tab and Datasources (subsystems) I see that the datasource I configured with statistics-enabled="true" shows up as false under the Statistics Enabled? column.

       

      Below is the datasource configuration I did in standalone.

       

      <datasource jndi-name="java:jboss/datasources/jdbc/pricing.SQLServerDS" pool-name="pricingDS" enabled="true" use-java-context="true" use-ccm="true" statistics-enabled="true">

       

      So it does not enable the Statistics for the datasource. Has anyone faced this issue in enabling the statistics for the datasource in Wildfly 8.2.0. Is there any know issue in Wildfly 8.2.0 in enabling the statistics for datasources?

       

      Thanks.

       

      Regards,

      Nitin