webtier@glassfish.java.net

Re: [webtier] JSF - javax.faces.STATE_SAVING_METHOD

From: Ed Burns <Ed.Burns_at_Sun.COM>
Date: Thu, 18 Jun 2009 08:14:22 -0700

>>>>> On Thu, 18 Jun 2009 05:57:17 -0700 (PDT), webtier_at_javadesktop.org said:

B> We are having with a JSF application and it's navigation. On
B> occassion the when hitting the next button the application will
B> return to the starting page. It is as if session data has been lost
B> so the application thinks the user is entering the first time. This
B> is a random occurence and happens on IE, Firefox and Opera. The app
B> is running on glassfish (proxied and load balanced).

B> We are not sure how to diagnose the issue. Any help would be
B> appreciated.

The behavior you are observing is indeed consistent with the session
being lost. I would install an HttpSessionListener and track when the
sessionDestroyed() method is called [1].

If this doesn't lead you anywhere, please followup to the list here and
we'll continue to work it.

Ed

-- 
| ed.burns_at_sun.com  | office: 408 884 9519 OR x31640
| homepage:         | http://ridingthecrest.com/