Uncaught service() exception root cause testPortlet: java.lang.IllegalStateException: This method must not be called after the HTTP-Body was accessed !
at org.apache.pluto.core.impl.PortletRequestImpl.setCharacterEncoding(PortletRequestImpl.java:920)
at com.sun.faces.application.ViewHandlerImpl.setRequestEncoding(ViewHandlerImpl.java:359)
at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:270)
at com.ibm.faces.application.PortletViewHandlerImpl.restoreView(PortletViewHandlerImpl.java:78)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:158)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:91)
at com.ibm.faces.webapp.FacesGenericPortlet.doRender(FacesGenericPortlet.java:358)
at com.ibm.faces.webapp.FacesGenericPortlet.doView(FacesGenericPortlet.java:391)
at com.key.portlet.filenet.FilenetUserInformationPortlet.doView(FilenetUserInformationPortlet.java:38)
at com.ibm.faces.webapp.FacesGenericPortlet.doDispatch(FacesGenericPortlet.java:292)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
Thanks & Regards,
Bala
Yes, same as a previous poster:
Caused by: java.lang.IllegalStateException: This method must not be called after the HTTP-Body was accessed !
at org.apache.pluto.core.impl.PortletRequestImpl.setCharacterEncoding(PortletRequestImpl.java:920)
at com.sun.faces.application.ViewHandlerImpl.setRequestEncoding(ViewHandlerImpl.java:359)
at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:270)
at com.ibm.faces.application.PortletViewHandlerImpl.restoreView(PortletViewHandlerImpl.java:78)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:158)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:91)
at com.ibm.faces.webapp.FacesGenericPortlet.doRender(FacesGenericPortlet.java:356)
at com.ibm.faces.webapp.FacesGenericPortlet.doConfigure(FacesGenericPortlet.java:399)
at com.ibm.faces.webapp.FacesGenericPortlet.doDispatch(FacesGenericPortlet.java:299)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.render(PortletFilterChainImpl.java:144)
at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.dispatch(PortletServlet.java:131)
... 150 more
Try doing the following.
Get the jsf-impl.jar and jsf-api.jar from RAD6.0 .
Replace these in your web-inf/lib over the existing jars.
Set your server classpath policy to make classloader load Parent_last to make it prevent loading the one from server.
Let me know how it goes.
It worked for me.