Gareth
It may be that some of your bean attributes are non primitives, i.e. other
java class. If so make sure they implement java.io.Serializable.
> -----Original Message-----
> From: Gareth Cantrell [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 29, 2000 10:00 AM
> To: [EMAIL PROTECTED]
> Subject: [jBoss-User] Exception passivating Stateful SB
>
>
> Hi:
>
> I'm getting the following exception every time jBoss tries to
> passivate my Stateful Session Bean. This exception continues to
> happen repeatedly, ie. it never stops throwing, and eventually
> puts the server into an unusable state, with a reboot being necessary.
> I've been through the bean's code with a fine-toothed comb, and
> am now desparate to get this working.
>
>
> [Container factory] java.rmi.ServerException: Could not passivate;
> nested exception is:
> [Container factory] java.io.NotSerializableException:
> org.jboss.minerva.xa.XAClientConnection
> [Container factory] java.io.NotSerializableException:
> org.jboss.minerva.xa.XAClientConnection
> [Container factory] at
> java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
> [Container factory] at
> java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
> [Container factory] at
> java.io.ObjectOutputStream.outputClassFields(ObjectOutputStrea
> m.java:1841)
> [Container factory] at
> java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStre
> am.java:480)
> [Container factory] at
> java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
> [Container factory] at
> java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
> [Container factory] at
> org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.pa
> ssivateSession(StatefulSessionFilePersistenceManager.java:271)
> [Container factory] at
> org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(S
tatefulSessionInstanceCache.java:54)
> [Container factory] at
> org.jboss.ejb.plugins.EnterpriseInstanceCache$1.execute(Enterp
> riseInstanceCache.java:341)
> [Container factory] at
> org.jboss.util.WorkerQueue$QueueLoop.run(WorkerQueue.java:199)
> [Container factory] at java.lang.Thread.run(Thread.java:484)
>
> TIA
> Gareth
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]