EJB statefull error doubt? interesting.. help me..

Hi all

am having one statefull bean running in the server.

and also am having one ie client and in that client

just am get the bean once and put it in the request.setSession()... then just am check everytime and reuse the same bean instance from that session but in this time while trying to call a method in bean am getting exception like the following

java.rmi.NoSuchObjectException: Could not activate; failed to restore state; CausedByException is:

D:\tools\jboss-3.2.8.SP1\server\default\tmp\sessions\minibankserverStatefulEJB-f0nwafhl-5\f0nwaq5d-6.ser (The system cannot find the file specified)

org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:134)

org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:226)

org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:101)

org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:348)

org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:179)

org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:206)

org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)

org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:463)

org.jboss.ejb.Container.invoke(Container.java:723)

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

java.lang.reflect.Method.invoke(Method.java:324)

org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)

so wat i supposed to do to overcome this..

plz anyone help me..

its quit urgent..

thanks in advance

[1940 byte] By [JaganMa] at [2007-11-27 1:28:55]
# 1
The app container usually saves the session state to file when it needs to be passivated. In your case the container couldnt find the file minibankserverStatefulEJB-f0nwafhl-5\f0nwaq5d-6.ser. It is better to store the ejb handle in session rather than the ejb object itself.
enigma_y2k1a at 2007-7-12 0:27:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...