[richfaces-issues] [JBoss JIRA] Commented: (RF-6607) A4J Session Timeout Bug

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Thu Mar 26 19:53:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/RF-6607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12459321#action_12459321 ] 

Nick Belaevski commented on RF-6607:
------------------------------------

Error message in logs is the only problem I see; JavaScript code is executed ok 

> A4J Session Timeout Bug
> -----------------------
>
>                 Key: RF-6607
>                 URL: https://jira.jboss.org/jira/browse/RF-6607
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>         Environment: IDE: Eclipse 3.2.2 with Exadel Studio Pro 4.0.3
> Servlet Engine: Apache Tomcat/5.5.17
> Runtime JDK: 1.5.0_12
> Server/OS: Dell Dimension XPS 710 / Windows Vista 32-bit
>            Reporter: Michael George
>         Attachments: TestBed.war
>
>
> I'm working on an a4j webapp that requires a redirect to home.xhtml on session timeout. I looked at the jboss community forums to see if there were any suggestions and I found this (http://www.jboss.org/index.html?module=bb&op=viewtopic&t=110826). I placed the A4J.AJAX.onExpired = function(loc,expiredMsg) override in my common.xhtml (used by all pages) and added the org.ajax4jsf.handleViewExpiredOnClient=true parameter in the web.xml, but this doesn't seem to be working for me. I've listed the steps needed to reproduce what I am seeing below. I have provided the WAR file (example app) used to reproduce the issue. Thanks.
> REPRODUCTION STEPS:
> 1. Startup Tomcat
> 2. Open the webapp http://localhost:8080/TestBed
> 3. Navigate to page 1
> 4. Wait more than 1 minute (i.e. session expiration)
> 5. Navigate to home (or page 2)
> 6. Stack trace appears in catalina.out
> WEB.XML:
> <?xml version="1.0"?>
> <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">
>  <description>Test Bed</description>
>  <display-name>TestBed</display-name>
>  <context-param>
>   <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
>   <param-value>.xhtml</param-value>
>  </context-param>
>  <context-param>
>   <param-name>facelets.REFRESH_PERIOD</param-name>
>   <param-value>2</param-value>
>  </context-param>
>  <context-param>
>   <param-name>facelets.DEVELOPMENT</param-name>
>   <param-value>true</param-value>
>  </context-param>
>  <context-param>
>   <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
>   <param-value>server</param-value>
>  </context-param>
>  <context-param>
>   <param-name>com.sun.faces.validateXml</param-name>
>   <param-value>true</param-value>
>  </context-param>
>  <context-param>
>   <param-name>com.sun.faces.verifyObjects</param-name>
>   <param-value>true</param-value>
>  </context-param>
>  <context-param>
>   <param-name>javax.faces.CONFIG_FILES</param-name>
>   <param-value>/WEB-INF/faces-config.xml</param-value>
>  </context-param>
>  <context-param>
>   <param-name>org.richfaces.SKIN</param-name>
>   <param-value>deepMarine</param-value>
>  </context-param>
>  <context-param>
>    <param-name>org.ajax4jsf.handleViewExpiredOnClient</param-name>
>    <param-value>true</param-value>
> </context-param>
>  <filter>
>   <display-name>Ajax4jsf Filter</display-name>
>   <filter-name>richfaces</filter-name>
>   <filter-class>org.ajax4jsf.Filter</filter-class>
>  </filter>
>  <filter-mapping>
>   <filter-name>richfaces</filter-name>
>   <servlet-name>Faces Servlet</servlet-name>
>   <dispatcher>REQUEST</dispatcher>
>   <dispatcher>FORWARD</dispatcher>
>   <dispatcher>INCLUDE</dispatcher>
>  </filter-mapping>
>  <session-config>
>   <session-timeout>1</session-timeout>
>  </session-config>
>  <servlet>
>   <servlet-name>Faces Servlet</servlet-name>
>   <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
>   <load-on-startup>1</load-on-startup>
>  </servlet>
>  <servlet-mapping>
>   <servlet-name>Faces Servlet</servlet-name>
>   <url-pattern>*.jsf</url-pattern>
>  </servlet-mapping>
>  <login-config>
>   <auth-method>BASIC</auth-method>
>  </login-config>
> </web-app>
> COMMON.XHTML:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <ui:composition xmlns="http://www.w3.org/1999/xhtml"
> 	xmlns:ui="http://java.sun.com/jsf/facelets"
> 	xmlns:h="http://java.sun.com/jsf/html"
> 	xmlns:f="http://java.sun.com/jsf/core"
> 	xmlns:rich="http://richfaces.org/rich"
> 	xmlns:a4j="http://richfaces.org/a4j">
> 	<html>
> 		<head>
> 			<title>
> 				<h:outputText value="TITLE" />
> 			</title>
> 			<script language="javascript" type="text/javascript">
> 				A4J.AJAX.onExpired = function(loc,expiredMsg){ 
> 					alert('SESSION EXPIRED');
> 				};
> 			</script>
> 			<link rel="stylesheet" type="text/css" href="styles/common.css"></link>
> 		</head>
> 		<body>
> 			<f:loadBundle basename="resources" var="msg" />
> 			<div id="pageDiv">
> 				<h:form id="form">
> 					<a4j:jsFunction name="navigateTo" action="#{menuView.navigateTo}" reRender="page" requestDelay="300">
> 						<a4j:actionparam name="navigateToParam" assignTo="#{menuView.toViewId}"/>
> 					</a4j:jsFunction>
> 					<h:panelGrid id="page" columns="1" cellpadding="0" cellspacing="0" border="0">
> 						<rich:toolBar  style="position:relative;z-index:100;vertical-align: top;" itemSeparator="disc">
> 							<a4j:commandButton onclick="navigateTo('/pages/home.xhtml');" value="HOME"   oncomplete="window.location.reload();" />
> 							<a4j:commandButton onclick="navigateTo('/pages/1.xhtml');"    value="PAGE 1" oncomplete="window.location.reload();" />
> 							<a4j:commandButton onclick="navigateTo('/pages/2.xhtml');"    value="PAGE 2" oncomplete="window.location.reload();" />
> 						</rich:toolBar>
> 						<ui:include src="#{menuView.toViewId}" />
> 					</h:panelGrid>
> 				</h:form>
> 			</div>
> 		</body>
> 	</html>
> </ui:composition>
> HOME.XHTML:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <ui:composition xmlns="http://www.w3.org/1999/xhtml"
>       xmlns:ui="http://java.sun.com/jsf/facelets"
>       xmlns:h="http://java.sun.com/jsf/html"
>       xmlns:f="http://java.sun.com/jsf/core"
>       xmlns:a4j="http://richfaces.org/a4j"
>       xmlns:rich="http://richfaces.org/rich">
> 	<h:outputText value="PAGE NAME = HOME"/>
> </ui:composition>
> 1.XHTML:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <ui:composition xmlns="http://www.w3.org/1999/xhtml"
>       xmlns:ui="http://java.sun.com/jsf/facelets"
>       xmlns:h="http://java.sun.com/jsf/html"
>       xmlns:f="http://java.sun.com/jsf/core"
>       xmlns:a4j="http://richfaces.org/a4j"
>       xmlns:rich="http://richfaces.org/rich">
> 	<h:outputText value="PAGE NAME = ONE"/>
> </ui:composition>
> 2.XHTML:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <ui:composition xmlns="http://www.w3.org/1999/xhtml"
>       xmlns:ui="http://java.sun.com/jsf/facelets"
>       xmlns:h="http://java.sun.com/jsf/html"
>       xmlns:f="http://java.sun.com/jsf/core"
>       xmlns:a4j="http://richfaces.org/a4j"
>       xmlns:rich="http://richfaces.org/rich">
> 	<h:outputText value="PAGE NAME = TWO"/>
> </ui:composition>
> STACK TRACE:
> Mar 23, 2009 6:18:42 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_12\jre\bin;.;C:\Windows\system32;C:\Windows;c:\PROGRA~1\Java\JRE16~1.0\bin;C:\Program Files\Common Files\ArcSoft\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\PROGRA~1\ULTRAE~1;C:\Program Files\TortoiseSVN\bin;C:\Program Files\QuickTime\QTSystem\
> Mar 23, 2009 6:18:42 PM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Mar 23, 2009 6:18:42 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 628 ms
> Mar 23, 2009 6:18:42 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Mar 23, 2009 6:18:42 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
> Mar 23, 2009 6:18:42 PM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Mar 23, 2009 6:18:43 PM com.sun.faces.config.ConfigureListener contextInitialized
> INFO: Initializing Mojarra (1.2_12-b01-FCS) for context 'TestBed'
> Mar 23, 2009 6:18:43 PM com.sun.faces.config.ConfigureListener contextInitialized
> WARNING: JSF1059: WARNING!  The com.sun.faces.verifyObjects feature is to aid developers not using tools.  It shouldn''t be enabled if using an IDE, or if this application is being deployed for production as it will impact application start times.
> Mar 23, 2009 6:18:44 PM com.sun.faces.spi.InjectionProviderFactory createInstance
> INFO: JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.
> 18:18:46,028  INFO CacheManager:67 - Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
> 18:18:46,034  INFO LRUMapCacheFactory:44 - Creating LRUMap cache instance using parameters: {com.sun.faces.validateXml=true, org.richfaces.SKIN=deepMarine, facelets.DEVELOPMENT=true, org.ajax4jsf.handleViewExpiredOnClient=true, javax.faces.DEFAULT_SUFFIX=.xhtml, com.sun.faces.verifyObjects=true, javax.faces.STATE_SAVING_METHOD=server, facelets.REFRESH_PERIOD=2, javax.faces.CONFIG_FILES=/WEB-INF/faces-config.xml}
> 18:18:46,035  INFO LRUMapCacheFactory:48 - Creating LRUMap cache instance of default capacity
> 18:18:46,057  INFO CacheManager:67 - Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
> 18:18:46,058  INFO LRUMapCacheFactory:44 - Creating LRUMap cache instance using parameters: {com.sun.faces.validateXml=true, org.richfaces.SKIN=deepMarine, facelets.DEVELOPMENT=true, org.ajax4jsf.handleViewExpiredOnClient=true, javax.faces.DEFAULT_SUFFIX=.xhtml, com.sun.faces.verifyObjects=true, javax.faces.STATE_SAVING_METHOD=server, facelets.REFRESH_PERIOD=2, javax.faces.CONFIG_FILES=/WEB-INF/faces-config.xml}
> 18:18:46,058  INFO LRUMapCacheFactory:48 - Creating LRUMap cache instance of default capacity
> Mar 23, 2009 6:18:51 PM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Mar 23, 2009 6:18:51 PM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Mar 23, 2009 6:18:51 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/22  config=null
> Mar 23, 2009 6:18:51 PM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Mar 23, 2009 6:18:52 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 9443 ms
> Mar 23, 2009 6:19:05 PM com.sun.faces.lifecycle.ELResolverInitPhaseListener populateFacesELResolverForJsp
> INFO: JSF1027: [TestBed] The ELResolvers for JSF were not registered with the JSP container.
> Mar 23, 2009 6:19:06 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
> INFO: Added Library from: jar:file:/C:/Users/Michael/Documents/Work/IDE/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/webapps/TestBed/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
> Mar 23, 2009 6:19:06 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
> INFO: Added Library from: jar:file:/C:/Users/Michael/Documents/Work/IDE/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/webapps/TestBed/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
> Mar 23, 2009 6:19:06 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
> INFO: Added Library from: jar:file:/C:/Users/Michael/Documents/Work/IDE/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/webapps/TestBed/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
> Mar 23, 2009 6:19:06 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
> INFO: Added Library from: jar:file:/C:/Users/Michael/Documents/Work/IDE/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/webapps/TestBed/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
> Mar 23, 2009 6:19:06 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
> INFO: Added Library from: jar:file:/C:/Users/Michael/Documents/Work/IDE/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/webapps/TestBed/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
> Mar 23, 2009 6:19:06 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
> INFO: Added Library from: jar:file:/C:/Users/Michael/Documents/Work/IDE/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/webapps/TestBed/WEB-INF/lib/jsf-impl.jar!/META-INF/mojarra_ext.taglib.xml
> Mar 23, 2009 6:19:06 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
> INFO: Added Library from: jar:file:/C:/Users/Michael/Documents/Work/IDE/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/webapps/TestBed/WEB-INF/lib/richfaces-ui-3.3.0.GA.jar!/META-INF/a4j.taglib.xml
> Mar 23, 2009 6:19:06 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
> INFO: Added Library from: jar:file:/C:/Users/Michael/Documents/Work/IDE/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/webapps/TestBed/WEB-INF/lib/richfaces-ui-3.3.0.GA.jar!/META-INF/ajax4jsf.taglib.xml
> Mar 23, 2009 6:19:06 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
> INFO: Added Library from: jar:file:/C:/Users/Michael/Documents/Work/IDE/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/webapps/TestBed/WEB-INF/lib/richfaces-ui-3.3.0.GA.jar!/META-INF/jsp.taglib.xml
> Mar 23, 2009 6:19:06 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
> INFO: Added Library from: jar:file:/C:/Users/Michael/Documents/Work/IDE/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/webapps/TestBed/WEB-INF/lib/richfaces-ui-3.3.0.GA.jar!/META-INF/rich.taglib.xml
> Mar 23, 2009 6:19:06 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
> INFO: Added Library from: jar:file:/C:/Users/Michael/Documents/Work/IDE/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/webapps/TestBed/WEB-INF/lib/richfaces-ui-3.3.0.GA.jar!/META-INF/richfaces.taglib.xml
> 18:19:13,089  INFO MenuView:29 - navigateTo(): Navigating to page /pages/1.xhtml
> Mar 23, 2009 6:20:51 PM com.sun.faces.lifecycle.Phase doPhase
> SEVERE: JSF1054: (Phase ID: RESTORE_VIEW 1, View ID: ) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl at 17a906e]
> 18:20:51,098 ERROR BaseXMLFilter:181 - Exception in the filter chain
> javax.servlet.ServletException: viewId:/templates/common.jsf - View /templates/common.jsf could not be restored.
>             at javax.faces.webapp.FacesServlet.service(FacesServlet.java:270)
>             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>             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:390)
>             at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)
>             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>             at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>             at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>             at java.lang.Thread.run(Thread.java:595)
> 18:20:51,100 ERROR [Faces Servlet]:253 - Servlet.service() for servlet Faces Servlet threw exception
> javax.faces.application.ViewExpiredException: viewId:/templates/common.jsf - View /templates/common.jsf could not be restored.
>             at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:185)
>             at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
>             at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:103)
>             at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
>             at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
>             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>             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:390)
>             at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)
>             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>             at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>             at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>             at java.lang.Thread.run(Thread.java:595)
> Mar 23, 2009 6:20:51 PM com.sun.faces.lifecycle.Phase doPhase
> SEVERE: JSF1054: (Phase ID: RESTORE_VIEW 1, View ID: ) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl at 17a906e]
> 18:20:51,380 ERROR BaseXMLFilter:181 - Exception in the filter chain
> javax.servlet.ServletException: viewId:/templates/common.jsf - View /templates/common.jsf could not be restored.
>             at javax.faces.webapp.FacesServlet.service(FacesServlet.java:270)
>             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>             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:390)
>             at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)
>             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>             at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>             at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>             at java.lang.Thread.run(Thread.java:595)
> 18:20:51,381 ERROR [Faces Servlet]:253 - Servlet.service() for servlet Faces Servlet threw exception
> javax.faces.application.ViewExpiredException: viewId:/templates/common.jsf - View /templates/common.jsf could not be restored.
>             at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:185)
>             at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
>             at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:103)
>             at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
>             at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
>             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>             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:390)
>             at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)
>             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>             at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>             at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>             at java.lang.Thread.run(Thread.java:595)

-- 
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