Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Martin Straus
Simple JSF Ajax causes ViewExpiredException on Weblogic
March 27, 2013 9:30 AM
Answer

Martin Straus

Rank: New Member

Posts: 19

Join Date: July 6, 2012

Recent Posts

Hello! I'm having a curious little problem with a portlet built using JSF on Weblogic.

The scenario is simple: I have two <h:selectOneMenu/> components. When an item is selected in the first component, the second component must re-render, updating the list of options. So, I'm trying to use <f:ajax/> to update the managed bean and re-render the second component. It works perfectly on Tomcat, but fails on Weblogic.

This is the portlet's view:

 1<?xml version='1.0' encoding='UTF-8' ?>
 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 3<html xmlns="http://www.w3.org/1999/xhtml"
 4      xmlns:h="http://java.sun.com/jsf/html"
 5      xmlns:f="http://java.sun.com/jsf/core"
 6      xmlns:p="http://primefaces.org/ui">
 7    <h:head>
 8        <title>Facelet Title</title>
 9    </h:head>
10    <h:body>
11        <h:form>
12            <h:messages/>
13            <h:panelGrid columns="2">
14                <h:outputLabel for="valueA" value="Value A: "/>
15                <h:outputText id="valueA" value="#{test.valueA}"/>
16                <h:outputLabel for="valueB" value="Value B: "/>
17                <h:outputText id="valueB" value="#{test.valueB}"/>
18            </h:panelGrid>
19            <h:panelGrid columns="2">
20                <h:outputLabel for="comboA" value="Select A"/>
21                <h:selectOneMenu id="comboA" value="#{test.valueA}">
22                    <f:ajax render="valueA comboB" listener="#{test.aChanged}"/>
23                    <f:selectItem itemValue="#{null}" itemLabel=""/>
24                    <f:selectItems value="#{test.listA}" var="v" itemValue="#{a}" itemLabel="#{a}"/>
25                </h:selectOneMenu>
26                <h:outputLabel for="comboB" value="Select B"/>
27                <h:selectOneMenu id="comboB" value="#{test.valueB}">
28                    <f:ajax listener="#{test.bChanged}" render="valueB"/>
29                    <f:selectItem itemValue="#{null}" itemLabel=""/>
30                    <f:selectItems value="#{test.listB}" var="v" itemValue="#{b}" itemLabel="#{b}"/>
31                </h:selectOneMenu>
32            </h:panelGrid>
33            <h:commandButton actionListener="#{test.execute}" value="Execute"/>
34
35        </h:form>
36       
37    </h:body>
38</html>


This is the managed bean:

 1package ar.com.fit.test;
 2
 3import java.util.Arrays;
 4import java.util.HashMap;
 5import java.util.List;
 6import java.util.Map;
 7import javax.annotation.PostConstruct;
 8import javax.faces.bean.ManagedBean;
 9import javax.faces.bean.ViewScoped;
10import javax.faces.context.FacesContext;
11
12@ManagedBean(name = "test")
13@ViewScoped
14public class Test implements java.io.Serializable {
15
16    private String valueA;
17    private String valueB;
18    private Map<String, List<String>> map;
19    private List<String> listA;
20    private List<String> listB;
21
22    @PostConstruct
23    public void postConstruct() {
24        if (!FacesContext.getCurrentInstance().isPostback()) {
25            map = new HashMap<String, List<String>>();
26            map.put("A", Arrays.asList("B", "C"));
27            map.put("B", Arrays.asList("A", "C"));
28            map.put("C", Arrays.asList("A", "B"));
29            listA = Arrays.asList("A", "B", "C");
30        }
31    }
32
33    public List<String> getListA() {
34        return listA;
35    }
36
37    public List<String> getListB() {
38        return listB;
39    }
40
41    public String getValueA() {
42        return valueA;
43    }
44
45    public void setValueA(String valueA) {
46        this.valueA = valueA;
47    }
48
49    public String getValueB() {
50        return valueB;
51    }
52
53    public void setValueB(String valueB) {
54        this.valueB = valueB;
55    }
56
57    public void aChanged() {
58        System.out.println("A changed: " + valueA);
59        if (valueA != null) {
60            listB = map.get(valueA);
61        } else {
62            listB = null;
63        }
64    }
65
66    public void bChanged() {
67        System.out.println("B changed: " + valueB);
68    }
69
70    public void execute() {
71        System.out.println("Value A: " + valueA);
72        System.out.println("Value B: " + valueB);
73    }
74}


