3 Replies Latest reply on Jan 30, 2004 3:43 PM by richcoad

    Inconsistent FinderExceptions - Any Debugging Hints

    richcoad

      I am running JBoss 3.2.3 on Linux using Sun JDK 1.4.2. The application is receiving a request from an Oracle trigger when an INSERT is committed on the Oracle table. A servlet receives the request and puts it on a JMS queue. An MDB accepts the message and creates a stateless session bean. The SSB attempts to obtain the Oracle data as a local Entity Bean using CMP to return it to the MDB for additional work.

      This all works fine the first time through. But, when I commit a second record in Oracle (externally via TOAD), I get an ObjectNotFoundException (No Such Entity). To make matters even more confusing, when I put a breakpoint on the call to the finder method, there is no problem.

      Does anyone have any debugging suggestions?