1 Reply Latest reply on May 12, 2004 4:13 AM by Sebastiaan Kortleven

    Rollback Exception: Already marked for rollback

    Sebastiaan Kortleven Newbie

      Hi there,

      I'm developing a j2ee application with about 40 entity beans. When doing a finder query on one of the larger beans (that has 6 relationships with other beans), I get this error:

      10:42:38,086 ERROR [LogInterceptor] TransactionRolledbackLocalException in metho
      d: public abstract java.lang.String com.lmsintl.its.product.ejb.LocalProduct.get
      Code(), causedBy:
      javax.transaction.RollbackException: Already marked for rollback
      at org.jboss.tm.TransactionImpl.registerSynchronization(TransactionImpl.
      at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.register(Entit
      at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntityS

      and I have no idea what to do about it. It takes a pretty long time (about 5 mins) to get to this error (before that jboss is quering the database heavily).
      I'm subscribed to the commercial documentation, but not there, not elsewhere on the net I could find an answer.
      Is this caused by a a time-out error, or what am I doing wrong?