After selecting the item in the first <h:selectOneMenu/> the Ajax request is sent to the server, resulting in this stack trace from hell:

  1javax.faces.application.ViewExpiredException: viewId:/views/view.xhtml - View /views/view.xhtml could not be restored.
  2        at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:205)
  3        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
  4        at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)
  5        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
  6        at com.liferay.faces.bridge.lifecycle.LifecycleWrapper.execute(LifecycleWrapper.java:35)
  7        at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:99)
  8        at com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:116)
  9        at javax.portlet.faces.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:178)
 10        at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:118)
 11        at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
 12        at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:111)
 13        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 14        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
 15        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
 16        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
 17        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 18        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 19        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 20        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
 21        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 22        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
 23        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 24        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
 25        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
 26        at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:531)
 27        at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:626)
 28        at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:436)
 29        at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:1075)
 30        at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:719)
 31        at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:249)
 32        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
 33        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
 34        at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
 35        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 36        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
 37        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 38        at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:560)
 39        at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:537)
 40        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 41        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
 42        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
 43        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
 44        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 45        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 46        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 47        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 48        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 49        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 50        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 51        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 52        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 53        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
 54        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 55        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 56        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 57        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
 58        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 59        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
 60        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
 61        at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:138)
 62        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 63        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
 64        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
 65        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
 66        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 67        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 68        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 69        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 70        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 71        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 72        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 73        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 74        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 75        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
 76        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 77        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 78        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 79        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 80        at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
 81        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 82        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 83        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 84        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 85        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 86        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 87        at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:56)
 88        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 89        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 90        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 91        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 92        at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:246)
 93        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 94        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 95        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 96        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 97        at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
 98        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 99        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
100        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
101        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
102        at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
103        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
104        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
105        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
106        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
107        at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:216)
108        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
109        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
110        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
111        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
112        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
113        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
114        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
115        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
116        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
117        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
118        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
119        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
120        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
121        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
122        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
123        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
124        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
125        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
126        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
127        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
128        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
129        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
130        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
131        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
132        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
133        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
134        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
135        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
136        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
137        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
138        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)


Researching on the exception, I found this article. So, I modified web.xml to include that context-param:

 1<?xml version="1.0"?>
 2<web-app
 3    version="2.5"
 4    xmlns="http://java.sun.com/xml/ns/javaee"
 5    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 6    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
 7>
 8    <context-param>
 9        <param-name>com.sun.faces.expressionFactory</param-name>
10        <param-value>org.jboss.el.ExpressionFactoryImpl</param-value>
11    </context-param>
12    <context-param>
13        <param-name>javax.faces.PROJECT_STAGE</param-name>
14        <param-value>Production</param-value>
15    </context-param>
16    <context-param>
17        <param-name>com.sun.faces.enableRestoreView11Compatibility</param-name>
18        <param-value>true</param-value>
19    </context-param>
20    <servlet>
21        <servlet-name>Faces Servlet</servlet-name>
22        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
23        <load-on-startup>1</load-on-startup>
24    </servlet>
25</web-app>


This efectively avoids the exception, but does not solve the underlying problem, because a new instance of the bean is created, which is not what I want.

So, the diagnostic seems to be that for some reason, when a managed bean is annotated with @ViewScoped, it is not properly recognized upon a second request. Thus, it behaves as if it were annotated with @RequestScoped.

Has anyone faced this problem? Remember: it works fine on Tomcat, but fails on Weblogic.

This is the configuration I'm using:
  • Liferay Version: 6.1.1-ce-ga2
  • Weblogic Version: 10.3.5.0
  • Liferay faces JSF bridge version: 3.1.0-ga1
  • JSF version: RI 2.1.3-b02


Thanks!
Vernon Singleton
RE: Simple JSF Ajax causes ViewExpiredException on Weblogic
March 27, 2013 12:05 PM
Answer

Vernon Singleton

LIFERAY STAFF

Rank: Regular Member

Posts: 226

Join Date: January 14, 2013

Recent Posts

Hi Martin,

You may want to upgrade to a later version of Mojarra.
There have been many fixes for ViewScoped beans since 2.1.3-b02.
And if you do that, try to upgrade to 2.1.20, since there have also
been some fixes for ViewScoped beans at least as recently as 2.1.16.

I have been testing ViewScoped beans with primefaces against mojarra 2.1.20
recently, and everything is working fine.

Just curious, are you putting mojarra in your WEB-INF/lib or using the version of JSF that is in the weblogic global classpath?

Hope that helps,
Vernon
Martin Straus
RE: Simple JSF Ajax causes ViewExpiredException on Weblogic
March 27, 2013 1:54 PM
Answer

Martin Straus

Rank: New Member

Posts: 19

Join Date: July 6, 2012

Recent Posts

You may want to upgrade to a later version of Mojarra.


Thanks, Vernon. I'll give it a try and report back.

Just curious, are you putting mojarra in your WEB-INF/lib or using the version of JSF that is in the weblogic global classpath?


I've tried both:
  • Including Mojarra in WEB-INF/lib
  • Referencing Weblogic's JSF 2.0 implementation in weblogic.xml
Martin Straus
RE: Simple JSF Ajax causes ViewExpiredException on Weblogic
March 27, 2013 2:55 PM
Answer

Martin Straus

Rank: New Member

Posts: 19

Join Date: July 6, 2012

Recent Posts

I've tried it with the latest stable release of Mojarra (2.1.19), but the error persists:

  114:16:16,339 ERROR [ExceptionHandlerAjaxImpl:62] viewId:/views/view.xhtml - View /views/view.xhtml could not be restored.
  2javax.faces.application.ViewExpiredException: viewId:/views/view.xhtml - View /views/view.xhtml could not be restored.
  3        at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:196)
  4        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
  5        at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)
  6        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
  7        at com.liferay.faces.bridge.lifecycle.LifecycleWrapper.execute(LifecycleWrapper.java:35)
  8        at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:99)
  9        at com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:128)
 10        at javax.portlet.faces.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:178)
 11        at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:118)
 12        at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
 13        at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:111)
 14        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 15        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
 16        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
 17        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
 18        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 19        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 20        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 21        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
 22        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 23        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
 24        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 25        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
 26        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
 27        at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:531)
 28        at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:626)
 29        at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:436)
 30        at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:1075)
 31        at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:719)
 32        at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:249)
 33        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
 34        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
 35        at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
 36        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 37        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
 38        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 39        at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:560)
 40        at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:537)
 41        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 42        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
 43        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
 44        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
 45        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 46        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 47        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 48        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 49        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 50        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 51        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 52        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 53        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 54        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
 55        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 56        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 57        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 58        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
 59        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 60        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
 61        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
 62        at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:138)
 63        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 64        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
 65        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
 66        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
 67        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 68        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 69        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 70        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 71        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 72        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 73        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 74        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 75        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 76        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
 77        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 78        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 79        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 80        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 81        at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
 82        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 83        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 84        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 85        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 86        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 87        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 88        at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:56)
 89        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 90        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 91        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 92        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 93        at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:246)
 94        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 95        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 96        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 97        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 98        at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
 99        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
100        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
101        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
102        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
103        at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
104        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
105        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
106        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
107        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
108        at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:216)
109        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
110        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
111        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
112        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
113        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
114        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
115        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
116        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
117        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
118        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
119        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
120        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
121        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
122        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
123        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
124        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
125        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
126        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
127        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
128        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
129        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
130        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
131        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
132        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
133        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
134        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
135        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
136        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
137        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
138        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
139        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
140javax.faces.application.ViewExpiredException: viewId:/views/view.xhtml - View /views/view.xhtml could not be restored.
141        at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:196)
142        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
143        at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)
144        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
145        at com.liferay.faces.bridge.lifecycle.LifecycleWrapper.execute(LifecycleWrapper.java:35)
146        at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:99)
147        at com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:128)
148        at javax.portlet.faces.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:178)
149        at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:118)
150        at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
151        at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:111)
152        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
153        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
154        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
155        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
156        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
157        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
158        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
159        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
160        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
161        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
162        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
163        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
164        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
165        at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:531)
166        at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:626)
167        at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:436)
168        at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:1075)
169        at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:719)
170        at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:249)
171        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
172        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
173        at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
174        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
175        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
176        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
177        at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:560)
178        at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:537)
179        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
180        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
181        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
182        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
183        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
184        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
185        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
186        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
187        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
188        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
189        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
190        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
191        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
192        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
193        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
194        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
195        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
196        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
197        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
198        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
199        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
200        at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:138)
201        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
202        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
203        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
204        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
205        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
206        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
207        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
208        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
209        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
210        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
211        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
212        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
213        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
214        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
215        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
216        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
217        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
218        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
219        at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
220        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
221        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
222        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
223        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
224        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
225        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
226        at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:56)
227        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
228        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
229        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
230        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
231        at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:246)
232        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
233        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
234        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
235        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
236        at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
237        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
238        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
239        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
240        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
241        at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
242        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
243        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
244        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
245        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
246        at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:216)
247        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
248        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
249        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
250        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
251        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
252        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
253        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
254        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
255        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
256        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
257        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
258        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
259        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
260        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
261        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
262        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
263        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
264        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
265        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
266        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
267        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
268        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
269        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
270        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
271        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
272        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
273        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
274        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
275        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
276        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
277        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
27814:16:16,428 ERROR [[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'][SecureFilter:81] java.lang.IllegalStateException: Cannot obtain OutputStream because Writer is already in use
279java.lang.IllegalStateException: Cannot obtain OutputStream because Writer is already in use
280        at com.liferay.portal.kernel.servlet.ByteBufferServletResponse.getOutputStream(ByteBufferServletResponse.java:64)
281        at weblogic.servlet.internal.DelegateChunkWriter.getWriter(DelegateChunkWriter.java:153)
282        at weblogic.servlet.internal.DelegateChunkWriter.print(DelegateChunkWriter.java:118)
283        at weblogic.servlet.internal.ChunkOutputWrapper.print(ChunkOutputWrapper.java:171)
284        at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:177)
285        at weblogic.servlet.jsp.JspWriterImpl.write(JspWriterImpl.java:273)
286        at jsp_servlet._html._common._themes.__portal._jspService(__portal.java:302)
287        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
288        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
289        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
290        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
291        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
292        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
293        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
294        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
295        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
296        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
297        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
298        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
299        at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:79)
300        at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:282)
301        at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
302        at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:341)
303        at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:572)
304        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221)
305        at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
306        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
307        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
308        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
309        at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:560)
310        at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:537)
311        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
312        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
313        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
314        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
315        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
316        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
317        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
318        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
319        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
320        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
321        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
322        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
323        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
324        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
325        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
326        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
327        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
328        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
329        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
330        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
331        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
332        at com.liferay.portal.util.PortalImpl.sendError(PortalImpl.java:5384)
333        at com.liferay.portal.util.PortalImpl.sendError(PortalImpl.java:5265)
334        at com.liferay.portal.util.PortalUtil.sendError(PortalUtil.java:1609)
335        at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:749)
336        at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:249)
337        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
338        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
339        at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
340        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
341        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
342        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
343        at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:560)
344        at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:537)
345        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
346        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
347        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
348        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
349        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
350        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
351        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
352        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
353        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
354        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
355        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
356        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
357        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
358        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
359        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
360        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
361        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
362        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
363        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
364        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
365        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
366        at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:138)
367        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
368        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
369        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
370        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
371        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
372        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
373        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
374        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
375        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
376        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
377        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
378        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
379        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
380        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
381        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
382        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
383        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
384        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
385        at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
386        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
387        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
388        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
389        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
390        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
391        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
392        at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:56)
393        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
394        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
395        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
396        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
397        at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:246)
398        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
399        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
400        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
401        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
402        at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
403        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
404        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
405        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
406        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
407        at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
408        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
409        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
410        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
411        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
412        at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:216)
413        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
414        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
415        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
416        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
417        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
418        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
419        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
420        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
421        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
422        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
423        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
424        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
425        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
426        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
427        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
428        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
429        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
430        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
431        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
432        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
433        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
434        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
435        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
436        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
437        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
438        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
439        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
440        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
441        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
442        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
443        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)


