webtier@glassfish.java.net

JSF - javax.faces.STATE_SAVING_METHOD

From: <webtier_at_javadesktop.org>
Date: Thu, 18 Jun 2009 05:57:17 PDT

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

The app is running on glassfish (proxied and load balanced).

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

There is some debate amongst the developers whether javax.faces.STATE_SAVING_METHOD should be set to "client" (the netbeans default setting) or "server". I have suggested it be changed to "server" to see if that solves the problem (an easy change, but the main developer of the application wants to know what "best practice" is before he makes the change).

Another developer thinks the navigation rules in the faces-config.xml should be altered.

Thanks for any feedback.
[Message sent by forum member 'bryanut' (bryanut)]

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