JBoss Community

Re: Multiple EntityManagers with different persistence units

created by Pasquale Imbemba in Beginner's Corner - View the full discussion

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

Start a new discussion in Beginner's Corner at Community