Note that there is another exception in the trace:

114:16:16,428 ERROR [[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'][SecureFilter:81] java.lang.IllegalStateException: Cannot obtain OutputStream because Writer is already in use
2java.lang.IllegalStateException: Cannot obtain OutputStream because Writer is already in use


I've also tried it with the latest Mojarra release (2.2.0-m09); with this one, the portlet doesn't even render. I get this exception:

  114:33:01,731 ERROR [ExceptionHandlerAjaxImpl:62]
  2java.lang.UnsupportedOperationException
  3        at javax.faces.context.ExternalContext.getClientWindow(ExternalContext.java:1500)
  4        at com.sun.faces.context.PartialViewContextImpl.renderState(PartialViewContextImpl.java:441)
  5        at com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:318)
  6        at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:219)
  7        at com.liferay.faces.util.context.PartialViewContextCleanupImpl.processPartial(PartialViewContextCleanupImpl.java:89)
  8        at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:1004)
  9        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1847)
 10        at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:417)
 11        at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
 12        at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
 13        at com.liferay.faces.bridge.application.ViewHandlerCompatImpl.renderView(ViewHandlerCompatImpl.java:35)
 14        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
 15        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
 16        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:202)
 17        at com.liferay.faces.bridge.lifecycle.LifecycleWrapper.render(LifecycleWrapper.java:45)
 18        at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:117)
 19        at com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:128)
 20        at javax.portlet.faces.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:178)
 21        at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:118)
 22        at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
 23        at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:111)
 24        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 25        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
 26        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
 27        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
 28        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 29        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 30        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 31        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
 32        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 33        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
 34        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 35        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
 36        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
 37        at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:531)
 38        at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:626)
 39        at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:436)
 40        at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:1075)
 41        at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:719)
 42        at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:249)
 43        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
 44        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
 45        at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
 46        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 47        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
 48        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 49        at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:560)
 50        at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:537)
 51        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 52        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
 53        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
 54        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
 55        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 56        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 57        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 58        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 59        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 60        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 61        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 62        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 63        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 64        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
 65        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 66        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 67        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 68        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
 69        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 70        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
 71        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
 72        at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:138)
 73        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 74        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
 75        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
 76        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
 77        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 78        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 79        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 80        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 81        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 82        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 83        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 84        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 85        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 86        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
 87        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 88        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 89        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 90        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 91        at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
 92        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 93        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 94        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 95        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 96        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 97        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 98        at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:56)
 99        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
100        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
101        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
102        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
103        at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:246)
104        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
105        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
106        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
107        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
108        at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
109        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
110        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
111        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
112        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
113        at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
114        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
115        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
116        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
117        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
118        at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:216)
119        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
120        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
121        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
122        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
123        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
124        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
125        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
126        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
127        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
128        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
129        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
130        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
131        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
132        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
133        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
134        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
135        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
136        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
137        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
138        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
139        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
140        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
141        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
142        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
143        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
144        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
145        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
146        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
147        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
148        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
149        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)


