5 Replies Latest reply on Jul 5, 2007 1:51 AM by vishnukn

    javax.ejb.EJBException: Could not passivate; failed to save

    cypnsv

      Hi

      I am new to JBOSS

      Some how i got the jboss configured and every thing works on production

      A stateful session bean gives me error as below


      javax.ejb.EJBException: Could not passivate; failed to save state
       at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:423)
       at org.jboss.ejb.plugins.StatefulSessionInstance



      Please help , i need to know if i am doing any wrong configuration in jboss

      Please help

      Thanks
      CYP

        • 1. Re: javax.ejb.EJBException: Could not passivate; failed to s
          cypnsv

          any updates , please help

          • 2. Re: javax.ejb.EJBException: Could not passivate; failed to s
            cypnsv

            how come i do not get any response for the past 12 hrs

            • 3. Re: javax.ejb.EJBException: Could not passivate; failed to s
              cypnsv

              Please help below is the error details

              javax.ejb.EJBException: Could not passivate; failed to save state
              at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:423)
              at org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:107)
              at org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractInstanceCache.java:209)
              at org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractInstanceCache.java:162)
              at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.run(LRUEnterpriseContextCachePolicy.java:450)
              at java.util.TimerThread.mainLoop(Timer.java:512)
              at java.util.TimerThread.run(Timer.java:462)
              Caused by: java.io.NotSerializableException: com.tlc.utils.ClientInfo
              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
              at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
              at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
              at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
              at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:414)
              ... 6 more

              • 4. Re: javax.ejb.EJBException: Could not passivate; failed to s

                Some body please help

                • 5. Re: javax.ejb.EJBException: Could not passivate; failed to s

                  i checked my code to see if com.tlc.utils.ClientInfo is Serialized , but it is fine the class implements Serializable interface but i still get the same exception