Sounds like you have a stateful session bean that has a member variable
which is of a non-serializable type, from the looks of it, some sort of JDBC
object, such as Connection or Statement.  When your bean is activated or
passivated, it's trying to serialize or deserialize that member variable
causing the error.  Declare the offending variable as transient, and ensure
that you initialize the variable before you use it in your code.
 
Andre
 
 
 -----Original Message-----
From: John Miller [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 11:41 AM
To: Orion-Interest
Subject: help...Error deserializing session


Hi,
 
I have written an EJB which does a pretty simple Oracle select and am
getting this error, when the bean is instantiated for the first time:
 
Error deserializing session: java.io.WriteAbortedException: Writing aborted
by exception; java.io.NotSerializableException: com.evermind.sql.ak
 
I have no idea what might be causing this, so any suggestions or ideas you
might have would be a great help.
 
Thanks,
 
Johnny


http://www.iii.co.uk 

Interactive Investor International is a leading UK Internet personal 

finance service that provides individuals with the capability to identify, 

compare, monitor and buy online a number of financial products and services.


Interactive Investor Trading Limited, a subsidiary of Interactive Investor 

International plc, is regulated by the SFA.


Reply via email to