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

oauth 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

      2012-04-03 12:54:02,146 INFO  [org.jboss.resource.connectionmanager.CachedConnectionManager] Closing a connection for you.  Please close them yourself: org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6@2f9640
      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.platform.directory.ejb.DirectoryManagerBean.query(DirectoryManagerBean.java:246)
      	at sun.reflect.GeneratedMethodAccessor1990.invoke(Unknown Source)
      	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.query(Unknown Source)
      	at org.nuxeo.ecm.directory.impl.DirectoryClientImpl.query(DirectoryClientImpl.java:153)
      	at org.nuxeo.ecm.platform.oauth.providers.OAuthServiceProviderRegistryImpl.getEntry(OAuthServiceProviderRegistryImpl.java:133)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: