Topic
  • No replies
SystemAdmin
SystemAdmin
6420 Posts

Pinned topic JSF 2 Portlet Bridge not working with Portal 7 on WAS 7.0.0.27

‏2013-03-07T06:27:34Z |
While trying to convert jsf 2.0 web application into portlet using jsfportlet bridge using WPS 7 on WAS 7.0.0.27. Getting the following exception on trying to invoke the deployed portlet.

07/03/13 06:14:26:180 GMT 00000044 lifecycle E JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /hello.xhtml) Exception thrown during phase execution: javax.faces.event.PhaseEventsource=com.sun.faces.lifecycle.LifecycleImpl@28682868
07/03/13 06:14:26:196 GMT 00000044 FacesPortlet E com.ibm.faces20.portlet.FacesPortlet doRender lifecycle didn't execute
07/03/13 06:14:26:461 GMT 00000044 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\IBM\WebSphere\wp_profile\logs\ffdc\WebSphere_Portal_3a563a56_13.03.07_06.14.26.3216907520251602341483.txt com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.dispatch 255
07/03/13 06:14:26:493 GMT 00000044 servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet JsfPortlet in application SampleJSFPortletEAR. Exception created : javax.servlet.ServletException: javax.portlet.PortletException: getWriter can't be used after getOutputStream was invoked
at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:361)
at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:82)
at com.ibm.isclite.container.collaborator.PortletServletCollaborator.doDispatch(PortletServletCollaborator.java:143)
at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:74)
at com.ibm.ws.portletcontainer.rrd.RRDServerPortletServletCollaborator.doDispatch(RRDServerPortletServletCollaborator.java:60)
at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:74)
at com.ibm.ws.portletcontainer.cache.CacheCollaborator.doDispatch(CacheCollaborator.java:74)
at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:74)
Caused by: javax.portlet.PortletException: getWriter can't be used after getOutputStream was invoked
at com.ibm.faces20.portlet.FacesPortlet.doRender(FacesPortlet.java:471)
at com.ibm.faces20.portlet.FacesPortlet.doView(FacesPortlet.java:506)
at com.ibm.faces20.portlet.FacesPortlet.doDispatch(FacesPortlet.java:383)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:222)
at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:128)
at com.ibm.wps.engine.el.init.AttributeCopyFilter.doFilter(AttributeCopyFilter.java:110)
at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:120)