users@glassfish.java.net

Glassfish v3 Drops sessions after a short amount of time

From: <glassfish_at_javadesktop.org>
Date: Wed, 03 Mar 2010 04:25:48 PST

Hey all

We've run in to a bit of an issue in our environment.

We're using glassfish v3, with 2 domains running per box. The one thing that I've noticed, though inconsistent, is that glassfish will randomly drop sessions within the first 10 minutes. Doesn't matter if the user is idle or not. It's a JSF application, and every so often we'll receive a message "view could not be restored" which seems to indicate that the JSF state was lost.

is there anyway to determine where it was supposed to be stored? I don't see any messages in the logs that indicate a failure here, just the sudden "view could not be restored." We are using CDI, and we've noticed that even session scoped beans are gone after this happens.
[Message sent by forum member 'johnament' (john.d.ament_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=389812