[
https://issues.jboss.org/browse/WFLY-4323?page=com.atlassian.jira.plugin....
]
Tom Jenkinson commented on WFLY-4323:
-------------------------------------
Hi Tim, I think your issue is likely to be similar, but in a different component and code
path. I would raise a new issue and link it to this. Use the JPA component and hopefully
[~smarlow] will pick it up.
Transaction metrics all zero
----------------------------
Key: WFLY-4323
URL:
https://issues.jboss.org/browse/WFLY-4323
Project: WildFly
Issue Type: Bug
Components: Transactions
Affects Versions: 8.2.0.Final
Environment: Linux, JDK 1.7, Spring 4, Hibernate
Reporter: Tim Mickelson
Assignee: Michael Musgrove
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>
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)