3 Replies Latest reply on Sep 7, 2007 2:54 PM by Brendan Farragher

    Using struts-portal-bridge with jboss portal 2.2 ,with an ex

    Kobye Novice

      I use a clean copy of HelloWorldPortlet download from URL http://labs.jboss.com/file-access/default/members/portletswap/downloads/portlets/samples/HelloWorldPortlet.zip
      .

      I create a struts action named HelloAction,
      a portlet named TestPortlet,

       rResponse.setContentType("text/html");
       javax.portlet.PortletRequestDispatcher pRD =
       this.getPortletContext().getRequestDispatcher("/hello.do");
       pRD.include(rRequest, rResponse);
      
      .

      I put struts-portal-bridge jar into the application,
      create struts-portlet-config.xml
      and declare struts's mapping in the web.xml.


      There is an Exception after depolyed.
      the content of the Exception:
      006-01-13 17:02:50,843 DEBUG [net.sf.ehcache.Cache] org.jboss.portal.core.impl.model.portal.PortalImpl.modes#2 mostRecentTime: 1137142969625
      2006-01-13 17:02:50,843 DEBUG [net.sf.ehcache.Cache] org.jboss.portal.core.impl.model.portal.PortalImpl.modes#2 Age to Idle: 120000 Age Idled: 1218
      2006-01-13 17:02:50,843 DEBUG [net.sf.ehcache.Cache] org.jboss.portal.core.impl.model.portal.PortalImpl.modes: Is element with key org.jboss.portal.core.impl.model.portal.PortalImpl.modes#2 expired?: false
      2006-01-13 17:02:50,843 DEBUG [org.hibernate.cache.ReadWriteCache] Cache hit: org.jboss.portal.core.impl.model.portal.PortalImpl.modes#2
      2006-01-13 17:02:50,843 DEBUG [org.hibernate.event.def.DefaultInitializeCollectionEventListener] collection initialized from cache
      2006-01-13 17:02:51,062 ERROR [org.jboss.portal.server.servlet.CommandFilter] Exception in command invocation
      java.lang.ClassCastException: org.jboss.portal.portlet.impl.DispatchedHttpServletRequest
       at org.apache.catalina.core.ApplicationDispatcher.unwrapRequest(ApplicationDispatcher.java:814)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:401)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
       at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054)
       at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)
       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:412)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.portal.portlet.impl.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:64)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:54)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at org.jboss.portal.portlet.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:85)
       at org.jsports.portal.test.TestPortlet.doView(Unknown Source)
       at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:154)
       at org.jsports.portal.test.TestPortlet.render(Unknown Source)
       at org.jboss.portal.portlet.PortletContainer.invokeRender(PortletContainer.java:499)
       at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:416)
       at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:66)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
       at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:59)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:37)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:63)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:154)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:38)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:32)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:36)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:71)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:116)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:88)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:234)
       at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:60)
       at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:68)
       at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:66)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:97)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:36)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:56)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:51)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
       at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:71)
       at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:65)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
       at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:72)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:156)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:48)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:55)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
       at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:94)
       at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:128)
       at org.jboss.portal.core.command.RenderPageCommand.renderPortlets(RenderPageCommand.java:218)
       at org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:151)
       at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:65)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
       at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:72)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:156)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:48)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:45)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
       at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:94)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:80)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:64)
       at org.jboss.portal.core.CoreController.handle(CoreController.java:177)
       at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
       at $Proxy122.handle(Unknown Source)
       at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:63)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
       at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:35)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:40)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:55)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:56)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:171)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:74)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:62)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
       at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:208)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      2006-01-13 17:02:51,078 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/helloworldportlet].[action]] Servlet.service() for servlet action threw exception
      java.lang.ClassCastException: org.jboss.portal.portlet.impl.DispatchedHttpServletRequest
       at org.apache.catalina.core.ApplicationDispatcher.unwrapRequest(ApplicationDispatcher.java:814)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:401)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
       at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054)
       at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)
       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:412)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.portal.portlet.impl.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:64)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:54)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at org.jboss.portal.portlet.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:85)
       at org.jsports.portal.test.TestPortlet.doView(Unknown Source)
       at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:154)
       at org.jsports.portal.test.TestPortlet.render(Unknown Source)
       at org.jboss.portal.portlet.PortletContainer.invokeRender(PortletContainer.java:499)
       at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:416)
       at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:66)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
       at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:59)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:37)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:63)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:154)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:38)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:32)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:36)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:71)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:116)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:88)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:234)
       at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:60)
       at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:68)
       at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:66)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:97)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:36)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:56)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:51)
       at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
       at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:71)
       at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:65)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
       at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:72)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:156)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:48)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:55)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
       at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:94)
       at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:128)
       at org.jboss.portal.core.command.RenderPageCommand.renderPortlets(RenderPageCommand.java:218)
       at org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:151)
       at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:65)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
       at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:72)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:156)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:48)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:45)
       at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
       at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:94)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:80)
       at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:64)
       at org.jboss.portal.core.CoreController.handle(CoreController.java:177)
       at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
       at $Proxy122.handle(Unknown Source)
       at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:63)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
       at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:35)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:40)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:55)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:56)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:171)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:74)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:62)
       at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
       at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
       at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
       at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:208)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      2006-01-13 17:02:51,078 DEBUG [org.jboss.portal.theme.LayoutDispatcher] got request dispatcher for layout resource: true
      2006-01-13 17:02:51,078 DEBUG [org.jboss.portal.theme.impl.ThemeLinkImpl] get link ...
      2006-01-13 17:02:51,078 DEBUG [org.jboss.portal.theme.impl.ThemeLinkImpl] returning: <link rel='stylesheet' type='text/css' id='main_css' href='/portal-core/themes/phalanx/portal_style.css' />
      2006-01-13 17:02:51,078 DEBUG [org.jboss.portal.theme.impl.ThemeLinkImpl] get link ...
      


      sorry.
      Can not add attach files.

      I will send it in a mail if the example is needed.