3 Replies Latest reply on Oct 18, 2002 12:00 PM by Greg Turner

    Issue with activiation

    Sloan Seaman Newbie

      I have a stateful session bean that spawns a thread. The object works fine unless I don't use the app for an hour or so. When I come back and I attempt to use the app I get:
      21:24:52,362 ERROR [AbstractInstanceCache] Activation failure
      javax.ejb.EJBException: Could not activate; CausedByException is:
      ser (The system cannot find the file specified)
      at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.activateS
      at org.jboss.ejb.plugins.StatefulSessionInstanceCache.activate(StatefulS
      at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache
      at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(State

      I put some code in the Passivate and Activate blocks that just do system.out.printlns to see if they are even called and it doesn't appear that they are.

      Can anyone give me any insight into this? I don't have a clue where to start looking...