I don't think it's an issue with the JSF implementation, since that same implementation in the same Weblogic out outside Liferay (in a simple web application) works perfectly. Could it be an issue with Liferay Faces Bridge?

I seriously doubt I'm the only person in the whole world having this error, but I didn't find anything on the Liferay forums, Google o stackoverflow.com

Help? Please? ;)
Vernon Singleton
RE: Simple JSF Ajax causes ViewExpiredException on Weblogic
April 1, 2013 9:32 AM
Answer

Vernon Singleton

LIFERAY STAFF

Rank: Regular Member

Posts: 226

Join Date: January 14, 2013

Recent Posts

Hello again Martin,

One of our gurus gave this some thought, and looked at your error, and remembered on older forum post:
http://www.liferay.com/community/forums/-/message_boards/view_message/11489377#_19_message_13982764

It discusses an ETag filter that needs to be disabled.
Please read through that post, but basically from that post it says:
You can disable it by putting this line in your portal-ext.properties:
com.liferay.portal.servlet.filters.etag.ETagFilter=false


We are also gathering some resources to see if we can reproduce your issue, but please do not wait for us to do that.
Just let us know if disabling the ETag filter helps.

- Vernon
Martin Straus
RE: Simple JSF Ajax causes ViewExpiredException on Weblogic
April 5, 2013 10:41 AM
Answer

Martin Straus

Rank: New Member

Posts: 19

Join Date: July 6, 2012

Recent Posts

Vernon, I tried your suggestion, but it didn't work. This is the content of my portal-ext.properties:

1jdbc.default.jndi.name=jdbc/LiferayPool
2liferay.home=/domains/Canales/liferayHome
3setup.wizard.enabled=false
4auto.deploy.weblogic.dest.dir=/domains/Canales/liferayHome/portlets
5com.liferay.portal.servlet.filters.etag.ETagFilter=false


Could any of your gurus find any clue? It seems to me that it should fail for everybody, since I don't see any strange in the test portlet I built. I'm attaching the portlet (sources and WAR file) I used to reproduce this issue.

Any help is appreciated!
Attachments: PorletPruebaJSF-1.0-SNAPSHOT-sources.zip (8.1k), PorletPruebaJSF-1.0-SNAPSHOT.war (5,034.2k)
Martin Straus
RE: Simple JSF Ajax causes ViewExpiredException on Weblogic
April 5, 2013 10:49 AM
Answer

Martin Straus

Rank: New Member

Posts: 19

Join Date: July 6, 2012

Recent Posts

Another thing I failed to mention. I'm getting this exception whenever I load the page in which I included the portlet:

 1<Apr 5, 2013 10:37:10 AM ART> <Error> <HTTP Session> <BEA-100028> <Could not deserialize session data.
 2java.lang.ClassNotFoundException: javax.faces.event.ActionEvent
 3        at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
 4        at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
 5        at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
 6        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
 7        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 8        Truncated. see log file for complete stacktrace
 9>


Even though this exception occurs, the portlet is rendered correctly.
Martin Straus
RE: Simple JSF Ajax causes ViewExpiredException on Weblogic
April 5, 2013 1:01 PM
Answer

Martin Straus

Rank: New Member

Posts: 19

Join Date: July 6, 2012

Recent Posts

More data...

