java.lang.IllegalStateException: Message-driven beans are not allowed to call getRollbackOnly()

Google Groups | John Favre | 2 decades ago
  1. 0

    Unable to rollback in a Bean Managed Message Driven Bean

    Google Groups | 2 decades ago | John Favre
    java.lang.IllegalStateException: Message-driven beans are not allowed to call getRollbackOnly()
  2. 0

    Exceptions in the weblogic server - Illegal attempt to call EJBContext.setRollbackOnly()

    Stack Overflow | 1 year ago | Zeus
    java.lang.IllegalStateException: [EJB:010158]Illegal attempt to call EJBContext.setRollbackOnly() from an EJB that was not participating in a transaction.
  3. 0

    db:: 3.40::Exception on using setRollBackOnly with SLSB CMT 8p

    hivmr.com | 8 months ago
    java.lang.IllegalStateException: [EJB:010167]Message-driven beans are not allowed to call setRollbackOnly.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MessagingBridge with mqseries

    Oracle Community | 1 decade ago | 666705
    java.lang.IllegalStateException: [EJB:010167]Message-driven beans are not allowed to call setRollbackOnly.
  6. 0

    WFLYEJB0137: Only session and message-driven beans with bean-managed transaction demarcation are allowed to access UserTransaction

    Stack Overflow | 1 year ago | El Lord Code
    org.springframework.transaction.TransactionSystemException: JTA UserTransaction is not available at JNDI location [java:jboss/UserTransaction]; nested exception is javax.naming.NameNotFoundException: UserTransaction [Root exception is java.lang.IllegalStateException: WFLYEJB0137: Only session and message-driven beans with bean-managed transaction demarcation are allowed to access UserTransaction]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Message-driven beans are not allowed to call getRollbackOnly()

      at weblogic.ejb20.internal.MessageDrivenEJBContextImpl.setRollbackOnly()
    2. weblogic.ejb20.internal
      MessageDrivenEJBContextImpl.setRollbackOnly
      1. weblogic.ejb20.internal.MessageDrivenEJBContextImpl.setRollbackOnly(MessageDrivenEJBContextImpl.java:49)
      1 frame
    3. com.nexterna.transmit
      OPTransmitEJB.onMessage
      1. com.nexterna.transmit.OPTransmitEJB.onMessage(OPTransmitEJB.java:273)
      1 frame
    4. weblogic.ejb20.internal
      MDListener.onMessage
      1. weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:92)
      1 frame
    5. weblogic.jms.client
      JMSSession.execute
      1. weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1858)
      2. weblogic.jms.client.JMSSession.execute(JMSSession.java:1817)
      2 frames
    6. weblogic.kernel
      Kernel.execute
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
      2. weblogic.kernel.Kernel.execute(Kernel.java:250)
      2 frames
    7. weblogic.jms.client
      JMSCallback.pushEnvelope
      1. weblogic.jms.client.JMSSession.pushEnvelope(JMSSession.java:1749)
      2. weblogic.jms.client.JMSCallback.pushEnvelope(JMSCallback.java:69)
      2 frames
    8. weblogic.jms.frontend
      FESession.execute
      1. weblogic.jms.frontend.FESession.execute(FESession.java:1826)
      1 frame
    9. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
      2 frames