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

Transaction metrics all zero

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.0.0.Beta1
    • 8.2.0.Final
    • Transactions
    • None

      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.

      I started this as a question on the forum but got no answer. Please note that the exact same configuration on the same server gives Transaction statistics with the same deployments on JBoss 7.1.1

      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>

              rhn-engineering-mmusgrov Michael Musgrove
              tim_mickelson Tim Mickelson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: