From users-return-59842-apmail-myfaces-users-archive=myfaces.apache.org@myfaces.apache.org Fri May 25 00:12:36 2012 Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B9E2B9F8E for ; Fri, 25 May 2012 00:12:36 +0000 (UTC) Received: (qmail 95739 invoked by uid 500); 25 May 2012 00:12:35 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 95672 invoked by uid 500); 25 May 2012 00:12:34 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 95663 invoked by uid 99); 25 May 2012 00:12:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2012 00:12:34 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.53] (HELO mail-vb0-f53.google.com) (209.85.212.53) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2012 00:12:26 +0000 Received: by vbbfc26 with SMTP id fc26so358195vbb.12 for ; Thu, 24 May 2012 17:12:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=p+FJCU3R697Dxd6JVEsWXOORRSwhuZype/eNN/dUxTU=; b=ia7sj6IukGuah5d24tRq6SDxoUfVV0OUfbxQOId4pR2w1CeZV1yL84TZKQNeTt86o0 850FCfs+8AUkn7kCsWfTjYhOgZ0QG4JU+c4VR8sG9NsDWgfNe2E+RxXZmI/ArwE1UBDD xqXsl1tilQ4wIwrdkF3v7Xj3EYGGAqE8JvBL3sWUsrPEpYHogdjtdfo/HksoHvwMJKtV jmGsn6n5khOEMvdeu1q69n2MqcnF8PBtaXf0AcdGk8V0BQqBZbP4kzopNWIrR6n3bqRg d5LjRWzspCKZ8CMDFqx/PLjbxUOo6wFIRcz7+O0sUKm41efRB2iWBkU/QR151K//Z3kL iV2Q== MIME-Version: 1.0 Received: by 10.52.23.144 with SMTP id m16mr1229920vdf.77.1337904724194; Thu, 24 May 2012 17:12:04 -0700 (PDT) Received: by 10.220.3.10 with HTTP; Thu, 24 May 2012 17:12:03 -0700 (PDT) X-Originating-IP: [203.33.60.241] In-Reply-To: References: Date: Fri, 25 May 2012 10:12:03 +1000 Message-ID: Subject: Re: view state errors on appengine From: lucio piccoli To: MyFaces Discussion Content-Type: multipart/alternative; boundary=20cf307c9dacd4360804c0d137e2 X-Gm-Message-State: ALoCoQmkYmT6QDconj23Ssf1/SmhJbJdbdVRqgIoEd693OkmMIyAX7SklyLDg8tCmMM5fSpdcvTM --20cf307c9dacd4360804c0d137e2 Content-Type: text/plain; charset=ISO-8859-1 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 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 : > > 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 > > > 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 --20cf307c9dacd4360804c0d137e2--