[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-1610) Portal Session replication broken in 2.6.1.GA

Rajesh Rajasekaran (JIRA) jira-events at lists.jboss.org
Tue Jul 24 14:49:47 EDT 2007


Portal Session replication broken in 2.6.1.GA
---------------------------------------------

                 Key: JBPORTAL-1610
                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1610
             Project: JBoss Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Portal Core
    Affects Versions: 2.6.1 Final
            Reporter: Rajesh Rajasekaran
         Assigned To: Thomas Heute
             Fix For: 2.6.1 Final


Both the use cases mentioned in the portal session replication scenario in the wiki do not work.
http://wiki.jboss.org/wiki/Wiki.jsp?page=PortalClusteringTests

A. 1. Tried logging in as user. Maximized a portlet window.
2. Shut down that instance and logged on to the second instance as user.
3. The maximized state was not replicated.

B. 1. Logged in as user and added an additional portlet on the dashboard.
2. Shut down that instance and logged in as user on the second instance.
3. The dashboard crashes with the exception below.
4. However i can see the portlet that i added in the configure dashboard options. 

In both the cases, i had setup ports-01 and ports-02 on postgresql and deployed jboss-portal-ha.sar.


javax.servlet.ServletException: java.lang.NullPointerException
	org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:406)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause

java.lang.NullPointerException
	org.jboss.portal.core.model.portal.command.PageCommand.initPortal(PageCommand.java:51)
	org.jboss.portal.core.model.portal.command.PortalCommand.acquireResources(PortalCommand.java:59)
	org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.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.common.invocation.Invocation.invoke(Invocation.java:157)
	org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:128)
	org.jboss.portal.core.model.portal.command.render.RenderWindowCommand.render(RenderWindowCommand.java:68)
	org.jboss.portal.core.model.portal.command.render.RenderPageCommand.execute(RenderPageCommand.java:203)
	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:57)
	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:118)
	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:77)
	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:51)
	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:128)
	org.jboss.portal.core.model.portal.PortalObjectResponseHandler.processCommandResponse(PortalObjectResponseHandler.java:74)
	org.jboss.portal.core.controller.classic.ClassicResponseHandler.processHandlers(ClassicResponseHandler.java:79)
	org.jboss.portal.core.controller.classic.ClassicResponseHandler.processCommandResponse(ClassicResponseHandler.java:53)
	org.jboss.portal.core.controller.handler.ResponseHandlerSelector.processCommandResponse(ResponseHandlerSelector.java:72)
	org.jboss.portal.core.controller.Controller.processCommandResponse(Controller.java:279)
	org.jboss.portal.core.controller.Controller.processCommand(Controller.java:267)
	org.jboss.portal.core.controller.Controller.handle(Controller.java:226)
	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.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:245)
	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.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:84)
	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:253)
	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:70)
	org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:131)
	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:380)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list