1 Reply Latest reply on Feb 16, 2003 9:07 PM by Adrian Brock

    java.io.NotSerializableException: org.jboss.ejb.plugins.cmp.

    Grzegorz Stelmaszek Newbie

      Hi,

      I get the following error when my statefull sessionbeans are to be passivated:
      ---
      java.rmi.ServerException: Could not passivate; nested exception is:
      java.io.NotSerializableException: org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet
      java.io.NotSerializableException: org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet
      at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1143)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
      at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
      at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
      at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
      at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
      at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
      at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
      at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:288)
      at org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:78)
      at org.jboss.ejb.plugins.AbstractInstanceCache$1.execute(AbstractInstanceCache.java:615)
      at org.jboss.util.WorkerQueue$QueueLoop.run(WorkerQueue.java:206)
      at java.lang.Thread.run(Thread.java:479)
      ---

      Why this may happen?

      thanks for any help
      greg