Same problem here - started as on 2.4.0. Does not happen all the time, seems to be some sort of synchronization issue between the LRUEnterpriseContextCachePolicy and the SessionPersistenceManager ...
I could really figure out what's wrong (hard to debug, because it only happens sometimes) - I ended up changing the cache policy to NoPassivationCachePolicy for statefull session beans. In standardjboss.xml, in the stateful session bean section, change to <cache-policy>org.jboss.ejb.plugins.NoPassivationCachePolicy</cache-policy> Of course you stateful session beans won't get passivated anymore - which may or may not be a problem. If anyone has a fix to get the passivating one working properly, please let me know. R. > -----Original Message---- > From: David You [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 11, 2001 10:46 AM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Stateful session remove? > > > I am using JBoss 2.4.1 with Tomcat in one JVM. > I use a statefull session bean as a control point to all other beans. > and store the remote session interface in SessionData. > I have the finalize of the SessionData to call the remove of the > stateful session bean. > > Here is the exception I got, any ideas? > > thanks > david > > ======= > > > > [WorkflowService] TRANSACTION ROLLBACK EXCEPTION:Could not activate; > nested exce > ption is: > java.io.FileNotFoundException: > C:\JBoss-2.4.1_Tomcat-3.2.3\jboss\db\sess > ions\WorkflowService\1002756681497.ser (The system cannot > find the file > specifie > d); nested exception is: > java.rmi.NoSuchObjectException: Could not activate; nested > exception is: > > java.io.FileNotFoundException: > C:\JBoss-2.4.1_Tomcat-3.2.3\jboss\db\sess > ions\WorkflowService\1002756681497.ser (The system cannot > find the file > specifie > d) > [WorkflowService] java.rmi.NoSuchObjectException: Could not activate; > nested exc > eption is: > [WorkflowService] java.io.FileNotFoundException: > C:\JBoss-2.4.1_Tomcat-3.2 > .3\jboss\db\sessions\WorkflowService\1002756681497.ser (The system > cannot find t > he file specified) > [WorkflowService] at > org.jboss.ejb.plugins.AbstractInstanceCache.get(Abstr > actInstanceCache.java:211) > [WorkflowService] at > org.jboss.ejb.plugins.StatefulSessionInstanceIntercep > tor.invoke(StatefulSessionInstanceInterceptor.java:194) > [WorkflowService] at > org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxI > nterceptorCMT.java:133) > [WorkflowService] at > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransac > tions(TxInterceptorCMT.java:307) > [WorkflowService] at > org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInter > ceptorCMT.java:99) > [WorkflowService] at > org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterc > eptor.java:195) > [WorkflowService] at > org.jboss.ejb.StatefulSessionContainer.invoke(Statefu > lSessionContainer.java:341) > [WorkflowService] at > org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoke > r.invoke(JRMPContainerInvoker.java:483) > [WorkflowService] at > org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.in > vokeContainer(GenericProxy.java:335) > [WorkflowService] at > org.jboss.ejb.plugins.jrmp.interfaces.StatefulSession > Proxy.invoke(StatefulSessionProxy.java:136) > [WorkflowService] at $Proxy22.remove(Unknown Source) > [WorkflowService] at > com.eview.admin.SessionData.finalize(SessionData.java > :29) > [WorkflowService] at > java.lang.ref.Finalizer.invokeFinalizeMethod(Native M > ethod) > [WorkflowService] at > java.lang.ref.Finalizer.runFinalizer(Unknown > Source) > [WorkflowService] at java.lang.ref.Finalizer.access$100(Unknown > Source) > [WorkflowService] at > java.lang.ref.Finalizer$FinalizerThread.run(Unknown S > ource) > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
