When I was tracing into ObjectSerializer, I found that the class loader parameter it got was NOT the one passed to it in SimpleSessionStore. So the serialization was NOT done using our expected context class loader of the new context.
Why? I can't explain this behavior... I simulated the serialization process in a servlet, which was loaded by the new context class loader as a matter of course, it worked well and the servlet could access the old object after serialization. Don't know if these clues are useful to you. Regards, Hugh --- Bill Barker <[EMAIL PROTECTED]> wrote: > This is really going beyond Tomcat's ability to > detect. Beans that want > this much control will need to be life-cycle aware > (e.g. implement > javax.servlet.http.HttpSessionBindingListener). > Alternatively, the Bean can > re-load the class when serialized. > > That having been said, I'm not really happy with the > life-cycle support on > the current patch. It is currently too closely tied > to the > Intercepter/Facade split. I may make it cleaner > later. > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>