excellent answer Leonardo! i was missing the org.apache.myfaces.MAC_SECRET.
the myfaces GAE support page needs updating http://myfaces.apache.org/core20/googleappenginesupport.html to include the org.apache.myfaces.MAC_SECRET. as Appengine is intrinsically clustered. -lp On 24 May 2012 19:44, Leonardo Uribe <lu4...@gmail.com> wrote: > Hi > > See this link: > > http://wiki.apache.org/myfaces/Secure_Your_Application > > It has instructions about how to setup your encryption, and in that > way use the same key. > > regards, > > Leonardo Uribe > > 2012/5/24 lucio piccoli <lu...@asteriski.com>: > > hi all, > > > > i got problems with the view state errors > > > > "No saved view state could be found for the view identifier:" > > > > when accessing jsf in appengine. > > > > in local dev environment all is good. > > > > but when moved to real environment, instances get stopped and started. > > > > when instances get stopped or started and a request goes to new instance > > the view state error occurs. > > > > step to reproduce. > > > > 1. have a single instance running in appengine > > 2. http GET mypage.faces > > 3. page is displayed. > > 4. stop instance on appengine.( through dashboard) > > 5. click command button on exisiting page > > <h:commandButton value="#{messages['button_cancel']}" > > action="#{promotionBackingBean.cancelAction}" immediate="true" /> > > 6. ERROR displayed "No saved view state could be found for the view > > identifier:" > > > > i am using client save state > > > > javax.faces.STATE_SAVING_METHOD=client > > > > to prevent this error. > > > > Q.1 is my code crap or my config? > > > > any help is most appreciated. > > > > -- > > regards > > > > -Lucio Piccoli > > > > Director > > ------------------------------ > > www.asteriski.com > -- regards -Lucio Piccoli Director ------------------------------ www.asteriski.com