3 Replies Latest reply on May 12, 2008 1:20 AM by Thomas Heute

    2.6.4 bundle : resp.signOut()  raise an exception

    pmn92 Novice

      Version used : 2.6.4 bundle


      resp.signOut();

      resp is a JBossActionResponse

      Question : How to sign out then?



      exception
      
      javax.servlet.ServletException: java.lang.IllegalArgumentException
       org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:276)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      
      cause mère
      
      java.lang.IllegalArgumentException
       org.jboss.portal.core.controller.command.response.SignOutResponse.<init>(SignOutResponse.java:45)
       org.jboss.portal.core.controller.portlet.ControllerResponseFactory.createResponse(ControllerResponseFactory.java:124)
       org.jboss.portal.core.controller.portlet.ControllerResponseFactory.createActionResponse(ControllerResponseFactory.java:87)
       org.jboss.portal.core.model.portal.command.action.InvokePortletWindowActionCommand.execute(InvokePortletWindowActionCommand.java:177)
       org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
       org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:123)
       org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)
       org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:133)
       org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
       org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
       org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
       org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:56)
       org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
       org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
       org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
       org.jboss.portal.core.controller.Controller.processCommand(Controller.java:235)
       org.jboss.portal.core.controller.Controller.handle(Controller.java:217)
       org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
       org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
       org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
       org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45)
       org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96)
       org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:246)
       org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98)
       org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65)
       org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
       org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
       org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
       org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
       org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
       org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
       org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:69)
       org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:130)
       org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
       org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
       org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:250)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)