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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by John Favre, 1 year ago
Message-driven beans are not allowed to call getRollbackOnly()
via hivmr.com by Unknown author, 1 year ago
[EJB:010167]Message-driven beans are not allowed to call setRollbackOnly.
via Oracle Community by 666705, 1 year ago
[EJB:010167]Message-driven beans are not allowed to call setRollbackOnly.
java.lang.IllegalStateException: Message-driven beans are not allowed to call getRollbackOnly()
at weblogic.ejb20.internal.MessageDrivenEJBContextImpl.setRollbackOnly(MessageDrivenEJBContextImpl.java:49)
at com.nexterna.transmit.OPTransmitEJB.onMessage(OPTransmitEJB.java:273)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:92)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1858)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:1817)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.Kernel.execute(Kernel.java:250)
at weblogic.jms.client.JMSSession.pushEnvelope(JMSSession.java:1749)
at weblogic.jms.client.JMSCallback.pushEnvelope(JMSCallback.java:69)
at weblogic.jms.frontend.FESession.execute(FESession.java:1826)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.