Topic
5 replies Latest Post - ‏2013-11-18T10:23:50Z by garaujo
SystemAdmin
SystemAdmin
30895 Posts
ACCEPTED ANSWER

Pinned topic ViewExpiredException in Annonymous portlet using JSF 2.0 in Portal 8

‏2013-02-15T16:28:45Z |
Hi all,
I have a JSF 2.0 portlet in Portal 8 that must be accessed by annonymous users in a page that will be available to non-logged users.

The first screen is a term of agreements screen with a textarea, a checkbox and a button. When the user checks the checkbox the button is enabled and it just make a forward to the next page.
When I access the page (and the portlet) for the FIRST time I click the checkbox, the button is enabled and I click the button. After the click a ViewExpiredException is thrown in the console, and the user is directed to the first screen again. On the SECOND time I click the checkbox, enable button and click it, it works perfectly and directs to the next page.
This happens every time I access the page, in all browsers. As soon I close the browser and open it again and access the page this happens.

Below are the codes:

Page:

<!-- jsf:pagecode language="java" location="/src/pagecode/CadastroView.java" --><!-- /jsf:pagecode -->


<portlet-client-model:init>
<portlet-client-model:require module="ibm.portal.xml.*"/>
<portlet-client-model:require module="ibm.portal.portlet.*"/>
</portlet-client-model:init>

<f:view>
<h:form id="formTermoAceite" >
<h:outputText styleClass="labelTituloAutoCadastro" value="#{mensagens.label_titulo_termo_aceite}"/>

<h:outputText value="#{mensagens.label_mensagem_termo_aceite_um}"/>
<h:outputText styleClass="labelDestaque" value="#{mensagens.label_mensagem_termo_aceite_dois}"/>
<h:outputText value="#{mensagens.label_mensagem_termo_aceite_tres}"/>


<h:inputTextarea styleClass="termosAceite" id="termosaceite" readonly="true" />

<h:selectBooleanCheckbox id="checkAceitarTermos" onclick="aceiteTermo(this);"/>
<h:outputLabel for="checkAceitarTermos">
<h:outputText for="checkAceitarTermos" styleClass="labelDestaque" value="#{mensagens.label_concordo}"/>
<h:outputText for="checkAceitarTermos" value="#{mensagens.label_mensagem_aceitar_termo}"/>
<h:outputText for="checkAceitarTermos" styleClass="labelDestaque" value="#{mensagens.label_site_cielo}"/>
</h:outputLabel>
<hr class="dottedhr"/>


<h:commandButton disabled="true" value="#{mensagens.botao_prosseguir}" styleClass="botaoProsseguirDesabilitado"/>
</h:form>

</f:view>

Controller:

/**
* Managed bean da tela de termo de aceite
* @author eduardoj
*
*/
@ManagedBean(name="termoAceiteController")
@ViewScoped
public class TermoAceiteController implements Serializable {

/**
*
*/
private static final long serialVersionUID = 1L;

public String prosseguir() {
return "dadosEstabelecimento";
}
}

Exception:

