0 Replies Latest reply on Mar 5, 2002 9:30 PM by admiyo

    Entity Bean locking

      Setup
      Jboss 2.4.4
      Tomcat 3.2 and Tomcat 4 (saw it in both, thought it might be a Tomcat problem at first).
      PosgreSQL 7, Redhat LInux 7.2

      We've recently developed a strange error on our system. Periodically, the Finders for our CMP entity beans stop returning. I've been able to reproduce this on a developer box by submitting a form, stopping the submission, and resubmitting several times. When stepping through in debug mode, the thread hangs on the finder.

      I think what is happening is that the entity beans are being locked as part of a transaction. Does this happen, or is all Locking supposed to be done at the DB level? I've tried marking some of the Entity beans as Not supporting transactions, but this does not seem to make a difference.