Welcome to Ask Ozar.net !
Welcome to Ask Ozar.net, where you can ask questions and receive answers from other members of the community.
+1 vote

The following exception is thrown when trying to run my Java EE app on WebSphere Liberty 8.5.5.9 Java EE 7 full profile. It previously ran without issues AS-IS on 8.5.5.8.

 

SRVE0777E: Exception thrown by application class 'javax.faces.webapp.FacesServlet.service:214'

 

Caused by: javax.faces.application.ViewExpiredException: /index.go - No saved view state could be found for the view identifier: /index.go

at org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:183)
... 4 more
 
 
in IT / Technical by (560 points)
edited by

1 Answer

0 votes

If you can verify that you are currently using Apache MyFaces 2.x which is the defualt JSF implementation of IBM WebSphere and that this exception is thrown during loading of @ViewScoped backing beans, and the following is not already present in your web.xml, add this:

 

<context-param>
    <param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name>
    <param-value>false</param-value>
</context-param>

by (330 points)
edited by

Related questions

...