1 Reply Latest reply on May 27, 2003 6:07 AM by Adrian Brock

    findByPrimaryKey Failing

    rderenzy Newbie

      My application works fine after starting JBoss. I am able to load EJBs (PersonCMP), create them, etc. If I let my application become idle for 10 minutes or so (after the beans have been passivated) then try to perform the same things it fails with the below exception:

      java.rmi.NoSuchObjectException: null; CausedByException is: null

      It tell me that the Person I'm trying to find cannot be found, although it is in the database. All finder methods after this fail with the same or different clients and I must restart JBoss to get my application to work properly. I'm not sure where to start troubleshooting this, it seems the passivation/activation works fine because it is at least trying to find the Person. Does anyone know what could cause this? I'm running jboss-3.2.0_tomcat-4.1.24 on Windows XP and the problem occurs on whatever server I run JBoss on.