[richfaces-issues] [JBoss JIRA] Created: (RF-7491) Exception raised while session expires or server restarted and accessing the page throws exception

bhanu sistla (JIRA) jira-events at lists.jboss.org
Sun Jul 5 01:02:51 EDT 2009


Exception raised while session expires or server restarted and accessing the page throws exception
--------------------------------------------------------------------------------------------------

                 Key: RF-7491
                 URL: https://jira.jboss.org/jira/browse/RF-7491
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.1
         Environment: Windows 2003 and server :- Weblogic 10.1
            Reporter: bhanu sistla
            Priority: Critical


Exception has raised while session has expired. Here are the details . looks like it has to do with session failure/unavailable issue in the UI. Currently, if the session times out or the server goes down, if you click on anything in the UI you get one of the following errors on the server console. If click was supposed to go to a new page, like when you click logout you see the same exception on the browser. I haven't been able to solve this issue. Can you look into it and see what we can do here. This will certainly help you understand the architecture behind JSF and how it works.

#1
Exception in the filter chain
javax.servlet.ServletException: viewId:/home.jsf - View /home.jsf could not be restored.
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:270)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
        at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
        at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(Unknown Source)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: javax.faces.application.ViewExpiredException: viewId:/home.jsf - View /home.jsf could not 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)
        ... 20 more


here is the web.xml configuration 

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

	<context-param>
		<param-name>org.ajax4jsf.SKIN</param-name>
		<param-value>laguna</param-value>
	</context-param>

	<context-param>  
	 <param-name>javax.faces.STATE_SAVING_METHOD</param-name>  
	 <param-value>client</param-value>  
	</context-param>  
------

    <error-page>
        <exception-type>javax.faces.application.ViewExpiredException</exception-type>
        <location>/logon.jsp</location>
    </error-page>


</web-app>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list