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:
      C:\jboss-3.0.2\server\schedstar\db\sessions\TimedRegistry\1034886698136.
      ser (The system cannot find the file specified)
      at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.activateS
      ession(StatefulSessionFilePersistenceManager.java:239)
      at org.jboss.ejb.plugins.StatefulSessionInstanceCache.activate(StatefulS
      essionInstanceCache.java:83)
      at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache
      .java:177)
      at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(State
      fulSessionInstanceInterceptor.java:212)
      etc...

      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...