5 Replies Latest reply on Jun 10, 2003 5:43 AM by tommo

    Strange Stateful Session bean Exception

    sczapek Newbie

      Since working with JBoss 3.x I am getting the following Exception from my project:

      [org.jboss.web.localhost.Engine] ----- Root Cause -----
      java.rmi.NoSuchObjectException: Could not activate; CausedByException is:
      ... \jboss-3.0.4_tomcat-4.1.12\server\default\db\sessions\MaterialControl\1049358688225.ser (the system cannot find the requested file)
      at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:186)
      at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:212)



      It always happens after 5-20 minutes of doing nothing on the web client. JBoss terminates the session after exactly 30 minutes, but it deletes some of these serialized beans much earlier.

      Thank you for your help in advance.