Pasquale Imbemba [
http://community.jboss.org/people/pi4630] created the discussion
"Re: Multiple EntityManagers with different persistence units"
To view the discussion, visit:
http://community.jboss.org/message/625013#625013
--------------------------------------------------------------
This is what I see in the log
{noformat}
WARN [org.hibernate.util.JDBCExceptionReporter] (WorkerThread#0[127.0.0.1:34061]) SQL
Error: 0, SQLState: null
2011-09-06 15:28:39,327 ERROR [org.hibernate.util.JDBCExceptionReporter]
(WorkerThread#0[127.0.0.1:34061]) Could not enlist in transaction on entering meta-aware
object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable:
Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: 0:ffff7f000101:126a:4e661ff4:c status: ActionStatus.ABORT_ONLY >); -
nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in
transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see
the previous warnings. tx=TransactionImple < ac, BasicAction:
0:ffff7f000101:126a:4e661ff4:c status: ActionStatus.ABORT_ONLY >))
2011-09-06 15:28:39,328 ERROR [org.hibernate.event.def.AbstractFlushingEventListener]
(WorkerThread#0[127.0.0.1:34061]) Could not synchronize database state with session:
org.hibernate.exception.GenericJDBCException: Cannot open connection{noformat}
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/625013#625013]
Start a new discussion in Beginner's Corner at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]