1 Reply Latest reply on Nov 3, 2011 7:24 PM by jmsanchez

    JSF restore view problem during Cluster failover

    prasanthvnair

      Hi All,

       

      We have deployed an application in Weblogic 10.3 cluster. Application is using JSF 1.2, Richfaces, Spring 2.5 and Hibernate.

      We are facing a problem in the cluster where JSF is not restoring the view with proper data during failover.

       

      When the application server that is serving the request is shut down, an error is thrown by JSF as below

       

      javax.faces.application.ViewExpiredException: viewId:/jsf/declaration/DeclarationCustomsSearch.jsf - View /jsf/declaration/DeclarationCustomsSearch.jsf could no

      t be restored.

              at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:186)

              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

              at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104)

              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

              Truncated. see log file for complete stacktrace

       

      Data stored in the session is not retrieved by JSF and shown in the UI.

       

      Any ideas to resolve the above issue

       

      Thanks