Hi Leo I noticed I just set the org.apache.myfaces.SECRET not the
MAC_SECRET, there seems to be an error in the GAE docs on our site,
because it does not tell you have to set the MAC_SECRET.
I will give my testing case another try with MAC_SECRET set as well.
Werner
Am 10.12.10 23:40, schrieb Leonardo Uribe:
Hi
One last note, to make client side state saving work try configure this two
params:
org.apache.myfaces.SECRET
org.apache.myfaces.MAC_SECRET
It is probably that the ViewExpiredException is thrown because you are not
configured the mac secret.
See http://wiki.apache.org/myfaces/Secure_Your_Application for details.
regards,
Leonardo Uribe
2010/12/10 Leonardo Uribe<[email protected]>
Hi
Is there any way to see the app log? In theory, when a ViewExpiredException
is thrown, the reason is logged there, but there is not on the browser.
I readed your previous emails related to this one and one possibility that
comes to my mind is we are storing something on session without implement
Serializable interface. If that so, as soon as GAE serialize the session to
disk, that code causes an Exception and when MyFaces try to restore the
state it just has dissapeared (servlet session is invalid, so a new one is
created and our value in javax.faces.ViewState request parameter is not
found, so a ViewExpiredException is thrown).
The solution if that is the case is check all lines that do something with
session map and check if it is possible to serialize to disk.
regards,
Leonardo