tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Svetlin Zarev (JIRA)" <>
Subject [jira] [Created] (TOMEE-2050) JTA 1.2 compliance: Calling UserTransaction methods from @Transactional bean
Date Fri, 02 Jun 2017 10:41:04 GMT
Svetlin Zarev created TOMEE-2050:

             Summary: JTA 1.2 compliance: Calling UserTransaction methods from @Transactional
                 Key: TOMEE-2050
             Project: TomEE
          Issue Type: Bug
            Reporter: Svetlin Zarev

JTA 1.2, section 3.7:
If an attempt is made to call any method of the UserTransaction interface from within the
scope of a bean or method annotated with @Transactional and a Transactional.TxType other than
NOT_SUPPORTED or NEVER, an IllegalStateException must be thrown.

Instead TomEE throws:
13:38:03.710 [http-nio-8080-exec-7] ERROR java.lang.Throwable - javax.transaction.NotSupportedException:
Nested Transactions are not supported
13:38:03.713 [http-nio-8080-exec-7] ERROR java.lang.Throwable -         at org.apache.geronimo.transaction.manager.TransactionManagerImpl.begin(
13:38:03.716 [http-nio-8080-exec-7] ERROR java.lang.Throwable -         at org.apache.geronimo.transaction.manager.TransactionManagerImpl.begin(
13:38:03.737 [http-nio-8080-exec-7] ERROR java.lang.Throwable -         at org.apache.webbeans.intercept.AbstractInvocationContext.directProceed(
13:38:03.758 [http-nio-8080-exec-7] ERROR java.lang.Throwable -         at org.apache.webbeans.intercept.AbstractInvocationContext.proceed(
13:38:03.761 [http-nio-8080-exec-7] ERROR java.lang.Throwable -         at org.apache.webbeans.intercept.InterceptorInvocationContext.proceed(
13:38:03.766 [http-nio-8080-exec-7] ERROR java.lang.Throwable -         at org.apache.openejb.cdi.transactional.InterceptorBase.intercept(
13:38:03.770 [http-nio-8080-exec-7] ERROR java.lang.Throwable -         at org.apache.openejb.cdi.transactional.RequiredInterceptor.intercept(

This message was sent by Atlassian JIRA

View raw message