-
Sub-task
-
Resolution: Done
-
Major
-
None
-
None
All but one org.jboss.test.jca.test.XATxConnectionManagerUnitTestCase tests fail with
Transaction already active, cannot nest transactions.
javax.transaction.NotSupportedException: Transaction already active, cannot nest transactions.
at org.jboss.tm.TxManager.begin(TxManager.java:209)
at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.begin(ServerVMClientUserTransaction.java:124)
at org.jboss.test.jca.test.XATxConnectionManagerUnitTestCase.testBrokenConnectionAndTrackByTx(XATxConnectionManagerUnitTestCase.java:290)
OR
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=TransactionImpl:XidImpl[FormatId=257, GlobalId=build01.dmz.inap.jboss.com/1, BranchQual=, localId=1])
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=TransactionImpl:XidImpl[FormatId=257, GlobalId=build01.dmz.inap.jboss.com/1, BranchQual=, localId=1])
at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:329)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:518)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:399)
at org.jboss.test.jca.test.XATxConnectionManagerUnitTestCase.testGetConnection(XATxConnectionManagerUnitTestCase.java:110)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
Caused by: javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=build01.dmz.inap.jboss.com/1, BranchQual=, localId=1]
at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.checkEnlisted(TxConnectionManager.java:728)
at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:561)
at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:323)
... 16 more