For a stateful session bean, you need to ensure that anything to be
serialized is Serializable (ie. implements java.io.Serializable), or is a
primitive type. If there is stuff you don't want/need to be
serialized you should explicitly declare it transient, and
set the appropriate values in a method called:
public void setSessionContext( javax.ejb.SessionContext ) throws
RemoteException
which is called when the session bean is reactivated.
Cheers,
Dan/tastapod.
At 08:19 09/04/2001 +0200, you wrote:
Sounds like you have
stuff in your session that can't be serialized.
Was it during restart or session timeout?
WR
> -Ursprungligt meddelande-
> Fran: Sergei Batiuk
[mailto:[EMAIL PROTECTED]]
> Skickat: den 8 april 2001 05:26
> Till: Orion-Interest
> Amne: Error deserializing session
>
>
> Hello all,
>
> What does the following error mean? It looks more like
a
> warning, since I
> did not encounter any abnormal behavior with orion. Is
it
> serious? What
> might have caused it?
>
> Error deserializing session:
java.io.WriteAbortedException:
> Writing aborted
> by e
> xception; java.io.NotSerializableException:
com.evermind.sql.ak
>
>
>
>
--
Dan North
VP Development - Cadrion Software Ltd - +44 (0)20
7440 9550
CONFIDENTIALITY
This e-mail and any attachments are confidential
and may also be privileged. If you are not the named recipient,
please notify the sender immediately and do not disclose the
contents to another person, use it for any purpose, or store
or copy the information in any medium