15/02/13 14:30:37:342 BRST 0000003e SystemErr R javax.faces.application.ViewExpiredException: /view/autocadastramento/termoAceite.xhtmlNo saved view state could be found for the view identifier: /view/autocadastramento/termoAceite.xhtml
15/02/13 14:30:37:343 BRST 0000003e SystemErr R at org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:128)
15/02/13 14:30:37:343 BRST 0000003e SystemErr R at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171)
15/02/13 14:30:37:343 BRST 0000003e SystemErr R at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
15/02/13 14:30:37:343 BRST 0000003e SystemErr R at com.ibm.faces20.portlet.FacesPortlet.processAction(FacesPortlet.java:314)
15/02/13 14:30:37:343 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:77)
15/02/13 14:30:37:343 BRST 0000003e SystemErr R at com.ibm.wps.engine.el.init.AttributeCopyFilter.doFilter(AttributeCopyFilter.java:111)
15/02/13 14:30:37:343 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:69)
15/02/13 14:30:37:344 BRST 0000003e SystemErr R at com.ibm.wps.resolver.iwidget.filter.IWidgetPortletFilter.doFilter(IWidgetPortletFilter.java:73)
15/02/13 14:30:37:344 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:69)
15/02/13 14:30:37:344 BRST 0000003e SystemErr R at com.ibm.wps.propertybroker.standard.filter.PropertyBrokerActionFilter.doFilter(PropertyBrokerActionFilter.java:749)
15/02/13 14:30:37:344 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:69)
15/02/13 14:30:37:344 BRST 0000003e SystemErr R at com.ibm.wps.propertybroker.standard.filter.C2APortletFilter.doFilter(C2APortletFilter.java:176)
15/02/13 14:30:37:344 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:69)
15/02/13 14:30:37:344 BRST 0000003e SystemErr R at com.ibm.wps.engine.dpr.portlet.impl.ProcessActionMemoFilter.doFilter(ProcessActionMemoFilter.java:87)
15/02/13 14:30:37:345 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:69)
15/02/13 14:30:37:345 BRST 0000003e SystemErr R at com.ibm.wps.pe.pc.waspc.plm.GlobalPortletLoadMonitoringFilter.doFilter(GlobalPortletLoadMonitoringFilter.java:218)
15/02/13 14:30:37:345 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:69)
15/02/13 14:30:37:345 BRST 0000003e SystemErr R at com.ibm.wps.pe.pc.waspc.filter.impl.GlobalPortletFilter.doFilter(GlobalPortletFilter.java:101)
15/02/13 14:30:37:345 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:69)
15/02/13 14:30:37:345 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:527)
15/02/13 14:30:37:345 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:114)
15/02/13 14:30:37:346 BRST 0000003e SystemErr R at com.ibm.isclite.container.collaborator.PortletServletCollaborator.doAction(PortletServletCollaborator.java:59)
15/02/13 14:30:37:346 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:101)
15/02/13 14:30:37:346 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.rrd.RRDServerPortletServletCollaborator.doAction(RRDServerPortletServletCollaborator.java:117)
15/02/13 14:30:37:346 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:101)
15/02/13 14:30:37:346 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.cache.CacheCollaborator.doAction(CacheCollaborator.java:84)
15/02/13 14:30:37:346 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:101)
15/02/13 14:30:37:346 BRST 0000003e SystemErr R at com.ibm.wps.pe.pc.waspc.core.impl.PortletServletCollaboratorImpl.doAction(PortletServletCollaboratorImpl.java:158)
15/02/13 14:30:37:346 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:101)
15/02/13 14:30:37:346 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:301)
15/02/13 14:30:37:346 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:82)
15/02/13 14:30:37:346 BRST 0000003e SystemErr R at com.ibm.isclite.container.collaborator.PortletServletCollaborator.doDispatch(PortletServletCollaborator.java:143)
15/02/13 14:30:37:347 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:74)
15/02/13 14:30:37:347 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.rrd.RRDServerPortletServletCollaborator.doDispatch(RRDServerPortletServletCollaborator.java:60)
15/02/13 14:30:37:347 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:74)
15/02/13 14:30:37:347 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.cache.CacheCollaborator.doDispatch(CacheCollaborator.java:74)
15/02/13 14:30:37:347 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:74)
15/02/13 14:30:37:347 BRST 0000003e SystemErr R at com.ibm.wps.pe.pc.waspc.core.impl.PortletServletCollaboratorImpl.doDispatch(PortletServletCollaboratorImpl.java:121)
15/02/13 14:30:37:347 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:74)
15/02/13 14:30:37:347 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.dispatch(PortletServlet.java:208)
15/02/13 14:30:37:347 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.service(PortletServlet.java:165)
15/02/13 14:30:37:347 BRST 0000003e SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
15/02/13 14:30:37:348 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1224)
15/02/13 14:30:37:348 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)
15/02/13 14:30:37:348 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)
15/02/13 14:30:37:348 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
15/02/13 14:30:37:348 BRST 0000003e SystemErr R at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
15/02/13 14:30:37:348 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
15/02/13 14:30:37:348 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
15/02/13 14:30:37:348 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
15/02/13 14:30:37:348 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
15/02/13 14:30:37:348 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1384)
15/02/13 14:30:37:348 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:548)
15/02/13 14:30:37:349 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:214)
15/02/13 14:30:37:349 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletInvokerCollaboratorChainImpl.doCollaborator(PortletInvokerCollaboratorChainImpl.java:76)
15/02/13 14:30:37:349 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.cache.PortletInvokerCacheCollaborator.doAction(PortletInvokerCacheCollaborator.java:50)
15/02/13 14:30:37:349 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletInvokerCollaboratorChainImpl.doCollaborator(PortletInvokerCollaboratorChainImpl.java:65)
15/02/13 14:30:37:349 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.ext.PortletInvokerPerformanceCollaborator.invoke(PortletInvokerPerformanceCollaborator.java:313)
15/02/13 14:30:37:349 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.ext.PortletInvokerPerformanceCollaborator.doInvoke(PortletInvokerPerformanceCollaborator.java:101)
15/02/13 14:30:37:349 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.ext.PortletInvokerPerformanceCollaborator.invokePMI(PortletInvokerPerformanceCollaborator.java:163)
15/02/13 14:30:37:349 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.ext.PortletInvokerPerformanceCollaborator.doInvoke(PortletInvokerPerformanceCollaborator.java:91)
15/02/13 14:30:37:349 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.ext.PortletInvokerPerformanceCollaborator.doAction(PortletInvokerPerformanceCollaborator.java:62)
15/02/13 14:30:37:349 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletInvokerCollaboratorChainImpl.doCollaborator(PortletInvokerCollaboratorChainImpl.java:65)
15/02/13 14:30:37:350 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:77)
15/02/13 14:30:37:350 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.PortletContainerImpl.doAction(PortletContainerImpl.java:188)
15/02/13 14:30:37:350 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.PortletContainerInvokerCollaboratorChainImpl.doCollaborator(PortletContainerInvokerCollaboratorChainImpl.java:78)
15/02/13 14:30:37:350 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.ext.ExtCollaborator.doAction(ExtCollaborator.java:60)
15/02/13 14:30:37:350 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.PortletContainerInvokerCollaboratorChainImpl.doCollaborator(PortletContainerInvokerCollaboratorChainImpl.java:65)
15/02/13 14:30:37:350 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.cache.CacheInvokerCollaborator.doAction(CacheInvokerCollaborator.java:76)
15/02/13 14:30:37:350 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.PortletContainerInvokerCollaboratorChainImpl.doCollaborator(PortletContainerInvokerCollaboratorChainImpl.java:65)
15/02/13 14:30:37:350 BRST 0000003e SystemErr R at com.ibm.wps.resolver.iwidget.filter.IWidgetPCInvokerCollaborator.doAction(IWidgetPCInvokerCollaborator.java:94)
15/02/13 14:30:37:350 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.PortletContainerInvokerCollaboratorChainImpl.doCollaborator(PortletContainerInvokerCollaboratorChainImpl.java:65)
15/02/13 14:30:37:350 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.PortletContainerImpl.processPortletAction(PortletContainerImpl.java:154)
15/02/13 14:30:37:350 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.pcinvoker.PortletInvokerImpl$1.run(PortletInvokerImpl.java:59)
15/02/13 14:30:37:350 BRST 0000003e SystemErr R at java.security.AccessController.doPrivileged(AccessController.java:280)
15/02/13 14:30:37:351 BRST 0000003e SystemErr R at com.ibm.ws.portletcontainer.pcinvoker.PortletInvokerImpl.invokeProcessAction(PortletInvokerImpl.java:55)
15/02/13 14:30:37:351 BRST 0000003e SystemErr R at com.ibm.wps.pe.pc.waspc.core.impl.PortletInvokerImpl$3.invoke(PortletInvokerImpl.java:121)
15/02/13 14:30:37:351 BRST 0000003e SystemErr R at com.ibm.wps.pe.pc.waspc.core.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:182)
15/02/13 14:30:37:351 BRST 0000003e SystemErr R at com.ibm.wps.pe.pc.waspc.core.impl.PortletInvokerImpl.invokeProcessAction(PortletInvokerImpl.java:119)
15/02/13 14:30:37:351 BRST 0000003e SystemErr R at com.ibm.wps.pe.pc.waspc.event.ActionEvent.execute(ActionEvent.java:78)
15/02/13 14:30:37:351 BRST 0000003e SystemErr R at com.ibm.wps.pe.pc.waspc.event.EventQueueManager.processEventLoop(EventQueueManager.java:114)
15/02/13 14:30:37:351 BRST 0000003e SystemErr R at com.ibm.wps.pe.pc.waspc.PortletContainerImpl.performEvents(PortletContainerImpl.java:237)
15/02/13 14:30:37:351 BRST 0000003e SystemErr R at com.ibm.wps.pe.pc.PortletContainerImpl.performEvents(PortletContainerImpl.java:287)
15/02/13 14:30:37:351 BRST 0000003e SystemErr R at com.ibm.wps.engine.phases.WPActionPhase.processPortlets(WPActionPhase.java:3626)
15/02/13 14:30:37:351 BRST 0000003e SystemErr R at com.ibm.wps.engine.phases.WPActionPhase.execute(WPActionPhase.java:995)
15/02/13 14:30:37:351 BRST 0000003e SystemErr R at com.ibm.wps.state.phases.AbstractActionPhase.next(AbstractActionPhase.java:146)
15/02/13 14:30:37:352 BRST 0000003e SystemErr R at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:305)
15/02/13 14:30:37:352 BRST 0000003e SystemErr R at com.ibm.wps.engine.Servlet.doGet(Servlet.java:686)
15/02/13 14:30:37:352 BRST 0000003e SystemErr R at com.ibm.wps.engine.Servlet.doPost(Servlet.java:852)
15/02/13 14:30:37:352 BRST 0000003e SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
15/02/13 14:30:37:352 BRST 0000003e SystemErr R at com.ibm.wps.engine.Servlet.doFilter(Servlet.java:411)
15/02/13 14:30:37:352 BRST 0000003e SystemErr R at com.ibm.wps.resolver.servlet.ContentHandlerCleanup.doFilter(ContentHandlerCleanup.java:767)
15/02/13 14:30:37:352 BRST 0000003e SystemErr R at com.ibm.wps.resolver.servlet.AbstractFilter.doFilter(AbstractFilter.java:96)
15/02/13 14:30:37:352 BRST 0000003e SystemErr R at com.ibm.wps.engine.Servlet.service(Servlet.java:1372)
15/02/13 14:30:37:352 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1224)
15/02/13 14:30:37:352 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)
15/02/13 14:30:37:352 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)
15/02/13 14:30:37:352 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
15/02/13 14:30:37:353 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
15/02/13 14:30:37:353 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
15/02/13 14:30:37:353 BRST 0000003e SystemErr R at com.ibm.wps.engine.ExtensionFilter$ExtendedFilterChain.doFilter(ExtensionFilter.java:110)
15/02/13 14:30:37:353 BRST 0000003e SystemErr R at com.ibm.wps.engine.ExtensionFilter.doFilter(ExtensionFilter.java:197)
15/02/13 14:30:37:353 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
15/02/13 14:30:37:353 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
15/02/13 14:30:37:353 BRST 0000003e SystemErr R at com.ibm.wps.engine.SupportedLocalesFilter.doFilter(SupportedLocalesFilter.java:113)
15/02/13 14:30:37:353 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
15/02/13 14:30:37:353 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
15/02/13 14:30:37:353 BRST 0000003e SystemErr R at com.ibm.wps.engine.ExtendedLocaleFilter.doFilter(ExtendedLocaleFilter.java:113)
15/02/13 14:30:37:353 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
15/02/13 14:30:37:353 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
15/02/13 14:30:37:353 BRST 0000003e SystemErr R at com.ibm.wps.resolver.friendly.servlet.FriendlySelectionFilter.doFilter(FriendlySelectionFilter.java:191)
15/02/13 14:30:37:354 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
15/02/13 14:30:37:354 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
15/02/13 14:30:37:354 BRST 0000003e SystemErr R at com.ibm.wps.project.filter.ProjectIdFilter.doFilterWithoutProjectID(ProjectIdFilter.java:331)
15/02/13 14:30:37:354 BRST 0000003e SystemErr R at com.ibm.wps.project.filter.ProjectIdFilter.doFilter(ProjectIdFilter.java:243)
15/02/13 14:30:37:354 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
15/02/13 14:30:37:354 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
15/02/13 14:30:37:354 BRST 0000003e SystemErr R at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:443)
15/02/13 14:30:37:354 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
15/02/13 14:30:37:354 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
15/02/13 14:30:37:354 BRST 0000003e SystemErr R at com.ibm.wps.engine.VirtualPortalFilter.doFilter(VirtualPortalFilter.java:88)
15/02/13 14:30:37:354 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
15/02/13 14:30:37:354 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
15/02/13 14:30:37:355 BRST 0000003e SystemErr R at com.ibm.wps.resolver.servlet.ContentHandlerGzip.internalDoFilter(ContentHandlerGzip.java:704)
15/02/13 14:30:37:355 BRST 0000003e SystemErr R at com.ibm.wps.resolver.servlet.ContentHandlerGzip.doFilter(ContentHandlerGzip.java:451)
15/02/13 14:30:37:355 BRST 0000003e SystemErr R at com.ibm.wps.resolver.servlet.AbstractFilter.doFilter(AbstractFilter.java:96)
15/02/13 14:30:37:355 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
15/02/13 14:30:37:355 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
15/02/13 14:30:37:355 BRST 0000003e SystemErr R at com.ibm.wps.state.filter.StateCleanup.doFilter(StateCleanup.java:103)
15/02/13 14:30:37:355 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
15/02/13 14:30:37:355 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
15/02/13 14:30:37:355 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
15/02/13 14:30:37:355 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
15/02/13 14:30:37:355 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3751)
15/02/13 14:30:37:355 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
15/02/13 14:30:37:356 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:962)
15/02/13 14:30:37:356 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
15/02/13 14:30:37:356 BRST 0000003e SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
15/02/13 14:30:37:356 BRST 0000003e SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
15/02/13 14:30:37:356 BRST 0000003e SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
15/02/13 14:30:37:356 BRST 0000003e SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
15/02/13 14:30:37:356 BRST 0000003e SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
15/02/13 14:30:37:356 BRST 0000003e SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
15/02/13 14:30:37:356 BRST 0000003e SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
15/02/13 14:30:37:356 BRST 0000003e SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
15/02/13 14:30:37:356 BRST 0000003e SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
15/02/13 14:30:37:356 BRST 0000003e SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
15/02/13 14:30:37:356 BRST 0000003e SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
15/02/13 14:30:37:357 BRST 0000003e SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
15/02/13 14:30:37:357 BRST 0000003e SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
15/02/13 14:30:37:357 BRST 0000003e SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
15/02/13 14:30:37:357 BRST 0000003e SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1690)

