[
https://issues.jboss.org/browse/WFLY-4326?page=com.atlassian.jira.plugin....
]
Tim Mickelson commented on WFLY-4326:
-------------------------------------
As you asked I put a part of the trace below. Since I'm using JNDI to look up the
EntityManagerFactory in Spring, it should be the EE that is deploying it.
16:28:21,493 INFO [org.jboss.as.jpa.parse] (MSC service thread 1-1) JBAS011401: Read
persistence.xml for JPADB
16:28:21,494 TRACE [org.jboss.as.jpa.parse] (MSC service thread 1-1)
PersistenceUnitMetadataImpl(version=1.0) [
name: JPADB
jtaDataSource: java:/youconnect
nonJtaDataSource: null
transactionType: JTA
provider: org.hibernate.ejb.HibernatePersistence
classes[
]
packages[
]
mappingFiles[
]
jarFiles[
]
validation-mode: AUTO
shared-cache-mode: UNSPECIFIED
properties[
hibernate.transaction.manager_lookup_class:
org.hibernate.transaction.JBossTransactionManagerLookup
jboss.entity.manager.jndi.name: java:app/JPADB
hibernate.temp.use_jdbc_metadata_defaults: false
hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect
hibernate.jdbc.use_streams_for_binary: true
hibernate.show_sql: false
jboss.entity.manager.factory.jndi.name: java:app/JPADBFactory
hibernate.format_sql: true
]]
16:28:21,849 TRACE [org.jboss.as.jpa.entityManagerBind] (MSC service thread 1-1) binding
the transaction scoped entity manager to jndi name 'JPADB'
16:28:21,850 TRACE [org.jboss.as.jpa.entityManagerFactoryBind] (MSC service thread 1-1)
binding the entity manager factory to jndi name 'JPADBFactory'
Enable JPA meterics, all metrics zero
-------------------------------------
Key: WFLY-4326
URL:
https://issues.jboss.org/browse/WFLY-4326
Project: WildFly
Issue Type: Bug
Components: JPA / Hibernate
Affects Versions: 8.2.0.Final
Environment: Windows 7, Ubuntu 14.04, CentOS, JDK1.7
Reporter: Tim Mickelson
Assignee: Scott Marlow
Labels: jpa
Enable JPA on any ear deployd on server and no metrics are presented. The datasource is
JTA enabled and the same deployments (ears) deployd on JBoss 7.1.1 result in non zero
metrics when JPA is enabled per ear on JBoss 7.1.1.
Note: I have a very similar issue with the transaction metrics WFLY-4323
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)