7 Replies Latest reply on Feb 9, 2015 3:54 AM by Tom Jenkinson

    Transaction Metrics all zero

    Tim Mickelson Newbie

      Hello, I have enabled the transactions metrics in standalone.xml on my Wildfly 8.2.0 as below but the transactions metrics are always zero, even though I have many projects deployed using transactions. Probably something trivial is missing, could some one tell me what is wrong? I'm using the Spring Framework 4.1.2 and Hibernate as installed in the Wildfly modules.

       

        Thanks for any help, Tim Mickelson

       

       

          <subsystem xmlns="urn:jboss:domain:transactions:2.0">
              <core-environment>
                  <process-id>
                      <uuid/>
                  </process-id>
              </core-environment>
              <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
              <coordinator-environment default-timeout="300" statistics-enabled="true"/>
          </subsystem>

       

       

      The datasource is configured as (with jta true):

       

                  <datasource jta="true" jndi-name="java:/youconnect" pool-name="youconnect_Pool" enabled="true" use-java-context="true" use-ccm="true">
                      <connection-url>jdbc:postgresql://127.0.0.1:5432/youconnect</connection-url>
                      <driver-class>org.postgresql.Driver</driver-class>
                      <driver>ps</driver>
                      <pool>
                          <min-pool-size>10</min-pool-size>
                          <max-pool-size>30</max-pool-size>
                          <prefill>true</prefill>
                          <flush-strategy>IdleConnections</flush-strategy>
                      </pool>
                      <security>
                          <user-name>yyyy</user-name>
                          <password>xxxxx</password>
                      </security>
                  </datasource>