The portlet could not be rendered. - Websphere

This is a discussion on The portlet could not be rendered. - Websphere ; Hi All, I am getting this error when deploying portlet on WPS 6.0. I am developing the portlet using Eclipse. The error log is as follows: 000000a0 PortletRender E com.ibm.wps.engine.tags.PortletRenderTag doStartTag EJPEJ0066E: The portlet could not be rendered. javax.portlet.UnavailableException: Exception ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: The portlet could not be rendered.

  1. Question The portlet could not be rendered.

    Hi All,
    I am getting this error when deploying portlet on WPS 6.0.
    I am developing the portlet using Eclipse.
    The error log is as follows:


    000000a0 PortletRender E com.ibm.wps.engine.tags.PortletRenderTag doStartTag EJPEJ0066E: The portlet could not be rendered.
    javax.portlet.UnavailableException: Exception during portlet initialization
    at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerI mpl.invoke(PortletInvokerImpl.java:229)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java(Compiled Code))
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._ doFilter(WebAppFilterChain.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java(Compiled Code))
    at com.ibm.wsspi.webcontainer.servlet.GenericServletW rapper.handleRequest(GenericServletWrapper.java(In lined Compiled Code))
    at com.ibm.wsspi.webcontainer.servlet.GenericServletW rapper.handleRequest(GenericServletWrapper.java(In lined Compiled Code))
    at com.ibm.ws.jsp.webcontainerext.JSPExtensionServlet Wrapper.handleRequest(JSPExtensionServletWrapper.j ava(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.include(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceI mpl.handleRequest(DispatcherServiceImpl.java(Compi led Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceI mpl.include(DispatcherServiceImpl.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.Dispatcher.include (Dispatcher.java(Inlined Compiled Code))
    at com.ibm.wps.engine.templates.skins.Default.render( Default.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceI mpl.handleRequest(DispatcherServiceImpl.java(Compi led Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceI mpl.include(DispatcherServiceImpl.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.Dispatcher.include (Dispatcher.java(Inlined Compiled Code))
    at com.ibm.wps.engine.templates.skins.Default.render( Default.java(Compiled Code))
    at com.ibm.wps.engine.templates.SkinTemplate.render(S kinTemplate.java(Compiled Code))
    at com.ibm.wps.composition.elements.Component.render( Component.java(Compiled Code))
    at com.ibm.wps.composition.Composition.render(Composi tion.java(Compiled Code))
    at com.ibm.websphere.personalization.transformation.P znTransformationLayoutModel.render(PznTransformati onLayoutModel.java(Compiled Code))
    at com.ibm.wps.model.wrappers.LayoutModelWrapperFacto ryImpl$LayoutModelWrapperImpl.render(LayoutModelWr apperFactoryImpl.java(Compiled Code))
    at com.ibm.wps.engine.tags2.PageRenderTag.doStartTag( PageRenderTag.java:396)
    at com.ibm._jsp._Home._jspService(_Home.java:82)
    at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJsp Base.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet .java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java(Compiled Code))
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java(Compiled Code))
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._ doFilter(WebAppFilterChain.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java(Compiled Code))
    at com.ibm.wsspi.webcontainer.servlet.GenericServletW rapper.handleRequest(GenericServletWrapper.java(In lined Compiled Code))
    at com.ibm.ws.jsp.webcontainerext.JSPExtensionServlet Wrapper.handleRequest(JSPExtensionServletWrapper.j ava(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.include(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceI mpl.handleRequest(DispatcherServiceImpl.java(Compi led Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceI mpl.include(DispatcherServiceImpl.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.Dispatcher.include (Dispatcher.java:54)
    at com.ibm.wps.engine.templates.screens.Default.rende r(Default.java:91)
    at com.ibm.wps.engine.templates.ScreenTemplate.render (ScreenTemplate.java:61)
    at com.ibm.wps.engine.tags2.ScreenRenderTag.doStartTa g(ScreenRenderTag.java:89)
    at com.ibm._jsp._Default._jspx_meth_portal$1core_scre enRender_0(_Default.java:4419)
    at com.ibm._jsp._Default._jspService(_Default.java(Co mpiled Code))
    at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJsp Base.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet .java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java(Compiled Code))
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java(Compiled Code))
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._ doFilter(WebAppFilterChain.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java(Compiled Code))
    at com.ibm.wsspi.webcontainer.servlet.GenericServletW rapper.handleRequest(GenericServletWrapper.java(In lined Compiled Code))
    at com.ibm.ws.jsp.webcontainerext.JSPExtensionServlet Wrapper.handleRequest(JSPExtensionServletWrapper.j ava(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.include(WebAppRequestDispatcher.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceI mpl.handleRequest(DispatcherServiceImpl.java(Compi led Code))
    at com.ibm.wps.services.dispatcher.DispatcherServiceI mpl.include(DispatcherServiceImpl.java(Compiled Code))
    at com.ibm.wps.services.dispatcher.Dispatcher.include (Dispatcher.java(Compiled Code))
    at com.ibm.wps.engine.templates.themes.Default.render (Default.java:142)
    at com.ibm.wps.engine.templates.ThemeTemplate.render( ThemeTemplate.java:67)
    at com.ibm.wps.engine.phases.WPRenderPhase.processRen dering(WPRenderPhase.java:322)
    at com.ibm.wps.engine.phases.WPRenderPhase.execute(WP RenderPhase.java:137)
    at com.ibm.wps.state.phases.AbstractRenderPhase.next( AbstractRenderPhase.java:106)
    at com.ibm.wps.engine.phases.WPAbstractRenderPhase.ne xt(WPAbstractRenderPhase.java:93)
    at com.ibm.wps.engine.Servlet.callPortal(Servlet.java :791)
    at com.ibm.wps.engine.Servlet.doGet(Servlet.java(Comp iled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet .java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet .java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java(Compiled Code))
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java(Compiled Code))
    at com.ibm.wps.state.filter.StateCleanup.doFilter(Sta teCleanup.java(Compiled Code))
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java(Compiled Code))
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java(Compiled Code))
    at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(U RLAnalyzer.java(Compiled Code))
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java(Compiled Code))
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java(Compiled Code))
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._ doFilter(WebAppFilterChain.java(Compiled Code))
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java(Compiled Code))
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java(Compiled Code))
    at com.ibm.ws.webcontainer.VirtualHost.handleRequest( VirtualHost.java(Compiled Code))
    at com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java(Compiled Code))
    at com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java(Compiled Code))
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java(Compi led Code))
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java(Compi led Code))
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLReadCallback.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.reque stComplete(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attem ptIO(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.worke rRun(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worke r.run(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled Code))
    Caused by: javax.servlet.UnavailableException: Exception during portlet initialization
    at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet$ PortletClone.(PortletServlet.java:391)
    at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet. initPortletDefinition(PortletServlet.java:296)
    at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet. getPortletClone(PortletServlet.java:267)
    at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet. dispatch(PortletServlet.java:105)
    at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerI mpl.invoke(PortletInvokerImpl.java:204)
    ... 141 more
    Caused by: java.lang.ClassCastException: com.ibm.portlet02.Portlet02
    at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet$ PortletClone.(PortletServlet.java:377)
    ... 153 more

    Any Idea please let me know

  2. Re: The portlet could not be rendered.

    hi ..
    me too getting the same error ..
    can anyone suggest a solution to tat ??

+ Reply to Thread