[jboss-user] [JBoss Portal] - errors:when many users first login portal, it need to create JBP_OBJECT_NODE info

Sully Zhang do-not-reply at jboss.com
Fri May 21 21:30:47 EDT 2010


Sully Zhang [http://community.jboss.org/people/yelan_gatein] created the discussion

"errors:when many users first login portal, it need to create JBP_OBJECT_NODE info"

To view the discussion, visit: http://community.jboss.org/message/544293#544293

--------------------------------------------------------------
jboss portal 2.7.2 , jboss-as 4

when many users first login portal at the same time, portal need to create info to tabale JBP_OBJECT_NODE for dashboard.
jboss console errors:

Thanks.


2010-05-21 14:09:10,279 WARN  [http-443-125][org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Attempt to return connection twice (ignored): org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener at 5e405e40[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection at 1a7c1a7c handles=0 lastUse=1274465350279 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool at 39233923 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool at 64626462 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource at 5e385e38 txSync=null]
java.lang.Throwable: STACKTRACE
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.returnConnection(InternalManagedConnectionPool.java:379)
    at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.returnConnection(JBossManagedConnectionPool.java:704)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.returnManagedConnection(BaseConnectionManager2.java:369)
    at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.connectionClosed(TxConnectionManager.java:654)
    at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.closeHandle(BaseWrapperManagedConnection.java:363)
    at org.jboss.resource.adapter.jdbc.WrappedConnection.close(WrappedConnection.java:155)
    at org.hibernate.connection.DatasourceConnectionProvider.closeConnection(DatasourceConnectionProvider.java:74)
    at org.hibernate.jdbc.ConnectionManager.closeConnection(ConnectionManager.java:451)
    at org.hibernate.jdbc.ConnectionManager.aggressiveRelease(ConnectionManager.java:406)
    at org.hibernate.jdbc.ConnectionManager.afterStatement(ConnectionManager.java:281)
    at org.hibernate.jdbc.AbstractBatcher.closePreparedStatement(AbstractBatcher.java:543)
    at org.hibernate.jdbc.AbstractBatcher.closeStatement(AbstractBatcher.java:269)
    at org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:276)
    at org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:212)
    at org.hibernate.loader.Loader.doQuery(Loader.java:726)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
    at org.hibernate.loader.Loader.loadEntity(Loader.java:1860)
    at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
    at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
    at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3044)
    at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:395)
    at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:375)
    at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139)
    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:557)
    at org.hibernate.type.EntityType.resolve(EntityType.java:379)
    at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:116)
    at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
    at org.hibernate.loader.Loader.doQuery(Loader.java:729)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
    at org.hibernate.loader.Loader.loadCollection(Loader.java:1994)
    at org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:36)
    at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:565)
    at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60)
    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.readElementByIndex(AbstractPersistentCollection.java:150)
    at org.hibernate.collection.PersistentMap.get(PersistentMap.java:146)
    at org.jboss.portal.core.impl.model.portal.PortalObjectImpl.getChild(PortalObjectImpl.java:412)
    at org.jboss.portal.core.impl.model.portal.ContextImpl.getPortal(ContextImpl.java:51)
    at org.jboss.portal.core.impl.model.CustomizationManagerService.getDashboard(CustomizationManagerService.java:282)
    at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.injectDashboardNav(PageCustomizerInterceptor.java:254)
    at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:165)
    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.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
    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.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
    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.core.aspects.controller.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:48)
    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.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)
    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.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.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.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:55)
    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.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
    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:80)
    at org.jboss.portal.core.controller.classic.ClassicResponseHandler.processHandlers(ClassicResponseHandler.java:78)
    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:281)
    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.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.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.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:87)
    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:803)
    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:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    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:446)
    at java.lang.Thread.run(Thread.java:735)

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/544293#544293]

Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2011]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100521/4ad4a84a/attachment-0001.html 


More information about the jboss-user mailing list