java.lang.IllegalStateException: No tx on thread

openejb-users | marekd | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Exception while testing MDB

    openejb-users | 8 years ago | marekd
    java.lang.IllegalStateException: No tx on thread
  2. 0

    Exception while testing MDB

    openejb-users | 8 years ago | marekd
    java.lang.IllegalStateException: No tx on thread
  3. 0

    No tx on thread CMP OpenEJB4 JUnit Hibernate

    Stack Overflow | 5 years ago | Vishal
    java.lang.IllegalStateException: No tx on thread at org.apache.geronimo.transaction.manager.TransactionManagerImpl.getActiveTransactionImpl(TransactionManagerImpl.java:201)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      No tx on thread

      at org.apache.geronimo.transaction.manager.TransactionManagerImpl.getActiveTransactionImpl()
    2. Geronimo TxManager :: Transaction
      TransactionManagerImpl.getResource
      1. org.apache.geronimo.transaction.manager.TransactionManagerImpl.getActiveTransactionImpl(TransactionManagerImpl.java:194)
      2. org.apache.geronimo.transaction.manager.TransactionManagerImpl.getResource(TransactionManagerImpl.java:187)
      2 frames
    3. OpenEJB :: OSGi :: Core
      BaseEjbProxyHandler.invoke
      1. org.apache.openejb.core.transaction.JtaTransactionPolicy.getResource(JtaTransactionPolicy.java:105)
      2. org.apache.openejb.core.transaction.EjbTransactionUtil.afterInvoke(EjbTransactionUtil.java:77)
      3. org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:231)
      4. org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:169)
      5. org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)
      6. org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)
      7. org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:286)
      7 frames
    4. Unknown
      $Proxy11.compute
      1. $Proxy11.compute(Unknown Source)
      1 frame
    5. example
      MessageDrivenBeanTest.testMessageDrivenBean
      1. example.MessageDrivenBeanTest.testMessageDrivenBean(MessageDrivenBeanTest.java:77)
      1 frame