1 Reply Latest reply on Mar 1, 2012 6:58 AM by Wolf-Dieter Fink

    Could not passivate; failed to save state

    saurabh agrawal Newbie

      hi,

       

      i have got this exception :

       

      11:15:17,827 WARN [org.jboss.ejb.plugins.AbstractInstanceCache] failed to passivate, id=gz9cxhes-e2: javax.ejb.EJBException: Could not passivate; failed to save state

            at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:423) [:6.1.0.Final]

            at org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:107) [:6.1.0.Final]

            at org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractInstanceCache.java:211) [:6.1.0.Final]

            at org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractInstanceCache.java:162) [:6.1.0.Final]

            at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.run(LRUEnterpriseContextCachePolicy.java:467) [:6.1.0.Final]

            at java.util.TimerThread.mainLoop(Timer.java:512) [:1.6.0_30]

            at java.util.TimerThread.run(Timer.java:462) [:1.6.0_30]

      Caused by: java.io.NotSerializableException: com.abc.ABCDAO

            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164) [:1.6.0_30]

            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) [:1.6.0_30]

            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) [:1.6.0_30]

            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) [:1.6.0_30]

            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) [:1.6.0_30]

            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) [:1.6.0_30]

            at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:414) [:6.1.0.Final]

            ... 6 more

       

      anybody please guide me, how to solve the issue....

       

      thanks...