4 Replies Latest reply on May 3, 2005 2:05 AM by Ben Wang

    failed to restore state; stateful session bean

    Premlatha Sundararajan Newbie

      i'm unable replicate the state. i've been getting a few errors,but i'm unable to find a solution ..

      i have 2 instances in acluster.
      i have a jsp page accessing a stateful session bean, wheni refresh the page the counter is incremented.
      if i shutdown one of the server instances, my counter is not incremented, though it still shows me the last increment value.and i get this error

      18:28:06,828 INFO [STDOUT] problem with getCount(): java.rmi.NoSuchObjectException: Could not activate; failed to restore state; CausedByException is:
      C:\JBoss\jboss-4.0.1\server\node1\tmp\sessions\CounterBean-e7yp5j00-4\e7yp3fka-5.ser (The system cannot find the file specified)
      it would be great if somebody could help me work out a solution for this.....
      i've followed the documents available on Jboss to the detail,but ... i guess, there's something i've missed out.