Hi,
I have a stateful session bean using CMP. The problem is that the ejb is never passivated and when it tries to activate I keep getting this error:
2004-12-07 16:19:50,087 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager descriptor found, null persistence will be used
[org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager] Reading session state from: C:\\jboss\\jboss-3.2.6\\server\\default\\tmp\\sessions\\FR2EA2-e2gray5m-3\\e2grbdfj-4.ser\par
2004-12-07 16:22:18,496 [org.jboss.ejb.plugins.AbstractInstanceCache] Activation failure
javax.ejb.EJBException: Could not activate; failed to restore state; CausedByException is:
C:\\jboss\\jboss-3.2.6\\server\\default\\tmp\\sessions\\FR2EA2-e2gray5m-3\\e2grbdfj-4.ser (The system cannot find the file specified)
Is there some configuration problem I have? I'm just using the default jbossstandard.xml.
Thanks,
kalvin
laovision@yahoo.com
I found the problem.
in ejb-jar.xml file this tag must be there
<persistence-type>Container</persistence-type>