I enabled debug logging for Liferay Faces Bridge and this is what I get when the server processes the Ajax request:

  112:46:50,823 DEBUG [BridgePhaseResourceImpl:50] ----------------------------------------------------------------------
  212:46:50,849 DEBUG [BridgePhaseResourceImpl:51] execute(ResourceRequest, ResourceResponse) portletName=[PorletPruebaJSF]
  312:46:50,850 DEBUG [PortletContainerLiferayImpl:115] Detected Liferay build number 6101
  412:46:50,852 DEBUG [PortletContainerLiferayImpl:162] User-Agent requested URL=[http://aspagd01:7003/web/guest/home?p_p_id=PorletPruebaJSF_WAR_PorletPruebaJSF10SNAPSHOT&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_cacheability=cacheLevelPage&p_p_col_id=column-2&p_p_col_count=1&_PorletPruebaJSF_WAR_PorletPruebaJSF10SNAPSHOT__jsfBridgeAjax=true&_PorletPruebaJSF_WAR_PorletPruebaJSF10SNAPSHOT__facesViewIdResource=%2Fviews%2Fview.xhtml]
  512:46:50,854 DEBUG [RequestHeaderValuesMap:207] Adding acceptHeader=[text/html] to header map
  612:46:50,855 DEBUG [RequestHeaderValuesMap:243] Adding contentTypeHeader=[Content-Type: application/x-www-form-urlencoded;charset=UTF-8; charset=UTF-8] to header map
  712:46:50,857 DEBUG [RequestHeaderMap:45] Adding content-type=[L[Content-Type: application/x-www-form-urlencoded;charset=UTF-8; charset=UTF-8]] to header map
  812:46:50,858 DEBUG [RequestHeaderMap:45] Adding javax.portlet.markup.head.element.support=[L[true]] to header map
  912:46:50,859 DEBUG [RequestHeaderMap:45] Adding faces-request=[L[partial/ajax]] to header map
 1012:46:50,860 DEBUG [RequestHeaderMap:45] Adding accept=[L[text/html]] to header map
 1112:46:50,862 DEBUG [RequestHeaderMap:45] Adding user-agent=[L[Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31]] to header map
 1212:46:50,863 DEBUG [BridgeContextImpl:763] request parameter _facesViewIdResource=[/views/view.xhtml]
 1312:46:50,864 DEBUG [FacesViewImpl:90] Attempting to determine if viewId=[/views/view.xhtml] is extension-mapped to urlPattern=[*.xhtml]
 1412:46:50,866 DEBUG [ServletMappingImpl:98] Testing match for servlet-mapping url-pattern=[*.xhtml] EXTENSION=[.xhtml] uri=[/views/view.xhtml] match=[true]
 1512:46:50,867 DEBUG [ResourceHandlerInnerImpl:581] Bridge did not find the javax.faces.resource request parameter so delegating isResourceRequest to chain
 1612:46:50,868 DEBUG [BridgeContextImpl:1089] requestServletPath=[/views/view.xhtml] extensionMapped=[.xhtml] viewId=[/views/view.xhtml]
 1712:46:50,869 DEBUG [BridgeContextImpl:1042] requestPathInfo=[null] EXTENSION=[.xhtml] viewId=[/views/view.xhtml]
 1812:46:50,871 DEBUG [BridgePhaseResourceImpl:88] Detected Ajax ResourceRequest
 1912:46:50,872 DEBUG [BridgePhaseResourceImpl:96] Running Faces lifecycle for viewId=[/views/view.xhtml]
 2012:46:54,486 DEBUG [ViewHandlerImpl:86] Restoring view for viewId=[/views/view.xhtml]
 2112:46:54,488 DEBUG [ViewHandlerImpl:57] Creating view for viewId=[/views/view.xhtml]
 2212:46:55,674 ERROR [ExceptionHandlerAjaxImpl:62] viewId:/views/view.xhtml - View /views/view.xhtml could not be restored.
 23javax.faces.application.ViewExpiredException: viewId:/views/view.xhtml - View /views/view.xhtml could not be restored.
 24        at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:207)
 25        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
 26        at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)
 27        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
 28        at com.liferay.faces.bridge.lifecycle.LifecycleWrapper.execute(LifecycleWrapper.java:35)
 29        at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:99)
 30        at com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:128)
 31        at javax.portlet.faces.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:178)
 32        at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:118)
 33        at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
 34        at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:111)
 35        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 36        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
 37        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
 38        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
 39        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 40        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 41        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 42        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
 43        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 44        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
 45        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 46        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
 47        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
 48        at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:531)
 49        at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:626)
 50        at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:436)
 51        at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:1075)
 52        at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:719)
 53        at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:249)
 54        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
 55        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
 56        at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
 57        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 58        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
 59        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 60        at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:560)
 61        at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:537)
 62        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 63        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
 64        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
 65        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
 66        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 67        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 68        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 69        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 70        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 71        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 72        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 73        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 74        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 75        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
 76        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 77        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 78        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 79        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
 80        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 81        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
 82        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
 83        at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:138)
 84        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 85        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
 86        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
 87        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
 88        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 89        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 90        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 91        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 92        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 93        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 94        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 95        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 96        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 97        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
 98        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 99        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
100        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
101        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
102        at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
103        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
104        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
105        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
106        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
107        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
108        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
109        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
110        at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:246)
111        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
112        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
113        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
114        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
115        at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
116        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
117        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
118        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
119        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
120        at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
121        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
122        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
123        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
124        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
125        at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:216)
126        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
127        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
128        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
129        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
130        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
131        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
132        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
133        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
134        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
135        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
136        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
137        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
138        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
139        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
140        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
141        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
142        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
143        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
144        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
145        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
146        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
147        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
148        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
149        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
150        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
151        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
152        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
153        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
154        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
155        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
156        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)


I'll try to get the more info with <ui:debug/>
Martin Straus
RE: Simple JSF Ajax causes ViewExpiredException on Weblogic
April 8, 2013 3:16 PM
Answer

Martin Straus

Rank: New Member

Posts: 19

Join Date: July 6, 2012

Recent Posts

Another test. I deployed the demo PrimeFaces portlet found in this page, and I'm getting a similar error:

  114:54:29,046 DEBUG [BridgePhaseResourceImpl:50] ----------------------------------------------------------------------
  214:54:29,047 DEBUG [BridgePhaseResourceImpl:51] execute(ResourceRequest, ResourceResponse) portletName=[1]
  314:54:29,048 DEBUG [PortletContainerLiferayImpl:115] Detected Liferay build number 6101
  414:54:29,049 DEBUG [PortletContainerLiferayImpl:162] User-Agent requested URL=[http://aspagd01:7003/web/guest/prueba?p_p_id=1_WAR_primefaces3portlet_INSTANCE_jQGrUk4SGFTu&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_cacheability=cacheLevelPage&p_p_col_id=column-1&p_p_col_count=1&_1_WAR_primefaces3portlet_INSTANCE_jQGrUk4SGFTu__jsfBridgeAjax=true&_1_WAR_primefaces3portlet_INSTANCE_jQGrUk4SGFTu__facesViewIdResource=%2Fviews%2FportletViewMode.xhtml]
  514:54:29,052 DEBUG [RequestHeaderMap:45] Adding content-type=[L[Content-Type: application/x-www-form-urlencoded; charset=UTF-8; charset=UTF-8]] to header map
  614:54:29,053 DEBUG [RequestHeaderMap:45] Adding javax.portlet.markup.head.element.support=[L[true]] to header map
  714:54:29,054 DEBUG [RequestHeaderMap:45] Adding faces-request=[L[partial/ajax]] to header map
  814:54:29,055 DEBUG [RequestHeaderMap:45] Adding accept=[L[text/html]] to header map
  914:54:29,056 DEBUG [RequestHeaderMap:45] Adding user-agent=[L[Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31]] to header map
 1014:54:29,065 DEBUG [BridgePhaseResourceImpl:88] Detected Ajax ResourceRequest
 1114:54:29,066 DEBUG [BridgePhaseResourceImpl:96] Running Faces lifecycle for viewId=[/views/portletViewMode.xhtml]
 1214:54:29,068 DEBUG [DebugPhaseListener:64] BEFORE phaseId=[RESTORE_VIEW 1] viewId=[null]
 1314:54:29,069 DEBUG [ViewHandlerImpl:86] Restoring view for viewId=[/views/portletViewMode.xhtml]
 1414:54:29,070 DEBUG [ViewHandlerImpl:57] Creating view for viewId=[/views/portletViewMode.xhtml]
 1514:54:29,184 DEBUG [DebugPhaseListener:48] AFTER phaseId=[RESTORE_VIEW 1] viewId=[/views/portletViewMode.xhtml]
 1614:54:29,186 ERROR [ExceptionHandlerAjaxImpl:62] viewId:/views/portletViewMode.xhtml - View /views/portletViewMode.xhtml could not be restored.
 17javax.faces.application.ViewExpiredException: viewId:/views/portletViewMode.xhtml - View /views/portletViewMode.xhtml could not be restored.
 18        at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:205)
 19        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
 20        at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)
 21        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
 22        at com.liferay.faces.bridge.lifecycle.LifecycleWrapper.execute(LifecycleWrapper.java:35)
 23        at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:99)
 24        at com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:128)
 25        at javax.portlet.faces.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:178)
 26        at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:118)
 27        at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
 28        at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:111)
 29        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 30        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
 31        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
 32        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
 33        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 34        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 35        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 36        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
 37        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 38        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
 39        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 40        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
 41        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
 42        at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:531)
 43        at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:626)
 44        at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:436)
 45        at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:1075)
 46        at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:719)
 47        at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:249)
 48        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
 49        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
 50        at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
 51        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 52        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
 53        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 54        at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:560)
 55        at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:537)
 56        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 57        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
 58        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
 59        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
 60        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 61        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 62        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 63        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 64        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 65        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 66        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 67        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 68        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 69        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
 70        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 71        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 72        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 73        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
 74        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 75        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
 76        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
 77        at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:138)
 78        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 79        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
 80        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
 81        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
 82        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 83        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
 84        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 85        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 86        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 87        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 88        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 89        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 90        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 91        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
 92        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 93        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 94        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 95        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
 96        at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
 97        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
 98        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 99        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
