WebSphere Portal Server - Error in portlets with predeployed ear

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > April 2007 > Error in portlets with predeployed ear





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Error in portlets with predeployed ear

2006-10-18, 7:42 pm

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)

2006-11-18, 1:31 am

I have same issue, did you able to solve the problem?

2006-11-29, 1:18 pm

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

2006-11-29, 7:24 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.


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

2007-04-26, 1:19 pm

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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com