[jboss-jira] [JBoss JIRA] (WFLY-4323) Transaction metrics all zero
Tim Mickelson (JIRA)
issues at jboss.org
Fri Feb 6 09:32:49 EST 2015
[ https://issues.jboss.org/browse/WFLY-4323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038335#comment-13038335 ]
Tim Mickelson commented on WFLY-4323:
-------------------------------------
Ok, when I enable the JPA metrics I actually have the same problem as for the transactions, in the manager all metrics are zero. I have made no special configurations, it's practically out of the box from download and I'm running 3 different servers all with the same issue. One on windows 7 (my development env), one on Ubunt (test env) and one on CentOS (production env).
Also for the JPA metrics all works like a charm on JBoss 7.1.1 in all environments.
I'm guessing that the issue is extremly simular as for the transaction metrics.
> 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)
More information about the jboss-jira
mailing list