Any help/idea? This has consumed 2 days of work and I still have no clue what's caysing this. thanks in advance!
Updated on 2013-02-15T18:18:18Z at 2013-02-15T18:18:18Z by SystemAdmin
  • Mark_Winton
    Mark_Winton
    110 Posts
    ACCEPTED ANSWER

    Re: ViewExpiredException in Annonymous portlet using JSF 2.0 in Portal 8

    ‏2013-02-15T18:15:12Z  in response to SystemAdmin
    It's been a long day so I'm probably missing something obvious, but your managed bean is named "termoAceiteController", but in the facelet code you're calling "mensagens"; what's the source for mensagens?

    From what I can recall I think I hit errors like this when I had logic going on in my MBean's constructor - are you perhaps doing anything in the "mensagens" constructor?
    • SystemAdmin
      SystemAdmin
      30895 Posts
      ACCEPTED ANSWER

      Re: ViewExpiredException in Annonymous portlet using JSF 2.0 in Portal 8

      ‏2013-02-15T18:18:18Z  in response to Mark_Winton
      Mensagens is where I'm putting all the resource bundles. Here's the faces-config.xml for it:

      <application>
      <resource-bundle>
      <base-name>resources.mensagens</base-name>
      <var>mensagens</var>
      </resource-bundle>
      <locale-config>
      <default-locale>pt_BR</default-locale>
      <supported-locale>en_US</supported-locale>
      </locale-config>
      </application>
  • 2180_Walter_Lee
    2180_Walter_Lee
    3 Posts
    ACCEPTED ANSWER

    Re: ViewExpiredException in Annonymous portlet using JSF 2.0 in Portal 8

    ‏2013-07-02T15:39:28Z  in response to SystemAdmin

    Did you end up finding a solution for this issue?

  • AElSayed
    AElSayed
    1 Post
    ACCEPTED ANSWER

    Re: ViewExpiredException in Annonymous portlet using JSF 2.0 in Portal 8

    ‏2013-10-27T10:49:42Z  in response to SystemAdmin

    You need to enable anonymous session.

    Put the following lines in your portlet.xml (inside the <portlet> tag)

     

    <container-runtime-option>
          <name>com.ibm.portal.public.session</name>
          <value>true</value>
    </container-runtime-option>

    • garaujo
      garaujo
      1 Post
      ACCEPTED ANSWER

      Re: ViewExpiredException in Annonymous portlet using JSF 2.0 in Portal 8

      ‏2013-11-18T10:23:50Z  in response to AElSayed

      After I put the public session information on my portlet, locally (my test environment is on my machine) the problem stopped. But after I redeploy the portlet to the server (remote) I still have the problem.

      Any tips?