3 Replies Latest reply on Feb 9, 2007 2:58 PM by Chris Laprun

    Problem when getting Portlet Markup using WSRP

    Dinh Gia Hieu Newbie

      Hi,
      I try to invoke portlet from JBoss Portal and I keep receiving an exception org.Jboss.Portal.wsrp.core.OperationFailedFault. And this is the stack trace:

      Exceptions
      at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
      at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
      at Pavonis.Wsrp.Proxy.WSRP_v1_Markup_Binding_SOAP.getMarkup(getMarkup getMarkup1) in C:\WSRP\WsrpViewerControl2005\WsrpService\WsrpProxy.cs:line 601
      at Pavonis.Wsrp.WsrpService.wsrpGetMarkup() in C:\WSRP\WsrpViewerControl2005\WsrpService\WsrpService.cs:line 1525
      A first chance exception of type 'System.Net.WebException' occurred in System.dll
      A first chance exception of type 'System.Web.Services.Protocols.SoapException' occurred in System.Web.Services.dll
      A first chance exception of type 'System.NullReferenceException' occurred in Wsrp.Service.dll
      A first chance exception of type 'Pavonis.Wsrp.WsrpServiceException' occurred in Wsrp.Service.dll



      I still can get the list of Remote Portlet offered by JBoss Portal like Weather Portlet or News Feed, Test Portlet etc, but none of them can display because I can't get the correct Markup. Any idea that I can fix it.
      Thank you very much.
      PS: I'm using an example of writing WSRP Consumer from MSDN Magazine and it works well with Portlets from NetUnity website, but not from my local Jboss Portal. This is the link:
      http://msdn.microsoft.com/msdnmag/issues/06/02/wsrp/default.aspx

        • 1. Re: Problem when getting Portlet Markup using WSRP
          Chris Laprun Master

          The stack trace from your local JBoss Portal install would be more useful for us. I don't have easy access to a Windows system so I cannot test the MSDN client right now, however, if you receive an OperationFailedFault, it means that something went wrong on the Producer and the relevant stack trace on the server would cast some light as to what is happening.

          • 2. Re: Problem when getting Portlet Markup using WSRP
            Dinh Gia Hieu Newbie

            Hi Chris
            This is the full stack trace that I got from JBoss Portal. When I debug in Visual Studio, this exception is thrown from the Producer site and I'm not sure where's the source of this exception.

            11:29:51,593 INFO [WSRPProducerImpl] getMarkup() invoked
            11:29:51,656 ERROR [WeatherPortlet] The portlet threw an exception
            java.lang.IllegalArgumentException: Bad format
            at org.jboss.portal.portlet.ParametersStateString.(ParametersState
            String.java:64)
            at org.jboss.portal.portlet.impl.jsr168.RenderRequestImpl.(RenderR
            equestImpl.java:63)
            at org.jboss.portlet.JBossRenderRequest.(JBossRenderRequest.java:5
            1)
            at org.jboss.portlet.JBossAPIFactory.createRenderRequest(JBossAPIFactory
            .java:50)
            at org.jboss.portal.portlet.container.PortletContainer.invokeRender(Port
            letContainer.java:510)
            at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletC
            ontainer.java:440)
            at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch
            (PortletContainerInvoker.java:143)
            at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(Portle
            tInvocation.java:242)
            at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
            ava:140)
            at org.jboss.portal.wsrp.aspects.portlet.SessionInterceptor.invoke(Sessi
            onInterceptor.java:49)
            at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
            Interceptor.java:37)
            at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
            ava:130)
            at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(Mode
            sInterceptor.java:59)
            at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
            Interceptor.java:37)
            at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
            ava:130)
            at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invo
            ke(WindowStatesInterceptor.java:55)
            at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
            Interceptor.java:37)
            at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
            ava:130)
            at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor
            $InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.j
            ava:104)
            at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.
            java:161)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
            icationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
            ilterChain.java:173)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
            atcher.java:672)
            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
            ispatcher.java:539)
            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
            patcher.java:499)
            at org.jboss.portal.wsrp.invocation.WSRPRequestContext.include(WSRPReque
            stContext.java:74)
            at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor
            $1.include(ContextDispatcherInterceptor.java:68)
            at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet
            .java:84)
            at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor
            .invoke(ContextDispatcherInterceptor.java:74)
            at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
            Interceptor.java:37)
            at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
            ava:130)
            at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:
            171)
            at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(Por
            tletContainerInvoker.java:114)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
            or.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
            BeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy33.invoke(Unknown Source)
            at org.jboss.portal.portlet.state.producer.StatefulPortletInvoker.invoke
            (StatefulPortletInvoker.java:249)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
            or.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
            BeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy36.invoke(Unknown Source)
            at org.jboss.portal.wsrp.producer.MarkupHandler.getMarkup(MarkupHandler.
            java:202)
            at org.jboss.portal.wsrp.producer.WSRPProducerImpl.getMarkup(WSRPProduce
            rImpl.java:212)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
            or.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
            BeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.ja
            va:287)
            at $Proxy143.getMarkup(Unknown Source)
            at org.jboss.portal.wsrp.endpoints.MarkupEndpoint.getMarkup(MarkupEndpoi
            nt.java:59)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.ws.server.ServiceEndpointInvokerJSE.invokeServiceEndpoint(S
            erviceEndpointInvokerJSE.java:95)
            at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvo
            ker.java:118)
            at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.jav
            a:234)
            at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServ
            let.java:120)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
            icationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
            ilterChain.java:173)
            at org.jboss.portal.wsrp.servlet.TransactionFilter.doFilter(TransactionF
            ilter.java:77)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
            icationFilterChain.java:202)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
            ilterChain.java:173)
            at org.jboss.portal.wsrp.servlet.ServletAccessFilter.doFilter(ServletAcc
            essFilter.java:53)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
            icationFilterChain.java:202)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
            ilterChain.java:173)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
            lter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
            icationFilterChain.java:202)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
            ilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
            alve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
            alve.java:178)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
            yAssociationValve.java:175)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
            e.java:74)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
            ava:126)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
            ava:105)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
            ve.java:107)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
            a:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
            :869)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
            rocessConnection(Http11BaseProtocol.java:664)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
            int.java:527)
            at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
            kerThread.java:112)
            at java.lang.Thread.run(Unknown Source)
            11:29:51,671 ERROR [SOAPFaultExceptionHelper] SOAP request exception
            org.jboss.portal.wsrp.core.OperationFailedFault
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
            rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at java.lang.Class.newInstance0(Unknown Source)
            at java.lang.Class.newInstance(Unknown Source)
            at org.jboss.portal.wsrp.WSRPUtils.createFaultFrom(WSRPUtils.java:235)
            at org.jboss.portal.wsrp.WSRPUtils.createOperationFailedFault(WSRPUtils.
            java:227)
            at org.jboss.portal.wsrp.producer.MarkupHandler.checkForError(MarkupHand
            ler.java:458)
            at org.jboss.portal.wsrp.producer.MarkupHandler.getMarkup(MarkupHandler.
            java:210)
            at org.jboss.portal.wsrp.producer.WSRPProducerImpl.getMarkup(WSRPProduce
            rImpl.java:212)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
            or.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
            BeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.ja
            va:287)
            at $Proxy143.getMarkup(Unknown Source)
            at org.jboss.portal.wsrp.endpoints.MarkupEndpoint.getMarkup(MarkupEndpoi
            nt.java:59)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.ws.server.ServiceEndpointInvokerJSE.invokeServiceEndpoint(S
            erviceEndpointInvokerJSE.java:95)
            at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvo
            ker.java:118)
            at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.jav
            a:234)
            at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServ
            let.java:120)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
            icationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
            ilterChain.java:173)
            at org.jboss.portal.wsrp.servlet.TransactionFilter.doFilter(TransactionF
            ilter.java:77)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
            icationFilterChain.java:202)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
            ilterChain.java:173)
            at org.jboss.portal.wsrp.servlet.ServletAccessFilter.doFilter(ServletAcc
            essFilter.java:53)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
            icationFilterChain.java:202)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
            ilterChain.java:173)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
            lter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
            icationFilterChain.java:202)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
            ilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
            alve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
            alve.java:178)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
            yAssociationValve.java:175)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
            e.java:74)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
            ava:126)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
            ava:105)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
            ve.java:107)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
            a:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
            :869)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
            rocessConnection(Http11BaseProtocol.java:664)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
            int.java:527)
            at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
            kerThread.java:112)
            at java.lang.Thread.run(Unknown Source)
            Caused by: java.lang.IllegalArgumentException: Bad format
            at org.jboss.portal.portlet.ParametersStateString.(ParametersState
            String.java:64)
            at org.jboss.portal.portlet.impl.jsr168.RenderRequestImpl.(RenderR
            equestImpl.java:63)
            at org.jboss.portlet.JBossRenderRequest.(JBossRenderRequest.java:5
            1)
            at org.jboss.portlet.JBossAPIFactory.createRenderRequest(JBossAPIFactory
            .java:50)
            at org.jboss.portal.portlet.container.PortletContainer.invokeRender(Port
            letContainer.java:510)
            at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletC
            ontainer.java:440)
            at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch
            (PortletContainerInvoker.java:143)
            at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(Portle
            tInvocation.java:242)
            at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
            ava:140)
            at org.jboss.portal.wsrp.aspects.portlet.SessionInterceptor.invoke(Sessi
            onInterceptor.java:49)
            at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
            Interceptor.java:37)
            at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
            ava:130)
            at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(Mode
            sInterceptor.java:59)
            at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
            Interceptor.java:37)
            at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
            ava:130)
            at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invo
            ke(WindowStatesInterceptor.java:55)
            at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
            Interceptor.java:37)
            at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
            ava:130)
            at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor
            $InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.j
            ava:104)
            at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.
            java:161)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
            icationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
            ilterChain.java:173)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
            atcher.java:672)
            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
            ispatcher.java:539)
            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
            patcher.java:499)
            at org.jboss.portal.wsrp.invocation.WSRPRequestContext.include(WSRPReque
            stContext.java:74)
            at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor
            $1.include(ContextDispatcherInterceptor.java:68)
            at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet
            .java:84)
            at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor
            .invoke(ContextDispatcherInterceptor.java:74)
            at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet
            Interceptor.java:37)
            at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
            ava:130)
            at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:
            171)
            at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(Por
            tletContainerInvoker.java:114)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
            or.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
            BeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy33.invoke(Unknown Source)
            at org.jboss.portal.portlet.state.producer.StatefulPortletInvoker.invoke
            (StatefulPortletInvoker.java:249)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
            or.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
            BeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy36.invoke(Unknown Source)
            at org.jboss.portal.wsrp.producer.MarkupHandler.getMarkup(MarkupHandler.
            java:202)
            ... 50 more

            • 3. Re: Problem when getting Portlet Markup using WSRP
              Chris Laprun Master

              Sorry for taking so long to get back to you... Can you please post the SOAP messages that are being sent? You can do that by adding:

              <category name="jbossws.SOAPMessage">
               <priority value="TRACE" class="org.jboss.logging.XLevel"/>
              </category>
              to conf/log4j.xml for your AS instance.