WSRP issue - Websphere

This is a discussion on WSRP issue - Websphere ; I have a WSRP producer portal and a consumer portal (both 6.1.0.3) running on 2 different hosts. When a consumed portlet gets rendered I get this exception (see below) on the producer portal. The same portlet runs fine in the ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: WSRP issue

  1. WSRP issue

    I have a WSRP producer portal and a consumer portal (both 6.1.0.3) running on 2 different hosts. When a consumed portlet gets rendered I get this exception (see below) on the producer portal. The same portlet runs fine in the producer portal as a regular portlet.

    Any ideas are greatly appreciated !

    [11/2/09 16:25:14:059 EST] 0000001d servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet /TestJSR286View.jsp in application PA_TestJSR286. Exception created : java.lang.ClassCastException: com.ibm.wps.wsrp.producer.provider.pc.impl.Portlet WindowImpl incompatible with com.ibm.wps.pe.om.window.PortletWindowEx
    at com.ibm.portal.web2.portlet.InitTag.doEndTag(InitT ag.java:102)
    at com.ibm._jsp._TestJSR286View._jspService(_TestJSR2 86View.java:170)
    at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJsp Base.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:831)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1530)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1470)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:104)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._ doFilter(WebAppFilterChain.java:77)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager .doFilter(WebAppFilterManager.java:858)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:824)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:458)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl .handleRequest(ServletWrapperImpl.java:175)
    at com.ibm.wsspi.webcontainer.servlet.GenericServletW rapper.handleRequest(GenericServletWrapper.java:12 1)
    at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensio nServletWrapper.handleRequest(AbstractJSPExtension ServletWrapper.java:239)
    at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensio nProcessor.handleRequest(AbstractJSPExtensionProce ssor.java:339)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.include(WebAppRequestDispatcher.java:654)
    at com.ibm.ws.portletcontainer.core.impl.PortletReque stDispatcherImpl.include(PortletRequestDispatcherI mpl.java:98)
    at com.ibm.ws.portletcontainer.core.impl.PortletReque stDispatcherImpl.include(PortletRequestDispatcherI mpl.java:230)
    at com.ibm.faces.portlet.httpbridge.PortletRequestDis patcherWrapper.include(PortletRequestDispatcherWra pper.java:61)
    at com.ibm.faces.portlet.httpbridge.PortletRequestDis patcherWrapper.forward(PortletRequestDispatcherWra pper.java:35)
    at com.sun.faces.context.ExternalContextImpl.dispatch (ExternalContextImpl.java:415)
    at com.ibm.faces.portlet.httpbridge.PortletExternalCo ntextWrapper.dispatch(PortletExternalContextWrappe r.java:90)
    at com.sun.faces.application.ViewHandlerImpl.executeP ageToBuildView(ViewHandlerImpl.java:491)
    at com.sun.faces.application.ViewHandlerImpl.renderVi ew(ViewHandlerImpl.java:159)
    at com.ibm.faces.portlet.PortletViewHandlerImpl.rende rView(PortletViewHandlerImpl.java:79)
    at com.sun.faces.lifecycle.RenderResponsePhase.execut e(RenderResponsePhase.java:110)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:1 00)
    at com.sun.faces.lifecycle.LifecycleImpl.render(Lifec ycleImpl.java:139)
    at com.ibm.faces.portlet.FacesPortlet.doRender(FacesP ortlet.java:370)
    at com.ibm.faces.portlet.FacesPortlet.doView(FacesPor tlet.java:411)
    at com.ibm.faces.portlet.FacesPortlet.doDispatch(Face sPortlet.java:299)
    at javax.portlet.GenericPortlet.render(GenericPortlet .java:233)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletFi lterChainImpl.doFilter(PortletFilterChainImpl.java :128)
    at com.ibm.wps.propertybroker.standard.filter.C2APort letFilter.doFilter(C2APortletFilter.java:183)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletFi lterChainImpl.doFilter(PortletFilterChainImpl.java :120)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletSe rvlet.doDispatch(PortletServlet.java:573)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletSe rvletCollaboratorChainImpl.doCollaborator(PortletS ervletCollaboratorChainImpl.java:114)
    at com.ibm.isclite.container.collaborator.PortletServ letCollaborator.doRender(PortletServletCollaborato r.java:69)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletSe rvletCollaboratorChainImpl.doCollaborator(PortletS ervletCollaboratorChainImpl.java:105)
    at com.ibm.ws.portletcontainer.rrd.RRDServerPortletSe rvletCollaborator.doRender(RRDServerPortletServlet Collaborator.java:123)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletSe rvletCollaboratorChainImpl.doCollaborator(PortletS ervletCollaboratorChainImpl.java:105)
    at com.ibm.ws.portletcontainer.cache.CacheCollaborato r.doRender(CacheCollaborator.java:92)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletSe rvletCollaboratorChainImpl.doCollaborator(PortletS ervletCollaboratorChainImpl.java:105)
    at com.ibm.wps.pe.pc.waspc.core.impl.PortletServletCo llaboratorImpl.doRender(PortletServletCollaborator Impl.java:156)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletSe rvletCollaboratorChainImpl.doCollaborator(PortletS ervletCollaboratorChainImpl.java:105)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletSe rvlet.doDispatch(PortletServlet.java:273)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletSe rvletCollaboratorChainImpl.doCollaborator(PortletS ervletCollaboratorChainImpl.java:82)
    at com.ibm.isclite.container.collaborator.PortletServ letCollaborator.doDispatch(PortletServletCollabora tor.java:130)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletSe rvletCollaboratorChainImpl.doCollaborator(PortletS ervletCollaboratorChainImpl.java:74)
    at com.ibm.ws.portletcontainer.rrd.RRDServerPortletSe rvletCollaborator.doDispatch(RRDServerPortletServl etCollaborator.java:60)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletSe rvletCollaboratorChainImpl.doCollaborator(PortletS ervletCollaboratorChainImpl.java:74)
    at com.ibm.ws.portletcontainer.cache.CacheCollaborato r.doDispatch(CacheCollaborator.java:74)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletSe rvletCollaboratorChainImpl.doCollaborator(PortletS ervletCollaboratorChainImpl.java:74)
    at com.ibm.wps.pe.pc.waspc.core.impl.PortletServletCo llaboratorImpl.doDispatch(PortletServletCollaborat orImpl.java:121)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletSe rvletCollaboratorChainImpl.doCollaborator(PortletS ervletCollaboratorChainImpl.java:74)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletSe rvlet.dispatch(PortletServlet.java:208)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletSe rvlet.service(PortletServlet.java:165)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:831)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1530)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1470)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:104)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._ doFilter(WebAppFilterChain.java:77)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager .doFilter(WebAppFilterManager.java:858)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:824)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:458)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl .handleRequest(ServletWrapperImpl.java:175)
    at com.ibm.wsspi.webcontainer.servlet.GenericServletW rapper.handleRequest(GenericServletWrapper.java:12 1)
    at com.ibm.ws.portletcontainer.webextension.PortletEx tensionProcessor.handleRequest(PortletExtensionPro cessor.java:96)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.include(WebAppRequestDispatcher.java:654)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletIn vokerImpl.invoke(PortletInvokerImpl.java:214)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletIn vokerCollaboratorChainImpl.doCollaborator(PortletI nvokerCollaboratorChainImpl.java:78)
    at com.ibm.ws.portletcontainer.cache.PortletInvokerCa cheCollaborator.doRender(PortletInvokerCacheCollab orator.java:58)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletIn vokerCollaboratorChainImpl.doCollaborator(PortletI nvokerCollaboratorChainImpl.java:67)
    at com.ibm.ws.portletcontainer.ext.PortletInvokerPerf ormanceCollaborator.invoke(PortletInvokerPerforman ceCollaborator.java:313)
    at com.ibm.ws.portletcontainer.ext.PortletInvokerPerf ormanceCollaborator.doInvoke(PortletInvokerPerform anceCollaborator.java:101)
    at com.ibm.ws.portletcontainer.ext.PortletInvokerPerf ormanceCollaborator.invokePMI(PortletInvokerPerfor manceCollaborator.java:163)
    at com.ibm.ws.portletcontainer.ext.PortletInvokerPerf ormanceCollaborator.doInvoke(PortletInvokerPerform anceCollaborator.java:91)
    at com.ibm.ws.portletcontainer.ext.PortletInvokerPerf ormanceCollaborator.doRender(PortletInvokerPerform anceCollaborator.java:74)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletIn vokerCollaboratorChainImpl.doCollaborator(PortletI nvokerCollaboratorChainImpl.java:67)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletIn vokerImpl.render(PortletInvokerImpl.java:97)
    at com.ibm.ws.portletcontainer.PortletContainerImpl.d oRender(PortletContainerImpl.java:119)
    at com.ibm.ws.portletcontainer.PortletContainerInvoke rCollaboratorChainImpl.doCollaborator(PortletConta inerInvokerCollaboratorChainImpl.java:80)
    at com.ibm.ws.portletcontainer.ext.ExtCollaborator.do Render(ExtCollaborator.java:74)
    at com.ibm.ws.portletcontainer.PortletContainerInvoke rCollaboratorChainImpl.doCollaborator(PortletConta inerInvokerCollaboratorChainImpl.java:67)
    at com.ibm.ws.portletcontainer.cache.CacheInvokerColl aborator.doRender(CacheInvokerCollaborator.java:66 )
    at com.ibm.ws.portletcontainer.PortletContainerInvoke rCollaboratorChainImpl.doCollaborator(PortletConta inerInvokerCollaboratorChainImpl.java:67)
    at com.ibm.ws.portletcontainer.PortletContainerImpl.r enderPortlet(PortletContainerImpl.java:89)
    at com.ibm.ws.portletcontainer.pcinvoker.PortletInvok erImpl$2.run(PortletInvokerImpl.java:100)
    at java.security.AccessController.doPrivileged(Access Controller.java:251)
    at com.ibm.ws.portletcontainer.pcinvoker.PortletInvok erImpl.invokeRender(PortletInvokerImpl.java:96)
    at com.ibm.wps.pe.pc.waspc.core.impl.PortletInvokerIm pl$1.invoke(PortletInvokerImpl.java:92)
    at com.ibm.wps.pe.pc.waspc.core.impl.PortletInvokerIm pl.invoke(PortletInvokerImpl.java:175)
    at com.ibm.wps.pe.pc.waspc.core.impl.PortletInvokerIm pl.invokeRender(PortletInvokerImpl.java:90)
    at com.ibm.wps.pe.pc.waspc.core.impl.PortletInvokerIm pl.invokeRender(PortletInvokerImpl.java:85)
    at com.ibm.wps.wsrp.producer.provider.pc.waspc.impl.P ortletInvokerImpl.invokeGetMarkup(PortletInvokerIm pl.java:258)
    at com.ibm.wps.wsrp.producer.provider.pc.impl.Portlet InvokerImpl.invokeGetMarkup(PortletInvokerImpl.jav a:91)
    at com.ibm.wps.wsrp.producer.impl.WSRPEngine.getMarku p(WSRPEngine.java:541)
    at oasis.names.tc.wsrp.v2.bind.WSRP_v2_Markup_Binding _SOAPImpl.getMarkup(WSRP_v2_Markup_Binding_SOAPImp l.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:599)
    at com.ibm.ws.webservices.engine.dispatchers.java.Jav aDispatcher.invokeMethod(JavaDispatcher.java:178)
    at com.ibm.ws.webservices.engine.dispatchers.java.Jav aDispatcher.invokeOperation(JavaDispatcher.java:14 1)
    at com.ibm.ws.webservices.engine.dispatchers.SoapRPCP rocessor.processRequestResponse(SoapRPCProcessor.j ava:464)
    at com.ibm.ws.webservices.engine.dispatchers.SoapRPCP rocessor.processMessage(SoapRPCProcessor.java:425)
    at com.ibm.ws.webservices.engine.dispatchers.BasicDis patcher.processMessage(BasicDispatcher.java:134)
    at com.ibm.ws.webservices.engine.dispatchers.java.Ses sionDispatcher.invoke(SessionDispatcher.java:204)
    at com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper.java:230)
    at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXR PCHandler.invoke(JAXRPCHandler.java:152)
    at com.ibm.ws.webservices.engine.handlers.WrappedHand ler.invoke(WrappedHandler.java:64)
    at com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper.java:230)
    at com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper.java:230)
    at com.ibm.ws.webservices.engine.WebServicesEngine.in voke(WebServicesEngine.java:336)
    at com.ibm.ws.webservices.engine.transport.http.WebSe rvicesServlet.doPost(WebServicesServlet.java:926)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:738)
    at com.ibm.ws.webservices.engine.transport.http.WebSe rvicesServletBase.service(WebServicesServletBase.j ava:344)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:831)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1530)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1470)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:104)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._ doFilter(WebAppFilterChain.java:77)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager .doFilter(WebAppFilterManager.java:858)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:824)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:458)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl .handleRequest(ServletWrapperImpl.java:175)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.forward(WebAppRequestDispatcher.java:330)
    at com.ibm.wps.auth.AuthFacadeServlet.service(AuthFac adeServlet.java:78)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:831)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1530)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:829)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:458)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl .handleRequest(ServletWrapperImpl.java:175)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrappe r.handleRequest(CacheServletWrapper.java:91)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:862)
    at com.ibm.ws.webcontainer.WSWebContainer.handleReque st(WSWebContainer.java:1583)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:178)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:455)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:384)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLReadCallback.java:83)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListe ner.futureCompleted(AioReadCompletionListener.java :165)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallbac k(AbstractAsyncFuture.java:217)
    at com.ibm.io.async.AsyncChannelFuture.fireCompletion Actions(AsyncChannelFuture.java:161)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture .java:138)
    at com.ibm.io.async.ResultHandler.complete(ResultHand ler.java:204)
    at com.ibm.io.async.ResultHandler.runEventProcessingL oop(ResultHandler.java:775)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler .java:905)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1550)

  2. Re: WSRP issue

    It appears that this client side tag is the cause of the problem:






    Without this tag in portlet jsps WSRP works like a charm.

    Wonder if this a portal bug or misconfiguration ?

+ Reply to Thread