| Author |
Error in portlets with predeployed ear
|
|
|
| I deployed the ear with two WAR files and registered the portlets with xmlaccess, the portlets display fine when accessing the page the very first time, and it errors out when I refresh the page with 'Portlet unavailable' . This is the error I see in the
logs, can anyone please provide any insight?
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)
| |
|
| I have same issue, did you able to solve the problem?
| |
|
| I also have the same problem. Any solution?
| |
| Bala Labhishetty 2006-11-29, 1:18 pm |
| Did you checked any message in portal log (start with wps followed by datetime) in portal server log directory? I believe you can get more detail info esp location of cause.
Thanks & Regards,
Bala
| |
|
| > Did you checked any message in portal log (start with
> wps followed by datetime) in portal server log
> directory? I believe you can get more detail info esp
> location of cause.
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
| |
|
| I am having the same problem. where you able to fix it ?
I tried changing the class loader, it helped me on RAD6.0 but when deployed on WAS6.0 it fails to load the portlets on refresh.
This is urgent any help will be highly appreciated
|
|
|
|