2 Replies Latest reply on Jan 7, 2011 4:50 PM by Roman Mandeleil

    TransactionMARKED_FOR_JOINED

    Roman Mandeleil Newbie

      After a long run (5-6 hours) with average traffic I get that exception.
      And the module is stuck on that. Every next request will get that.
      The strange thing is that I don't use any
      transactions only couple of select queries.



      Caused by org.hibernate.AssertionFailure with message: "Transaction MARKED_FOR_JOINED after isOpen() call"
      org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:465)
      org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:431)
      sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:597)
      org.jboss.seam.persistence.EntityManagerInvocationHandler.invoke(EntityManagerInvocationHandler.java:46)
      $Proxy146.joinTransaction(Unknown Source)
      org.jboss.seam.transaction.AbstractUserTransaction.enlist(AbstractUserTransaction.java:73)
      org.jboss.seam.persistence.ManagedPersistenceContext.joinTransaction(ManagedPersistenceContext.java:123)
      org.jboss.seam.persistence.ManagedPersistenceContext.getEntityManager(ManagedPersistenceContext.java:112)



      I am using JBoss-4.2.3.GA , Seam-2.2.1.CR3, Hibernate-3.3.2.GA


      Thanks in advance for any smart reply.




      Roman.