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.
"jboss:service=TransactionManager:TransactionCount"
"jboss:service=TransactionManager:CommitCount"
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?
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.
300
true
${jboss.server.data.dir}/tx-object-store
Then there will be statistics.
Thanks there.