<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    errors:when many users first login portal, it need to create JBP_OBJECT_NODE info
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/yelan_gatein">Sully Zhang</a> in <i>JBoss Portal</i> - <a href="http://community.jboss.org/message/544293#544293">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>jboss portal 2.7.2 , jboss-as 4</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>when many users first login portal at the same time, portal need to create info to tabale JBP_OBJECT_NODE for dashboard.</p><p>jboss console errors:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thanks.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>2010-05-21 14:09:10,279 WARN&#160; [http-443-125][org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Attempt to return connection twice (ignored): org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@5e405e40[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@1a7c1a7c handles=0 lastUse=1274465350279 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@39233923 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@64626462 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@5e385e38 txSync=null]<br/>java.lang.Throwable: STACKTRACE<br/>&#160;&#160;&#160; at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.returnConnection(InternalManagedConnectionPool.java:379)<br/>&#160;&#160;&#160; at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.returnConnection(JBossManagedConnectionPool.java:704)<br/>&#160;&#160;&#160; at org.jboss.resource.connectionmanager.BaseConnectionManager2.returnManagedConnection(BaseConnectionManager2.java:369)<br/>&#160;&#160;&#160; at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.connectionClosed(TxConnectionManager.java:654)<br/>&#160;&#160;&#160; at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.closeHandle(BaseWrapperManagedConnection.java:363)<br/>&#160;&#160;&#160; at org.jboss.resource.adapter.jdbc.WrappedConnection.close(WrappedConnection.java:155)<br/>&#160;&#160;&#160; at org.hibernate.connection.DatasourceConnectionProvider.closeConnection(DatasourceConnectionProvider.java:74)<br/>&#160;&#160;&#160; at org.hibernate.jdbc.ConnectionManager.closeConnection(ConnectionManager.java:451)<br/>&#160;&#160;&#160; at org.hibernate.jdbc.ConnectionManager.aggressiveRelease(ConnectionManager.java:406)<br/>&#160;&#160;&#160; at org.hibernate.jdbc.ConnectionManager.afterStatement(ConnectionManager.java:281)<br/>&#160;&#160;&#160; at org.hibernate.jdbc.AbstractBatcher.closePreparedStatement(AbstractBatcher.java:543)<br/>&#160;&#160;&#160; at org.hibernate.jdbc.AbstractBatcher.closeStatement(AbstractBatcher.java:269)<br/>&#160;&#160;&#160; at org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:276)<br/>&#160;&#160;&#160; at org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:212)<br/>&#160;&#160;&#160; at org.hibernate.loader.Loader.doQuery(Loader.java:726)<br/>&#160;&#160;&#160; at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)<br/>&#160;&#160;&#160; at org.hibernate.loader.Loader.loadEntity(Loader.java:1860)<br/>&#160;&#160;&#160; at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)<br/>&#160;&#160;&#160; at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)<br/>&#160;&#160;&#160; at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3044)<br/>&#160;&#160;&#160; at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:395)<br/>&#160;&#160;&#160; at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:375)<br/>&#160;&#160;&#160; at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139)<br/>&#160;&#160;&#160; at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)<br/>&#160;&#160;&#160; at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)<br/>&#160;&#160;&#160; at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)<br/>&#160;&#160;&#160; at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:846)<br/>&#160;&#160;&#160; at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:557)<br/>&#160;&#160;&#160; at org.hibernate.type.EntityType.resolve(EntityType.java:379)<br/>&#160;&#160;&#160; at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:116)<br/>&#160;&#160;&#160; at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)<br/>&#160;&#160;&#160; at org.hibernate.loader.Loader.doQuery(Loader.java:729)<br/>&#160;&#160;&#160; at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)<br/>&#160;&#160;&#160; at org.hibernate.loader.Loader.loadCollection(Loader.java:1994)<br/>&#160;&#160;&#160; at org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:36)<br/>&#160;&#160;&#160; at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:565)<br/>&#160;&#160;&#160; at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60)<br/>&#160;&#160;&#160; at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1716)<br/>&#160;&#160;&#160; at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:344)<br/>&#160;&#160;&#160; at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86)<br/>&#160;&#160;&#160; at org.hibernate.collection.AbstractPersistentCollection.readElementByIndex(AbstractPersistentCollection.java:150)<br/>&#160;&#160;&#160; at org.hibernate.collection.PersistentMap.get(PersistentMap.java:146)<br/>&#160;&#160;&#160; at org.jboss.portal.core.impl.model.portal.PortalObjectImpl.getChild(PortalObjectImpl.java:412)<br/>&#160;&#160;&#160; at org.jboss.portal.core.impl.model.portal.ContextImpl.getPortal(ContextImpl.java:51)<br/>&#160;&#160;&#160; at org.jboss.portal.core.impl.model.CustomizationManagerService.getDashboard(CustomizationManagerService.java:282)<br/>&#160;&#160;&#160; at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.injectDashboardNav(PageCustomizerInterceptor.java:254)<br/>&#160;&#160;&#160; at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:165)<br/>&#160;&#160;&#160; at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)<br/>&#160;&#160;&#160; at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)<br/>&#160;&#160;&#160; at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.core.aspects.controller.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:48)<br/>&#160;&#160;&#160; at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)<br/>&#160;&#160;&#160; at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)<br/>&#160;&#160;&#160; at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:55)<br/>&#160;&#160;&#160; at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)<br/>&#160;&#160;&#160; at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)<br/>&#160;&#160;&#160; at org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)<br/>&#160;&#160;&#160; at org.jboss.portal.core.model.portal.PortalObjectResponseHandler.processCommandResponse(PortalObjectResponseHandler.java:80)<br/>&#160;&#160;&#160; at org.jboss.portal.core.controller.classic.ClassicResponseHandler.processHandlers(ClassicResponseHandler.java:78)<br/>&#160;&#160;&#160; at org.jboss.portal.core.controller.classic.ClassicResponseHandler.processCommandResponse(ClassicResponseHandler.java:53)<br/>&#160;&#160;&#160; at org.jboss.portal.core.controller.handler.ResponseHandlerSelector.processCommandResponse(ResponseHandlerSelector.java:70)<br/>&#160;&#160;&#160; at org.jboss.portal.core.controller.Controller.processCommandResponse(Controller.java:315)<br/>&#160;&#160;&#160; at org.jboss.portal.core.controller.Controller.processCommand(Controller.java:281)<br/>&#160;&#160;&#160; at org.jboss.portal.core.controller.Controller.handle(Controller.java:261)<br/>&#160;&#160;&#160; at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)<br/>&#160;&#160;&#160; at org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)<br/>&#160;&#160;&#160; at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)<br/>&#160;&#160;&#160; at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45)<br/>&#160;&#160;&#160; at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96)<br/>&#160;&#160;&#160; at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:196)<br/>&#160;&#160;&#160; at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98)<br/>&#160;&#160;&#160; at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65)<br/>&#160;&#160;&#160; at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.core.aspects.server.IdentityCacheInterceptor.invoke(IdentityCacheInterceptor.java:68)<br/>&#160;&#160;&#160; at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)<br/>&#160;&#160;&#160; at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)<br/>&#160;&#160;&#160; at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87)<br/>&#160;&#160;&#160; at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)<br/>&#160;&#160;&#160; at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)<br/>&#160;&#160;&#160; at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)<br/>&#160;&#160;&#160; at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:69)<br/>&#160;&#160;&#160; at org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:130)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)<br/>&#160;&#160;&#160; at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)<br/>&#160;&#160;&#160; at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252)<br/>&#160;&#160;&#160; at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br/>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br/>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br/>&#160;&#160;&#160; at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br/>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br/>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br/>&#160;&#160;&#160; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)<br/>&#160;&#160;&#160; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)<br/>&#160;&#160;&#160; at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)<br/>&#160;&#160;&#160; at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)<br/>&#160;&#160;&#160; at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)<br/>&#160;&#160;&#160; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br/>&#160;&#160;&#160; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br/>&#160;&#160;&#160; at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)<br/>&#160;&#160;&#160; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br/>&#160;&#160;&#160; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)<br/>&#160;&#160;&#160; at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)<br/>&#160;&#160;&#160; at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)<br/>&#160;&#160;&#160; at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)<br/>&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:735)</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/544293#544293">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Portal at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2011">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>