Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-9146 Startup error on JBoss EAP 5.1.1
  3. NXP-9159

gadget service don't close directory session (in JBoss EAP 5.1.0)

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 5.4.2
    • Fix Version/s: None
    • Component/s: None
    • Environment:
      JBoss EAP 5.1.0

      Description

      First stack

      2012-04-03 12:39:20,036 INFO  [org.jboss.resource.connectionmanager.CachedConnectionManager] Closing a connection for you.  Please close them yourself: org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6@1b3608f
      java.lang.Throwable: STACKTRACE
      	at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:278)
      	at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:524)
      	at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
      	at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
      	at org.nuxeo.ecm.directory.sql.SQLSession.acquireConnection(SQLSession.java:148)
      	at org.nuxeo.ecm.directory.sql.SQLSession.<init>(SQLSession.java:120)
      	at org.nuxeo.ecm.directory.sql.SQLDirectory.getSession(SQLDirectory.java:245)
      	at org.nuxeo.ecm.directory.sql.SQLDirectoryProxy.getSession(SQLDirectoryProxy.java:90)
      	at org.nuxeo.ecm.directory.DirectoryServiceImpl.open(DirectoryServiceImpl.java:183)
      	at org.nuxeo.ecm.platform.directory.ejb.DirectoryManagerBean.open(DirectoryManagerBean.java:310)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
      	at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:72)
      	at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:76)
      	at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:62)
      	at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
      	at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_2428110.invoke(InvocationContextInterceptor_z_fillMethod_2428110.java)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
      	at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_2428110.invoke(InvocationContextInterceptor_z_setup_2428110.java)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
      	at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:182)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:193)
      	at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:250)
      	at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:188)
      	at $Proxy331.open(Unknown Source)
      	at org.nuxeo.opensocial.gadgets.service.GadgetServiceImpl.getInternalAndExternalGadgets(GadgetServiceImpl.java:276)
      

      Another stack

      2012-04-03 12:39:20,211 INFO  [org.jboss.resource.connectionmanager.CachedConnectionManager] Closing a connection for you.  Please close them yourself: org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6@81441f
      java.lang.Throwable: STACKTRACE
      	at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:278)
      	at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:524)
      	at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
      	at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
      	at org.nuxeo.ecm.directory.sql.SQLSession.acquireConnection(SQLSession.java:148)
      	at org.nuxeo.ecm.directory.sql.SQLSession.query(SQLSession.java:613)
      	at org.nuxeo.ecm.directory.sql.SQLSession.query(SQLSession.java:606)
      	at org.nuxeo.ecm.directory.sql.SQLSession.query(SQLSession.java:963)
      	at org.nuxeo.ecm.directory.sql.SQLSession.query(SQLSession.java:812)
      	at org.nuxeo.ecm.directory.sql.SQLSession.getEntries(SQLSession.java:376)
      	at org.nuxeo.ecm.platform.directory.ejb.DirectoryManagerBean.getEntries(DirectoryManagerBean.java:156)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
      	at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:72)
      	at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:76)
      	at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:62)
      	at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
      	at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_2428110.invoke(InvocationContextInterceptor_z_fillMethod_2428110.java)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
      	at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_2428110.invoke(InvocationContextInterceptor_z_setup_2428110.java)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
      	at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:182)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:193)
      	at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:250)
      	at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:188)
      	at $Proxy331.getEntries(Unknown Source)
      	at org.nuxeo.ecm.directory.impl.DirectoryClientImpl.getEntries(DirectoryClientImpl.java:106)
      	at org.nuxeo.opensocial.gadgets.service.GadgetServiceImpl.getInternalAndExternalGadgets(GadgetServiceImpl.java:278)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                slacoin Stéphane Lacoin
                Reporter:
                slacoin Stéphane Lacoin
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: