2 Replies Latest reply on Jan 12, 2006 12:08 PM by Fred Muhlenberg

    jBPM with MDB

    Fred Muhlenberg Newbie

      Are there issues related to using message driven beans and workflow? If so, would you point me to further information.

      I am using a message driven beans as my entry point into various workflows -- instantiating a process, updating tasks, etc. In both cases, I receive errors:

      14:01:12,765 ERROR [JDBCTransaction] JDBC commit failed
      java.sql.SQLException: You cannot commit during a managed transaction!

      on my jbpmSession.commit().

      It finally occurred to me that there are probably interactions between Hibernate and the EJB container when I copied some working code from a servlet into a MDB and I got exceptions. The MDB uses container managed transactions.