By default, Tomcat tries to store sessions on disk. Other than the
SPRING_SECURITY_CONTEXT object you didn't have serializable objects in
your application. On Windows, saveOnRestart is turned off
(http://tomcat.apache.org/tomcat-5.5-doc/config/manager.html) or
security prevents writing the data to a file. Just guessing of course.

Kalle


On Tue, Jun 16, 2009 at 8:24 PM, Jason Lotz<jasonl...@gmail.com> wrote:
> Environment - Tomcat 5.5, Ubuntu 9.04, Tapestry 5.1, Spring Security
> Framework 2.0.4
>
> Note that this does not seem to happen under Windows deployments.
>
> Everything in the application works fine under normal circumstances.  When a
> user successfully logs in, the session has a few objects added to it,
> including the expect SPRING_SECURITY_CONTEXT object as well as some things
> we want to save there as well.  After the server is restarted, everything is
> gone from the session (naturally) but the SPRING_SECURITY_CONTEXT object
> remains alive and well in the session.
>
> Can anyone explain this behavior?  Extra credit if you can explain why this
> isn't happening in Windows.
>
> Jason
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to