Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19178

Fix resilient directory session error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 7.10-HF06
    • Fix Version/s: Postponed
    • Component/s: Directory
    • Tags:
    • Story Points:
      2

      Description

      When deploying the resilient directory addon in a 7.10-HF06 distribution. When login, we see:

      10:31:51,565 ERROR [NuxeoContainer$ConnectionTrackingCoordinator] cleanup errors
      org.nuxeo.runtime.jtajca.NuxeoContainer$ConnectionTrackingCoordinator$Context$AllocationErrors: leaked {handle: org.tranql.connector.jdbc.ConnectionHandle@22e50b61ManagedConnectionInfo: org.apache.geronimo.connector.outbound.ManagedConnectionInfo@54ccce0b. mc: org.tranql.connector.jdbc.ManagedJDBCConnection@5b9b51ad]=org.nuxeo.runtime.jtajca.NuxeoContainer$ConnectionTrackingCoordinator$Context$Allocation: Allocation stack trace of handle: org.tranql.connector.jdbc.ConnectionHandle@22e50b61ManagedConnectionInfo: org.apache.geronimo.connector.outbound.ManagedConnectionInfo@54ccce0b. mc: org.tranql.connector.jdbc.ManagedJDBCConnection@5b9b51ad]} connections in localhost-startStop-1
      	at org.nuxeo.runtime.jtajca.NuxeoContainer$ConnectionTrackingCoordinator$Context.checkIsEmpty(NuxeoContainer.java:776)
      	at org.nuxeo.runtime.jtajca.NuxeoContainer$ConnectionTrackingCoordinator$Context.finalize(NuxeoContainer.java:768)
      	at java.lang.System$2.invokeFinalize(System.java:1270)
      	at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:98)
      	at java.lang.ref.Finalizer.access$100(Finalizer.java:34)
      	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:210)
      	Suppressed: org.nuxeo.runtime.jtajca.NuxeoContainer$ConnectionTrackingCoordinator$Context$Allocation: Allocation stack trace of handle: org.tranql.connector.jdbc.ConnectionHandle@22e50b61ManagedConnectionInfo: org.apache.geronimo.connector.outbound.ManagedConnectionInfo@54ccce0b. mc: org.tranql.connector.jdbc.ManagedJDBCConnection@5b9b51ad]
      		at org.nuxeo.runtime.jtajca.NuxeoContainer$ConnectionTrackingCoordinator.handleObtained(NuxeoContainer.java:794)
      		at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:67)
      		at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:77)
      		at org.nuxeo.runtime.jtajca.NuxeoContainer$ConnectionManagerWrapper.allocateConnection(NuxeoContainer.java:837)
      		at org.tranql.connector.jdbc.TranqlDataSource.getConnection(TranqlDataSource.java:62)
      		at org.nuxeo.runtime.datasource.geronimo.PooledDataSourceFactory$DataSource.getConnection(PooledDataSourceFactory.java:51)
      		at org.nuxeo.runtime.datasource.ConnectionHelper.getConnection(ConnectionHelper.java:823)
      		at org.nuxeo.runtime.datasource.ConnectionHelper.getConnection(ConnectionHelper.java:801)
      		at org.nuxeo.ecm.directory.sql.SQLDirectory.getConnection(SQLDirectory.java:265)
      		at org.nuxeo.ecm.directory.sql.SQLSession.acquireConnection(SQLSession.java:160)
      		at org.nuxeo.ecm.directory.sql.SQLSession.<init>(SQLSession.java:132)
      		at org.nuxeo.ecm.directory.sql.SQLDirectory.getSession(SQLDirectory.java:319)
      		at org.nuxeo.ecm.directory.resilient.ResilientDirectory.checkSlaveSubDirectory(ResilientDirectory.java:89)
      		at org.nuxeo.ecm.directory.resilient.ResilientDirectory.initSubDirectories(ResilientDirectory.java:158)
      		at org.nuxeo.ecm.directory.resilient.ResilientDirectory.getSession(ResilientDirectory.java:206)
      		at org.nuxeo.ecm.directory.DirectoryServiceImpl.applicationStarted(DirectoryServiceImpl.java:63)
      		at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.notifyApplicationStarted(RegistrationInfoImpl.java:325)
      		at org.nuxeo.runtime.osgi.OSGiRuntimeService.notifyComponentsOnStarted(OSGiRuntimeService.java:482)
      		at org.nuxeo.runtime.osgi.OSGiRuntimeService.fireApplicationStarted(OSGiRuntimeService.java:518)
      		at org.nuxeo.runtime.api.ServicePassivator$Waiter.proceed(ServicePassivator.java:413)
      		at org.nuxeo.runtime.api.ServicePassivator.proceed(ServicePassivator.java:81)
      		at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:530)
      		at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:232)
      		at org.nuxeo.osgi.application.loader.FrameworkLoader.doStart(FrameworkLoader.java:241)
      		at org.nuxeo.osgi.application.loader.FrameworkLoader.start(FrameworkLoader.java:125)
      		at org.nuxeo.runtime.deployment.NuxeoStarter.start(NuxeoStarter.java:118)
      		at org.nuxeo.runtime.deployment.NuxeoStarter.contextInitialized(NuxeoStarter.java:91)
      		at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5003)
      		at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5517)
      		at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      		at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
      		at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      		at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
      		at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:677)
      		at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1912)
      		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      		at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                grenard Guillaume Renard
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: