Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2410

The showcase examples throw NotSerializableException on Resin

    Details

      Description

      {markdown}
      Showcase examples are broken and throw a `NotSerializableException` in Resin.

      The following exception occurs in the above examples:{markdown}
      [15-08-06 17:00:43.430] {resin-port-8080-289} SessionImpl[ywuw8tkljxc21bkp8fh1wuq3f,/showcase-portlet]: failed storing persistent session attribute 'javax.portlet.p.1_WAR_showcaseportlet_LAYOUT_22394?com.sun.faces.application.view.activeViewMaps'.  Persistent session values must extend java.io.Serializable.
                             java.io.NotSerializableException: com.liferay.faces.demos.bean.DataTableBacking$1
      [15-08-06 17:00:43.431] {resin-port-8080-289} SessionImpl[ywuw8tkljxc21bkp8fh1wuq3f,/showcase-portlet]: can't serialize session
                             java.io.NotSerializableException: com.liferay.faces.demos.bean.DataTableBacking$1
                             	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
                             	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
                             	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
                             	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
                             	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
                             	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
                             	at java.util.HashMap.internalWriteEntries(HashMap.java:1777)
                             	at java.util.HashMap.writeObject(HashMap.java:1354)
                             	at sun.reflect.GeneratedMethodAccessor1134.invoke(Unknown Source)
                             	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                             	at java.lang.reflect.Method.invoke(Method.java:497)
                             	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
                             	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
                             	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
                             	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
                             	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
                             	at java.util.LinkedHashMap.internalWriteEntries(LinkedHashMap.java:333)
                             	at java.util.HashMap.writeObject(HashMap.java:1354)
                             	at sun.reflect.GeneratedMethodAccessor1134.invoke(Unknown Source)
                             	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                             	at java.lang.reflect.Method.invoke(Method.java:497)
                             	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
                             	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
                             	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
                             	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
                             	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
                             	at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:441)
                             	at java.util.Collections$SynchronizedMap.writeObject(Collections.java:2691)
                             	at sun.reflect.GeneratedMethodAccessor1439.invoke(Unknown Source)
                             	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                             	at java.lang.reflect.Method.invoke(Method.java:497)
                             	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
                             	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
                             	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
                             	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
                             	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
                             	at com.caucho.server.session.JavaSessionSerializer.writeObject(JavaSessionSerializer.java:70)
                             	at com.caucho.server.session.SessionImpl.store(SessionImpl.java:1038)
                             	at com.caucho.server.session.SessionImpl.save(SessionImpl.java:894)
                             	at com.caucho.server.session.SessionImpl.saveAfterRequest(SessionImpl.java:871)
                             	at com.caucho.server.session.SessionImpl.finishRequest(SessionImpl.java:645)
                             	at com.caucho.server.http.AbstractCauchoRequest.finishRequest(AbstractCauchoRequest.java:1048)
                             	at com.caucho.server.webapp.IncludeRequest.finishRequest(IncludeRequest.java:423)
                             	at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:448)
                             	at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:359)
                             	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:583)
                             	at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:656)
                             	at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:362)
                             	at _jsp._html._portal._render_0portlet__jsp._jspService(_render_0portlet__jsp.java:1118)
                             	at _jsp._html._portal._render_0portlet__jsp._jspService(_render_0portlet__jsp.java:346)
                             	at com.caucho.jsp.JavaPage.service(JavaPage.java:64)
                             	at com.caucho.jsp.Page.pageservice(Page.java:557)
                             	at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:194)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
                             	at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89)
                             	at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:131)
                             	at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289)
                             	at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:440)
                             	at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:359)
                             	at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:55)
                             	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
                             	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
                             	at com.liferay.portlet.PortletContainerImpl._doRender(PortletContainerImpl.java:655)
                             	at com.liferay.portlet.PortletContainerImpl.render(PortletContainerImpl.java:138)
                             	at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:141)
                             	at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:126)
                             	at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:156)
                             	at com.liferay.portal.layoutconfiguration.util.PortletRenderer._render(PortletRenderer.java:125)
                             	at com.liferay.portal.layoutconfiguration.util.PortletRenderer.render(PortletRenderer.java:72)
                             	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doProcessTemplate(RuntimePageImpl.java:452)
                             	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doDispatch(RuntimePageImpl.java:284)
                             	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:113)
                             	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:124)
                             	at com.liferay.portal.layoutconfiguration.util.RuntimePageUtil.processTemplate(RuntimePageUtil.java:69)
                             	at _jsp._html._portal._layout._view._portlet__jsp._jspService(_portlet__jsp.java:452)
                             	at _jsp._html._portal._layout._view._portlet__jsp._jspService(_portlet__jsp.java:342)
                             	at com.caucho.jsp.JavaPage.service(JavaPage.java:64)
                             	at com.caucho.jsp.Page.pageservice(Page.java:557)
                             	at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:194)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
                             	at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89)
                             	at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:131)
                             	at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289)
                             	at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:440)
                             	at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:359)
                             	at com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:302)
                             	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:405)
                             	at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:200)
                             	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:95)
                             	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
                             	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
                             	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:179)
                             	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
                             	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
                             	at javax.servlet.http.HttpServlet.service(HttpServlet.java:120)
      [15-08-06 17:00:43.431]	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:549)
                             	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:526)
                             	at javax.servlet.http.HttpServlet.service(HttpServlet.java:97)
                             	at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:109)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                             	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                             	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
                             	at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89)
                             	at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:131)
                             	at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289)
                             	at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:298)
                             	at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:116)
                             	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:156)
                             	at javax.servlet.http.HttpServlet.service(HttpServlet.java:97)
                             	at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:109)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                             	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:360)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                             	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                             	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:243)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                             	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                             	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:267)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                             	at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                             	at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
                             	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:226)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
                             	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
                             	at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:57)
                             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
                             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
                             	at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89)
                             	at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156)
                             	at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95)
                             	at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289)
                             	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:838)
      [15-08-06 17:00:43.431]	at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1345)
                             	at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1301)
                             	at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1285)
                             	at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1193)
                             	at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:992)
                             	at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117)
                             	at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93)
                             	at com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:169)
                             	at com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61)
                             	at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
                             	at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
      

        Attachments

          Activity

            People

            • Assignee:
              ui_faces UI Faces
              Reporter:
              kyle.stiemann Kyle Stiemann (Inactive)
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                liferay-faces-3.2.5-ga6
                liferay-faces-4.2.5-ga6