Bug 793070 (JBEPP-152)

Summary: Failover exception when removing portlet from dashboard
Product: [JBoss] JBoss Enterprise Portal Platform 4 Reporter: mposolda
Component: PortalAssignee: Default User <jbpapp-maint>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3.0.GA_CP3CC: epp-bugs
Target Milestone: ---   
Target Release: 4.3.0.GA_CP7   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-152
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
JBoss EPP 4.3.GA CP03, Sun Java 1.5.0_15, Apache 2.0.52 with mod_jk 1.2.26
Last Closed: 2011-12-13 17:05:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description mposolda 2009-12-18 13:48:56 UTC
project_key: JBEPP

1) Start apache http server, which is used as load balancer, and start 2 nodes with EPP 4.3 CP02 on different servers.
2) Login as admin, go to dashboard and remove some portlet (for example Welcome portlet) from dashboard.
3) Kill portal node which serves the requests from load balancer.
4) Go to dashboard http://perf16.qa.atl2.redhat.com:8080/portal/auth/dashboard
5) You can see an exception on the screen and in server.log

05:43:30,484 ERROR [ContainerBase] Servlet.service() for servlet PortalServletWithPathMapping threw exception
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.jboss.portal.core.impl.model.portal.ObjectNode#113]
	at org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:145)
	at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)
	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
	at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
	at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:846)
	at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:567)
	at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:196)
	at org.hibernate.collection.PersistentMap.initializeFromCache(PersistentMap.java:360)
	at org.hibernate.cache.entry.CollectionCacheEntry.assemble(CollectionCacheEntry.java:35)
	at org.hibernate.event.def.DefaultInitializeCollectionEventListener.initializeCollectionFromCache(DefaultInitializeCollectionEventListener.java:130)
	at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:48)
	at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1716)
	at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:344)
	at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86)
	at org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:109)
	at org.hibernate.collection.PersistentMap.size(PersistentMap.java:114)
	at java.util.TreeMap.putAll(TreeMap.java:314)
	at java.util.TreeMap.<init>(TreeMap.java:156)
	at org.jboss.portal.core.impl.model.portal.PortalObjectImpl$ChildrenCollection.<init>(PortalObjectImpl.java:209)
	at org.jboss.portal.core.impl.model.portal.PortalObjectImpl.getChildren(PortalObjectImpl.java:384)
	at org.jboss.portal.core.model.portal.command.render.RenderPageCommand.acquireResources(RenderPageCommand.java:113)
	at org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:42)
	at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
	at org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
	at org.jboss.portal.core.model.portal.PortalObjectResponseHandler.processCommandResponse(PortalObjectResponseHandler.java:81)
	at org.jboss.portal.core.controller.classic.ClassicResponseHandler.processHandlers(ClassicResponseHandler.java:79)
	at org.jboss.portal.core.controller.classic.ClassicResponseHandler.processCommandResponse(ClassicResponseHandler.java:53)
	at org.jboss.portal.core.controller.handler.ResponseHandlerSelector.processCommandResponse(ResponseHandlerSelector.java:70)
	at org.jboss.portal.core.controller.Controller.processCommandResponse(Controller.java:315)
	at org.jboss.portal.core.controller.Controller.processCommand(Controller.java:303)
	at org.jboss.portal.core.controller.Controller.handle(Controller.java:261)
	at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
	at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:196)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.core.aspects.server.IdentityCacheInterceptor.invoke(IdentityCacheInterceptor.java:68)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
	at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
	at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253)
	at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
	at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
	at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
	at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:69)
	at org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:130)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
	at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
	at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:97)
	at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:84)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
	at org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn.invoke(ClusteredSingleSignOn.java:677)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:595)

Comment 1 mposolda 2009-12-18 14:47:39 UTC
Link: Added: This issue is a dependency of JBEPP-153


Comment 2 mposolda 2009-12-18 14:47:59 UTC
Link: Removed: This issue is a dependency of JBEPP-153 


Comment 3 mposolda 2009-12-18 14:48:18 UTC
Link: Added: This issue is related to JBEPP-153


Comment 4 mposolda 2009-12-18 15:05:34 UTC
Typo in point 1 in bug description: I filled "CP02" but affect version should be "EPP 4.3 CP03".

Comment 5 mark yarborough 2011-11-09 22:34:03 UTC
Moved to 43 CP7 for triage after 5.2 ships.

Comment 6 Jared MORGAN 2012-01-03 23:07:22 UTC
Release Notes Docs Status: Added: Not Required