ログに could not enlist in transaction on entering meta-aware object が出力されるのはなぜですか?
Issue
-
同じメソッドに EntityManagers を 2 つ使用しているステートフルセッションビーンがあり、以下の例外が表示されます。
ERROR [JDBCExceptionReporter] 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: a0b324b:8f6:4b2f4e82:120 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: a0b324b:8f6:4b2f4e82:120 status:ActionStatus.ABORT_ONLY >))
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 4.x
- 5.x
- JBoss Seam
- 2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.