Hi,

Is there any workaround to the following exception (using Tomcat):

Caused by: java.io.NotSerializableException:
net.sourceforge.stripes.action.ActionBeanContext

I never put my ActionBean in session, except that I'm using flash() with
RedirectResolution, which I believe is using session as its temporary storage.
During context reload or tomcat restart, tomcat will attempt to serialise and
deserialise all session objects, which includes any ActionBeans which have been
put into sessions, which in turn has an ActionBeanContext.

I'm aware that in using stripes, the flow of the request should be:

pre-action -> forward -> view -> submit -> action -> redirect -> view

That still doesn't solve the problem if I have a redirect and flash at the end
of the chain.

The main question here is, is there any workaround to enable me to reload my
webapp and do a restart on tomcat without getting the exception above, so I can
have my sessions intact?

Thanks.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to