I am using JRun 4 and want to make my application distribuatable. So I have implemented java.io.Serializable in all my java beans. But some times it gives following error in my servlet where i typecast my bean which is in session. like
The Exception details are :
I have checked following things: 1. instanceof operator on the session variable. It gives false. 2. objRef.getClass() on my session reference. It returns correct package and class name my reference in session. 3. I instroduced following code so that the serialisation ID remains same for the object.
Even after doing all these tricks i cant make my bean get rid of this exception which occur suddenly. !!! Is it a problem in JRun ??? or it is in J2EE ??? Thanks for the time. Cheers. L G Goundalkar.