1 Reply Latest reply on Jun 20, 2009 5:50 AM by Fred Zhang

    "jboss:service=TransactionManager:CommitCount"  is alway 0?

    Fred Zhang Newbie

      Don't know whether here is the right place to ask this question.

      I'm using JBoss EAP 4.3. My application (composeed of 2 ears) uses 2 XA datasources. In the application we use JPA with Hibernate as provider.

      I checked the JMX console and found that the following 2 measures are always 0.
      But, in the real world, the application make at least 10K transaction commits per day.

      Can anybody kindly tell me how to make the two properties show the right value?

        • 1. Re:
          Fred Zhang Newbie

          ha...just found the solution:

          Edit jboss/server/profile/conf/jboss-service.xml, in TransActionManager section add a line true;

          The whole section will look like this.


          Then there will be statistics.

          Thanks there.