100        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
101        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
102        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
103        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
104        at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:246)
105        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
106        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
107        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
108        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
109        at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
110        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
111        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
112        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
113        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
114        at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
115        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
116        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
117        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
118        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
119        at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:216)
120        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
121        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
122        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
123        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
124        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
125        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
126        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
127        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
128        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
129        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
130        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
131        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
132        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
133        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
134        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
135        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
136        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
137        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
138        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
139        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
140        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
141        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
142        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
143        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
144        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
145        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
146        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
147        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
148        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
149        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
150        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
15114:54:29,329 ERROR [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'][status_jsp:690] javax.portlet.faces.BridgeException: javax.portlet.faces.BridgeException: javax.faces.application.ViewExpiredException: viewId:/views/portletViewMode.xhtml - View /views/portletViewMode.xhtml could not be restored.
152javax.portlet.faces.BridgeException: javax.portlet.faces.BridgeException: javax.faces.application.ViewExpiredException: viewId:/views/portletViewMode.xhtml - View /views/portletViewMode.xhtml could not be restored.
153        at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:137)
154        at com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:128)
155        at javax.portlet.faces.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:178)
156        at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:118)
157        at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
158        at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:111)
159        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
160        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
161        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
162        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
163        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
164        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
165        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
166        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
167        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
168        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
169        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
170        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
171        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
172        at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:531)
173        at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:626)
174        at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:436)
175        at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:1075)
176        at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:719)
177        at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:249)
178        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
179        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
180        at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
181        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
182        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
183        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
184        at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:560)
185        at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:537)
186        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
187        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
188        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
189        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
190        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
191        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
192        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
193        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
194        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
195        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
196        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
197        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
198        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
199        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
200        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
201        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
202        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
203        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
204        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
205        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
206        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
207        at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:138)
208        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
209        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
210        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
211        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
212        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
213        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
214        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
215        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
216        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
217        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
218        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
219        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
220        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
221        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
222        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
223        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
224        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
225        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
226        at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
227        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
228        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
229        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
230        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
231        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
232        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
233        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
234        at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:246)
235        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
236        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
237        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
238        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
239        at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
240        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
241        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
242        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
243        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
244        at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
245        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
246        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
247        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
248        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
249        at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:216)
250        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
251        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
252        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
253        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
254        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
255        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
256        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
257        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
258        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
259        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
260        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
261        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
262        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
263        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
264        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
265        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
266        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
267        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
268        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
269        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
270        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
271        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
272        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
273        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
274        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
275        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
276        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
277        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
278        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
279        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
280        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
281Caused by: javax.portlet.faces.BridgeException: javax.faces.application.ViewExpiredException: viewId:/views/portletViewMode.xhtml - View /views/portletViewMode.xhtml could not be restored.
282        at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:105)
283        ... 127 more
284Caused by: javax.faces.application.ViewExpiredException: viewId:/views/portletViewMode.xhtml - View /views/portletViewMode.xhtml could not be restored.
285        at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:205)
286        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
287        at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)
288        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
289        at com.liferay.faces.bridge.lifecycle.LifecycleWrapper.execute(LifecycleWrapper.java:35)
290        at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:99)
291        ... 127 more

Perhaps there's something wrong with my deploy process? This is what I did.
  1. I modified portal-ext.properties, adding the property auto.deploy.weblogic.dest.dir pointing to a certain directory
  2. I copied the WAR file to the ${liferay home}/deploy directory
  3. Liferay disassembles de WAR file in a temporary directory and copies the resulting directory to the directory I defined in (1)
  4. I used Weblogic's console to deploy the directory as an application
  5. I added the portlet to a page

I found this instructions in some page, which I don't have at hand right now. Am I missing something that breaks Ajax on JSF?
Martin Straus
RE: Simple JSF Ajax causes ViewExpiredException on Weblogic
April 12, 2013 11:16 AM
Answer

Martin Straus

Rank: New Member

Posts: 19

Join Date: July 6, 2012

Recent Posts

I'm pleased to share with you all that I fixed this issue. I finally have a working JSF porlet with Ajax on Weblogic. Since I've been testing a like crazy, and tried a lot of things, I couldn't quite pinpoint the exact problem, but it has to be one of these two:
  1. All the classes of managed beans and its properties must either be serializable (that is, they must implement java.io.Serializable) or be transient.
  2. If you're using Mojarra as your JSF implementation, make sure you're using version 2.1.3-b02

I don't have time right now to further test newer versiones of Mojarra, but I'll get to it as soon as possible.
I'm attaching a working sample. It has two portlets, one using a managed bean annotated with @ViewScoped and another with @SessionScoped.

Regards,

Martín.
Attachments: PorletPruebaJSF-1.0-SNAPSHOT.war (5,280.9k), PorletPruebaJSF-source.zip (13.3k)
Neil Griffin
RE: Simple JSF Ajax causes ViewExpiredException on Weblogic
April 12, 2013 12:14 PM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2228

Join Date: July 26, 2005

Recent Posts

Congratulations on finding the problem! So glad to hear that it is fixed, and thanks for letting us know. We were trying to reproduce your issue but were not able to, probably because the Liferay Faces primefaces3-portlet demo has beans that implement java.io.Serializable. For example: ApplicantModelBean.java
Juan Gonzalez
RE: Simple JSF Ajax causes ViewExpiredException on Weblogic
April 12, 2013 1:57 PM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2174

Join Date: October 28, 2008

Recent Posts

Hi Martin,

Yep, that makes sense.

@SessionScoped would be serialized at some time (if server is configured to persist or replicate session around the cluster for example).

@ViewScoped will be serialized at some point in JSF lifecycle, because it should be stored in the view root so will be serialized; that's client or server (session) state saving.
Neil Griffin
RE: Simple JSF Ajax causes ViewExpiredException on Weblogic
May 30, 2013 12:39 PM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2228

Join Date: July 26, 2005

Recent Posts

FYI, I reproduced the ViewExpiredException on WebLogic and documented a fix in FACES-1591.