1 Reply Latest reply on Nov 15, 2010 3:06 AM by omid pourhadi

    JBPM Could not commit transaction

    omid pourhadi Apprentice

      Hi, i created a simple (add friend) process base on bonus chapter in seam in action book
      after i want to start process i've got this exception



      Caused by java.lang.IllegalStateException with message: Could not commit transaction





      Caused by javax.transaction.HeuristicMixedException with message:


      any idea ?



      my actioBean method




      @End     
      @CreateProcess(definition="Courier")
           public void registerCommunityComment() {
                entityManager.persist(communityComment);          
                entityManager.flush();
      }




      PS : when flushmode is automatic and i don't use any other entity to persist everything goes fine, however it's intersting that evrything commit in databse but exception occured