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

nuxeoDriveVirtualEventLoggerListener can lead to a BatchUpdateException

    XMLWordPrintable

    Details

      Description

      When trying to log an audit entry with a string value > 256 characters in its extended info.

      2017-05-17 08:20:31,699 WARN  [http-bio-0.0.0.0-8080-exec-477] [org.nuxeo.ecm.core.event.impl.PostCommitEventExecutor] Events postcommit execution exceeded timeout of 300ms, leaving thread running
      2017-05-17 08:20:31,964 WARN  [Nuxeo-Work-default-114] [org.hibernate.util.JDBCExceptionReporter] SQL Error: 0, SQLState: 22001
      2017-05-17 08:20:31,964 ERROR [Nuxeo-Work-default-114] [org.hibernate.util.JDBCExceptionReporter] Batch entry 0 insert into NXP_LOGS_EXTINFO (LOG_EXTINFO_STRING, DISCRIMINATOR, LOG_EXTINFO_ID) values ('Rapport relatif au montant du loyer du terrain dans le cadre de la conclusion d''un bail emphytéotique. - le relevé des mes frais et honoraires  - Détermination de la valeur vénale du terrain en fonction des droits à construire communiqués - Détermination de la valeur de l''investissement à réaliser par le preneurs - Actualisation dudit investissement en fonction de la durée envisagée - Détermination de l''apport net du bailleur correspondant à la différence entre la valeur du terrain et la valeur actuelle de l''investissement - Détermination du loyer sur la base de la valeur de l''apport et d''un taux de rémunération  .pdf', 'STRING', 38449095) was aborted.  Call getNextException to see the cause.
      2017-05-17 08:20:31,966 WARN  [Nuxeo-Work-default-114] [org.hibernate.util.JDBCExceptionReporter] SQL Error: 0, SQLState: 22001
      2017-05-17 08:20:31,967 ERROR [Nuxeo-Work-default-114] [org.hibernate.util.JDBCExceptionReporter] ERROR: value too long for type character varying(255)
      2017-05-17 08:20:31,972 ERROR [Nuxeo-Work-default-114] [org.hibernate.event.def.AbstractFlushingEventListener] Could not synchronize database state with session
      org.hibernate.exception.DataException: Could not execute JDBC batch update
      	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:100)
      	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
      	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
      	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
      	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1028)
      	at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:304)
      	at org.nuxeo.ecm.core.persistence.PersistenceProvider.doCommit(PersistenceProvider.java:99)
      	at org.nuxeo.ecm.core.persistence.PersistenceProvider.releaseEntityManager(PersistenceProvider.java:128)
      	at org.nuxeo.ecm.core.persistence.PersistenceProvider.run(PersistenceProvider.java:188)
      	at org.nuxeo.ecm.platform.audit.service.DefaultAuditBackend.addLogEntries(DefaultAuditBackend.java:82)
      	at org.nuxeo.drive.listener.NuxeoDriveVirtualEventLogger.handleEvent(NuxeoDriveVirtualEventLogger.java:68)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:173)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:396)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:357)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:328)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
      	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)
      Caused by: java.sql.BatchUpdateException: Batch entry 0 insert into NXP_LOGS_EXTINFO (LOG_EXTINFO_STRING, DISCRIMINATOR, LOG_EXTINFO_ID) values ('Rapport relatif au montant du loyer du terrain dans le cadre de la conclusion d''un bail emphytéotique. - le relevé des mes frais et honoraires  - Détermination de la valeur vénale du terrain en fonction des droits à construire communiqués - Détermination de la valeur de l''investissement à réaliser par le preneurs - Actualisation dudit investissement en fonction de la durée envisagée - Détermination de l''apport net du bailleur correspondant à la différence entre la valeur du terrain et la valeur actuelle de l''investissement - Détermination du loyer sur la base de la valeur de l''apport et d''un taux de rémunération  .pdf', 'STRING', 38449095) was aborted.  Call getNextException to see the cause.
      	at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2746)
      	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1887)
      	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:405)
      	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2893)
      	at org.tranql.connector.jdbc.StatementHandle.executeBatch(StatementHandle.java:155)
      	at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
      	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
      	... 19 more
      2017-05-17 08:20:31,977 ERROR [Nuxeo-Work-default-114] [org.nuxeo.ecm.core.work.AbstractWork] Exception during work: ListenerWork(Listener nuxeoDriveVirtualEventLoggerListener [virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated, virtualEventCreated], Progress(?%, ?/0), null)
      javax.persistence.PersistenceException: org.hibernate.exception.DataException: Could not execute JDBC batch update
      	at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)
      	at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:307)
      	at org.nuxeo.ecm.core.persistence.PersistenceProvider.doCommit(PersistenceProvider.java:99)
      	at org.nuxeo.ecm.core.persistence.PersistenceProvider.releaseEntityManager(PersistenceProvider.java:128)
      	at org.nuxeo.ecm.core.persistence.PersistenceProvider.run(PersistenceProvider.java:188)
      	at org.nuxeo.ecm.platform.audit.service.DefaultAuditBackend.addLogEntries(DefaultAuditBackend.java:82)
      	at org.nuxeo.drive.listener.NuxeoDriveVirtualEventLogger.handleEvent(NuxeoDriveVirtualEventLogger.java:68)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:173)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:396)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:357)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:328)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
      	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)
      Caused by: org.hibernate.exception.DataException: Could not execute JDBC batch update
      	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:100)
      	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
      	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
      	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
      	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1028)
      	at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:304)
      	... 13 more
      Caused by: java.sql.BatchUpdateException: Batch entry 0 insert into NXP_LOGS_EXTINFO (LOG_EXTINFO_STRING, DISCRIMINATOR, LOG_EXTINFO_ID) values ('Rapport relatif au montant du loyer du terrain dans le cadre de la conclusion d''un bail emphytéotique. - le relevé des mes frais et honoraires  - Détermination de la valeur vénale du terrain en fonction des droits à construire communiqués - Détermination de la valeur de l''investissement à réaliser par le preneurs - Actualisation dudit investissement en fonction de la durée envisagée - Détermination de l''apport net du bailleur correspondant à la différence entre la valeur du terrain et la valeur actuelle de l''investissement - Détermination du loyer sur la base de la valeur de l''apport et d''un taux de rémunération  .pdf', 'STRING', 38449095) was aborted.  Call getNextException to see the cause.
      	at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2746)
      	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1887)
      	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:405)
      	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2893)
      	at org.tranql.connector.jdbc.StatementHandle.executeBatch(StatementHandle.java:155)
      	at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
      	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
      	... 19 more
      2017-05-17 08:20:31,980 ERROR [Nuxeo-Work-default-114] [org.nuxeo.ecm.core.event.impl.AsyncEventExecutor] Failed to execute async event null on listener nuxeoDriveVirtualEventLoggerListener
      javax.persistence.PersistenceException: org.hibernate.exception.DataException: Could not execute JDBC batch update
      	at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)
      	at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:307)
      	at org.nuxeo.ecm.core.persistence.PersistenceProvider.doCommit(PersistenceProvider.java:99)
      	at org.nuxeo.ecm.core.persistence.PersistenceProvider.releaseEntityManager(PersistenceProvider.java:128)
      	at org.nuxeo.ecm.core.persistence.PersistenceProvider.run(PersistenceProvider.java:188)
      	at org.nuxeo.ecm.platform.audit.service.DefaultAuditBackend.addLogEntries(DefaultAuditBackend.java:82)
      	at org.nuxeo.drive.listener.NuxeoDriveVirtualEventLogger.handleEvent(NuxeoDriveVirtualEventLogger.java:68)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:173)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:396)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:357)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:328)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
      	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)
      Caused by: org.hibernate.exception.DataException: Could not execute JDBC batch update
      	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:100)
      	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
      	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
      	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
      	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1028)
      	at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:304)
      	... 13 more
      Caused by: java.sql.BatchUpdateException: Batch entry 0 insert into NXP_LOGS_EXTINFO (LOG_EXTINFO_STRING, DISCRIMINATOR, LOG_EXTINFO_ID) values ('Rapport relatif au montant du loyer du terrain dans le cadre de la conclusion d''un bail emphytéotique. - le relevé des mes frais et honoraires  - Détermination de la valeur vénale du terrain en fonction des droits à construire communiqués - Détermination de la valeur de l''investissement à réaliser par le preneurs - Actualisation dudit investissement en fonction de la durée envisagée - Détermination de l''apport net du bailleur correspondant à la différence entre la valeur du terrain et la valeur actuelle de l''investissement - Détermination du loyer sur la base de la valeur de l''apport et d''un taux de rémunération  .pdf', 'STRING', 38449095) was aborted.  Call getNextException to see the cause.
      	at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2746)
      	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1887)
      	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:405)
      	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2893)
      	at org.tranql.connector.jdbc.StatementHandle.executeBatch(StatementHandle.java:155)
      	at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
      	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
      	... 19 more
      2017-05-17 08:20:31,983 WARN  [Nuxeo-Work-default-114] [org.apache.geronimo.connector.outbound.GeronimoConnectionEventListener] connectionErrorOccurred called with null
      java.sql.BatchUpdateException: Batch entry 0 insert into NXP_LOGS_EXTINFO (LOG_EXTINFO_STRING, DISCRIMINATOR, LOG_EXTINFO_ID) values ('Rapport relatif au montant du loyer du terrain dans le cadre de la conclusion d''un bail emphytéotique. - le relevé des mes frais et honoraires  - Détermination de la valeur vénale du terrain en fonction des droits à construire communiqués - Détermination de la valeur de l''investissement à réaliser par le preneurs - Actualisation dudit investissement en fonction de la durée envisagée - Détermination de l''apport net du bailleur correspondant à la différence entre la valeur du terrain et la valeur actuelle de l''investissement - Détermination du loyer sur la base de la valeur de l''apport et d''un taux de rémunération  .pdf', 'STRING', 38449095) was aborted.  Call getNextException to see the cause.
      	at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2746)
      	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1887)
      	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:405)
      	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2893)
      	at org.tranql.connector.jdbc.StatementHandle.executeBatch(StatementHandle.java:155)
      	at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
      	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
      	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
      	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1028)
      	at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:304)
      	at org.nuxeo.ecm.core.persistence.PersistenceProvider.doCommit(PersistenceProvider.java:99)
      	at org.nuxeo.ecm.core.persistence.PersistenceProvider.releaseEntityManager(PersistenceProvider.java:128)
      	at org.nuxeo.ecm.core.persistence.PersistenceProvider.run(PersistenceProvider.java:188)
      	at org.nuxeo.ecm.platform.audit.service.DefaultAuditBackend.addLogEntries(DefaultAuditBackend.java:82)
      	at org.nuxeo.drive.listener.NuxeoDriveVirtualEventLogger.handleEvent(NuxeoDriveVirtualEventLogger.java:68)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:173)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:396)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:357)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:328)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
      	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)
      2017-05-17 08:20:31,987 ERROR [Nuxeo-Work-default-114] [org.nuxeo.ecm.core.work.WorkManagerImpl] Uncaught error on thread Nuxeo-Work-default-114
      javax.persistence.PersistenceException: org.hibernate.exception.DataException: Could not execute JDBC batch update
      	at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)
      	at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:307)
      	at org.nuxeo.ecm.core.persistence.PersistenceProvider.doCommit(PersistenceProvider.java:99)
      	at org.nuxeo.ecm.core.persistence.PersistenceProvider.releaseEntityManager(PersistenceProvider.java:128)
      	at org.nuxeo.ecm.core.persistence.PersistenceProvider.run(PersistenceProvider.java:188)
      	at org.nuxeo.ecm.platform.audit.service.DefaultAuditBackend.addLogEntries(DefaultAuditBackend.java:82)
      	at org.nuxeo.drive.listener.NuxeoDriveVirtualEventLogger.handleEvent(NuxeoDriveVirtualEventLogger.java:68)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:173)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:396)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:357)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:328)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
      	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)
      Caused by: org.hibernate.exception.DataException: Could not execute JDBC batch update
      	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:100)
      	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
      	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
      	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
      	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
      	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1028)
      	at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:304)
      	... 13 more
      Caused by: java.sql.BatchUpdateException: Batch entry 0 insert into NXP_LOGS_EXTINFO (LOG_EXTINFO_STRING, DISCRIMINATOR, LOG_EXTINFO_ID) values ('Rapport relatif au montant du loyer du terrain dans le cadre de la conclusion d''un bail emphytéotique. - le relevé des mes frais et honoraires  - Détermination de la valeur vénale du terrain en fonction des droits à construire communiqués - Détermination de la valeur de l''investissement à réaliser par le preneurs - Actualisation dudit investissement en fonction de la durée envisagée - Détermination de l''apport net du bailleur correspondant à la différence entre la valeur du terrain et la valeur actuelle de l''investissement - Détermination du loyer sur la base de la valeur de l''apport et d''un taux de rémunération  .pdf', 'STRING', 38449095) was aborted.  Call getNextException to see the cause.
      	at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2746)
      	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1887)
      	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:405)
      	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2893)
      	at org.tranql.connector.jdbc.StatementHandle.executeBatch(StatementHandle.java:155)
      	at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
      	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
      	... 19 more
      2017-05-17 08:20:31,989 WARN  [Nuxeo-Work-default-117] [Transaction] Unable to enlist XAResource org.apache.geronimo.connector.outbound.LocalXAResource@26d8569e, errorCode: 0
      javax.transaction.xa.XAException: could not start local tx
      	at org.apache.geronimo.connector.outbound.LocalXAResource.start(LocalXAResource.java:109)
      	at org.apache.geronimo.transaction.manager.TransactionImpl.enlistResource(TransactionImpl.java:202)
      	at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:60)
      	at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:101)
      	at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43)
      	at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39)
      	at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)
      	at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:77)
      	at org.nuxeo.runtime.jtajca.NuxeoContainer$ConnectionManagerWrapper.allocateConnection(NuxeoContainer.java:739)
      	at org.tranql.connector.jdbc.TranqlDataSource.getConnection(TranqlDataSource.java:62)
      	at org.nuxeo.runtime.datasource.PooledDataSourceFactory$1NuxeoDataSource.getConnection(PooledDataSourceFactory.java:94)
      	at org.nuxeo.runtime.datasource.ConnectionHelper.getConnection(ConnectionHelper.java:823)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnection.openBaseConnection(JDBCConnection.java:147)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnection.openConnections(JDBCConnection.java:136)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper.connect(JDBCMapper.java:1388)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapperConnector.invoke(JDBCMapperConnector.java:65)
      	at com.sun.proxy.$Proxy54.setTransactionTimeout(Unknown Source)
      	at org.nuxeo.ecm.core.storage.sql.SoftRefCachingMapper.setTransactionTimeout(SoftRefCachingMapper.java:195)
      	at org.nuxeo.ecm.core.storage.sql.SessionImpl.setTransactionTimeout(SessionImpl.java:1480)
      	at org.apache.geronimo.transaction.manager.WrapperNamedXAResource.setTransactionTimeout(WrapperNamedXAResource.java:104)
      	at org.apache.geronimo.transaction.manager.TransactionImpl.enlistResource(TransactionImpl.java:204)
      	at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:60)
      	at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:101)
      	at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43)
      	at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39)
      	at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)
      	at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:77)
      	at org.nuxeo.runtime.jtajca.NuxeoContainer$ConnectionManagerWrapper.allocateConnection(NuxeoContainer.java:739)
      	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:96)
      	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.getSession(ConnectionFactoryImpl.java:159)
      	at org.nuxeo.ecm.core.repository.RepositoryService.getSession(RepositoryService.java:230)
      	at org.nuxeo.ecm.core.api.local.LocalSession.createSession(LocalSession.java:117)
      	at org.nuxeo.ecm.core.api.local.LocalSession.connect(LocalSession.java:83)
      	at org.nuxeo.ecm.core.api.CoreInstance.acquireCoreSession(CoreInstance.java:184)
      	at org.nuxeo.ecm.core.api.CoreInstance.openCoreSession(CoreInstance.java:179)
      	at org.nuxeo.ecm.core.api.CoreInstance.openCoreSessionSystem(CoreInstance.java:106)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.getReconnectedCoreSession(ReconnectedEventBundleImpl.java:86)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.getReconnectedEvents(ReconnectedEventBundleImpl.java:104)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.iterator(ReconnectedEventBundleImpl.java:215)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.handleEvent(UpdateThumbnailListener.java:114)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:173)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:396)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:357)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:328)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
      	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)
      Caused by: javax.resource.spi.LocalTransactionException: Unable to disable autoCommit
      	at org.nuxeo.runtime.datasource.PooledDataSourceFactory$JdbcConnectionFactory$1ManagedJDBCConnection.localTransactionStart(PooledDataSourceFactory.java:283)
      	at org.tranql.connector.AbstractManagedConnection$LocalTransactionImpl.begin(AbstractManagedConnection.java:195)
      	at org.apache.geronimo.connector.outbound.LocalXAResource.start(LocalXAResource.java:107)
      	... 47 more
      Caused by: org.postgresql.util.PSQLException: This connection has been closed.
      	at org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:822)
      	at org.postgresql.jdbc2.AbstractJdbc2Connection.setAutoCommit(AbstractJdbc2Connection.java:769)
      	at org.nuxeo.runtime.datasource.PooledDataSourceFactory$JdbcConnectionFactory$1ManagedJDBCConnection.localTransactionStart(PooledDataSourceFactory.java:281)
      	... 49 more
      2017-05-17 08:20:32,003 ERROR [Nuxeo-Work-default-117] [org.nuxeo.ecm.core.work.AbstractWork] Exception during work: ListenerWork(Listener updateThumbListener [scheduleThumbnailUpdate/f3e613e0-0d77-49fd-a482-6091a69d8345, scheduleThumbnailUpdate/0fe757b6-b3ea-4d03-9e1b-488f5ce5371e, scheduleThumbnailUpdate/9073b299-3ee5-4f87-aaf9-073a0032da79, scheduleThumbnailUpdate/4c9f9c9e-7cae-41b7-bef2-d8917030792d, scheduleThumbnailUpdate/c1223149-3420-4db2-b5e7-ccd608e09d0a, scheduleThumbnailUpdate/4807d49b-4135-4eaf-9108-d6245ac8e7f7, scheduleThumbnailUpdate/d1617380-ba35-4695-9faa-f5a2dbe83072, scheduleThumbnailUpdate/b1903463-a986-462e-8adc-09cad960ce3d, scheduleThumbnailUpdate/26a8124a-9853-4ed6-bc15-c944c032897e, scheduleThumbnailUpdate/3938fa73-b85f-4dcc-bf9e-29b330b8a26b, scheduleThumbnailUpdate/ef6dcfd8-c698-4374-96f8-38e7da95d261, scheduleThumbnailUpdate/e6254aa4-8dd4-4a60-be0b-26abcbe00e49, scheduleThumbnailUpdate/4092eb56-64a0-4361-9d61-62274789eaf8, scheduleThumbnailUpdate/0f059401-cb30-4259-bf73-6c3cae84381e, scheduleThumbnailUpdate/44ca2bc0-5ef9-46e6-af32-886848fc49e0, scheduleThumbnailUpdate/20dc12d5-ddb5-4240-ab47-d35b1a11d240, scheduleThumbnailUpdate/4afcc78a-0396-4f6a-bd25-35c08b9ad0ad, scheduleThumbnailUpdate/a7517d7e-25b9-4ca4-ba3d-13e3d83c2950, scheduleThumbnailUpdate/23f6b6d0-e757-4f7e-9707-b50ddbe0241e, scheduleThumbnailUpdate/a8b34a52-e33f-4008-9625-6336458b3e97, scheduleThumbnailUpdate/356f42d6-516a-40e8-8724-42f2f681e05c, scheduleThumbnailUpdate/31c095aa-e8ab-451a-84b5-b039c9b4b806, scheduleThumbnailUpdate/37bdb20f-c8de-4f1f-84ec-9b4bfcf9ee88, scheduleThumbnailUpdate/32988ed6-311c-43a6-bbe4-b9df9b386238, scheduleThumbnailUpdate/eddc51c6-b509-4f5d-af0a-3f44d47a05d1, scheduleThumbnailUpdate/d606c003-82eb-417c-8771-0091ea3617e4, scheduleThumbnailUpdate/fd9f9378-c9e1-492e-ad9e-09f81dd937fb, scheduleThumbnailUpdate/06151cfa-4cbe-48ee-9728-5d0d6170eaa3, scheduleThumbnailUpdate/fe8e327a-4547-4c91-a3dc-dd666209cb80, scheduleThumbnailUpdate/ba053ecf-3754-44d6-b69a-5bb592396ca8, scheduleThumbnailUpdate/b90ce242-e373-466c-a2fb-5d912ff55448, scheduleThumbnailUpdate/59445986-1737-4f7c-9df7-c5acf961fdf6, scheduleThumbnailUpdate/1c84a294-dec8-486d-b763-30c6ebf7fb54, scheduleThumbnailUpdate/494e4d55-9e74-4bcb-81bb-795f5d7fa714, scheduleThumbnailUpdate/a24c8511-6c53-4022-a2d2-c3abd43626eb, scheduleThumbnailUpdate/9b52d41c-1102-4981-bd6e-418a3ab1ba84, scheduleThumbnailUpdate/2a2b4dd9-fa51-434a-8c2d-3848920a2b5f, scheduleThumbnailUpdate/fb727067-9df1-4aef-aea7-39f840e87638, scheduleThumbnailUpdate/353393c3-1a60-43b7-81b2-907806765f80, scheduleThumbnailUpdate/dd1e16f4-f3a7-4479-9841-c698a4b5df0b, scheduleThumbnailUpdate/e970104f-181b-4f67-9307-a45486347226, scheduleThumbnailUpdate/6f17518b-9d91-46e0-bf2d-7f2e0c17b79d, scheduleThumbnailUpdate/9b282831-5426-4a54-bb81-ddcb3e908140, scheduleThumbnailUpdate/6d1e3fd7-ec77-4dd4-a961-cc4e0e62c3ab, scheduleThumbnailUpdate/3f8e0f8b-5a8f-4d83-8f92-8d97c3d43cc0, scheduleThumbnailUpdate/8c0aca38-8983-44e7-90d3-b6b0d4166d96, scheduleThumbnailUpdate/46246ec0-65ec-4f04-9125-93a122cf8184, scheduleThumbnailUpdate/7762e2e7-3f04-43c3-a4c6-be229919e2d3, scheduleThumbnailUpdate/6ffdd6f8-b35d-4994-a6ee-8c82ff7bd9e1, scheduleThumbnailUpdate/3d557bbb-9321-4def-b870-e3e17b0b0fbb], Progress(?%, ?/0), null)
      org.nuxeo.ecm.core.api.NuxeoException: javax.resource.ResourceException: Unknown throwable when trying to enlist connection in tx
      	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:110)
      	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.getSession(ConnectionFactoryImpl.java:159)
      	at org.nuxeo.ecm.core.repository.RepositoryService.getSession(RepositoryService.java:230)
      	at org.nuxeo.ecm.core.api.local.LocalSession.createSession(LocalSession.java:117)
      	at org.nuxeo.ecm.core.api.local.LocalSession.connect(LocalSession.java:83)
      	at org.nuxeo.ecm.core.api.CoreInstance.acquireCoreSession(CoreInstance.java:184)
      	at org.nuxeo.ecm.core.api.CoreInstance.openCoreSession(CoreInstance.java:179)
      	at org.nuxeo.ecm.core.api.CoreInstance.openCoreSessionSystem(CoreInstance.java:106)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.getReconnectedCoreSession(ReconnectedEventBundleImpl.java:86)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.getReconnectedEvents(ReconnectedEventBundleImpl.java:104)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.iterator(ReconnectedEventBundleImpl.java:215)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.handleEvent(UpdateThumbnailListener.java:114)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:173)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:396)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:357)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:328)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
      	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)
      Caused by: javax.resource.ResourceException: Unknown throwable when trying to enlist connection in tx
      	at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:75)
      	at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:101)
      	at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43)
      	at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39)
      	at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)
      	at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:77)
      	at org.nuxeo.runtime.jtajca.NuxeoContainer$ConnectionManagerWrapper.allocateConnection(NuxeoContainer.java:739)
      	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:96)
      	... 19 more
      Caused by: org.nuxeo.ecm.core.api.NuxeoException: Cannot connect to database: default
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnection.openConnections(JDBCConnection.java:140)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper.connect(JDBCMapper.java:1388)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapperConnector.invoke(JDBCMapperConnector.java:65)
      	at com.sun.proxy.$Proxy54.setTransactionTimeout(Unknown Source)
      	at org.nuxeo.ecm.core.storage.sql.SoftRefCachingMapper.setTransactionTimeout(SoftRefCachingMapper.java:195)
      	at org.nuxeo.ecm.core.storage.sql.SessionImpl.setTransactionTimeout(SessionImpl.java:1480)
      	at org.apache.geronimo.transaction.manager.WrapperNamedXAResource.setTransactionTimeout(WrapperNamedXAResource.java:104)
      	at org.apache.geronimo.transaction.manager.TransactionImpl.enlistResource(TransactionImpl.java:204)
      	at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:60)
      	... 26 more
      Caused by: org.postgresql.util.PSQLException: This connection has been closed.
      	at org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:822)
      	at org.postgresql.jdbc4.Jdbc4Connection.getMetaData(Jdbc4Connection.java:54)
      	at org.tranql.connector.jdbc.ConnectionHandle.getMetaData(ConnectionHandle.java:458)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnection.openConnections(JDBCConnection.java:137)
      	... 34 more
      2017-05-17 08:20:32,007 ERROR [Nuxeo-Work-default-117] [org.nuxeo.ecm.core.event.impl.AsyncEventExecutor] Failed to execute async event default on listener updateThumbListener
      org.nuxeo.ecm.core.api.NuxeoException: javax.resource.ResourceException: Unknown throwable when trying to enlist connection in tx
      	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:110)
      	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.getSession(ConnectionFactoryImpl.java:159)
      	at org.nuxeo.ecm.core.repository.RepositoryService.getSession(RepositoryService.java:230)
      	at org.nuxeo.ecm.core.api.local.LocalSession.createSession(LocalSession.java:117)
      	at org.nuxeo.ecm.core.api.local.LocalSession.connect(LocalSession.java:83)
      	at org.nuxeo.ecm.core.api.CoreInstance.acquireCoreSession(CoreInstance.java:184)
      	at org.nuxeo.ecm.core.api.CoreInstance.openCoreSession(CoreInstance.java:179)
      	at org.nuxeo.ecm.core.api.CoreInstance.openCoreSessionSystem(CoreInstance.java:106)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.getReconnectedCoreSession(ReconnectedEventBundleImpl.java:86)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.getReconnectedEvents(ReconnectedEventBundleImpl.java:104)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.iterator(ReconnectedEventBundleImpl.java:215)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.handleEvent(UpdateThumbnailListener.java:114)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:173)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:396)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:357)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:328)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
      	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)
      Caused by: javax.resource.ResourceException: Unknown throwable when trying to enlist connection in tx
      	at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:75)
      	at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:101)
      	at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43)
      	at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39)
      	at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)
      	at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:77)
      	at org.nuxeo.runtime.jtajca.NuxeoContainer$ConnectionManagerWrapper.allocateConnection(NuxeoContainer.java:739)
      	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:96)
      	... 19 more
      Caused by: org.nuxeo.ecm.core.api.NuxeoException: Cannot connect to database: default
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnection.openConnections(JDBCConnection.java:140)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper.connect(JDBCMapper.java:1388)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapperConnector.invoke(JDBCMapperConnector.java:65)
      	at com.sun.proxy.$Proxy54.setTransactionTimeout(Unknown Source)
      	at org.nuxeo.ecm.core.storage.sql.SoftRefCachingMapper.setTransactionTimeout(SoftRefCachingMapper.java:195)
      	at org.nuxeo.ecm.core.storage.sql.SessionImpl.setTransactionTimeout(SessionImpl.java:1480)
      	at org.apache.geronimo.transaction.manager.WrapperNamedXAResource.setTransactionTimeout(WrapperNamedXAResource.java:104)
      	at org.apache.geronimo.transaction.manager.TransactionImpl.enlistResource(TransactionImpl.java:204)
      	at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:60)
      	... 26 more
      Caused by: org.postgresql.util.PSQLException: This connection has been closed.
      	at org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:822)
      	at org.postgresql.jdbc4.Jdbc4Connection.getMetaData(Jdbc4Connection.java:54)
      	at org.tranql.connector.jdbc.ConnectionHandle.getMetaData(ConnectionHandle.java:458)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnection.openConnections(JDBCConnection.java:137)
      	... 34 more
      2017-05-17 08:20:32,010 ERROR [Nuxeo-Work-default-117] [org.nuxeo.ecm.core.work.WorkManagerImpl] Uncaught error on thread Nuxeo-Work-default-117
      org.nuxeo.ecm.core.api.NuxeoException: javax.resource.ResourceException: Unknown throwable when trying to enlist connection in tx
      	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:110)
      	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.getSession(ConnectionFactoryImpl.java:159)
      	at org.nuxeo.ecm.core.repository.RepositoryService.getSession(RepositoryService.java:230)
      	at org.nuxeo.ecm.core.api.local.LocalSession.createSession(LocalSession.java:117)
      	at org.nuxeo.ecm.core.api.local.LocalSession.connect(LocalSession.java:83)
      	at org.nuxeo.ecm.core.api.CoreInstance.acquireCoreSession(CoreInstance.java:184)
      	at org.nuxeo.ecm.core.api.CoreInstance.openCoreSession(CoreInstance.java:179)
      	at org.nuxeo.ecm.core.api.CoreInstance.openCoreSessionSystem(CoreInstance.java:106)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.getReconnectedCoreSession(ReconnectedEventBundleImpl.java:86)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.getReconnectedEvents(ReconnectedEventBundleImpl.java:104)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.iterator(ReconnectedEventBundleImpl.java:215)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.handleEvent(UpdateThumbnailListener.java:114)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:173)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:396)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:357)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:328)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
      	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)
      Caused by: javax.resource.ResourceException: Unknown throwable when trying to enlist connection in tx
      	at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:75)
      	at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:101)
      	at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43)
      	at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39)
      	at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)
      	at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:77)
      	at org.nuxeo.runtime.jtajca.NuxeoContainer$ConnectionManagerWrapper.allocateConnection(NuxeoContainer.java:739)
      	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:96)
      	... 19 more
      Caused by: org.nuxeo.ecm.core.api.NuxeoException: Cannot connect to database: default
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnection.openConnections(JDBCConnection.java:140)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper.connect(JDBCMapper.java:1388)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapperConnector.invoke(JDBCMapperConnector.java:65)
      	at com.sun.proxy.$Proxy54.setTransactionTimeout(Unknown Source)
      	at org.nuxeo.ecm.core.storage.sql.SoftRefCachingMapper.setTransactionTimeout(SoftRefCachingMapper.java:195)
      	at org.nuxeo.ecm.core.storage.sql.SessionImpl.setTransactionTimeout(SessionImpl.java:1480)
      	at org.apache.geronimo.transaction.manager.WrapperNamedXAResource.setTransactionTimeout(WrapperNamedXAResource.java:104)
      	at org.apache.geronimo.transaction.manager.TransactionImpl.enlistResource(TransactionImpl.java:204)
      	at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:60)
      	... 26 more
      Caused by: org.postgresql.util.PSQLException: This connection has been closed.
      	at org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:822)
      	at org.postgresql.jdbc4.Jdbc4Connection.getMetaData(Jdbc4Connection.java:54)
      	at org.tranql.connector.jdbc.ConnectionHandle.getMetaData(ConnectionHandle.java:458)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnection.openConnections(JDBCConnection.java:137)
      	... 34 more
      2017-05-17 08:25:56,816 ERROR [PoolIdleReleaseTimer] [org.nuxeo.runtime.jtajca.NuxeoConnectionTrackingCoordinator] Killed handle: org.tranql.connector.jdbc.ConnectionHandle@5555fe45ManagedConnectionInfo: org.apache.geronimo.connector.outbound.ManagedConnectionInfo@605a415b. mc: org.nuxeo.runtime.datasource.PooledDataSourceFactory$JdbcConnectionFactory$1ManagedJDBCConnection@377a3e40],  was obtained by Nuxeo-Work-default-117 at Wed May 17 08:20:32 UTC 2017 and timed out at Wed May 17 08:25:32 UTC 2017
      java.lang.Exception: Stack Trace
      	at org.apache.geronimo.connector.outbound.ConnectionInfo.setTrace(ConnectionInfo.java:119)
      	at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:57)
      	at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39)
      	at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)
      	at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:77)
      	at org.nuxeo.runtime.jtajca.NuxeoContainer$ConnectionManagerWrapper.allocateConnection(NuxeoContainer.java:739)
      	at org.tranql.connector.jdbc.TranqlDataSource.getConnection(TranqlDataSource.java:62)
      	at org.nuxeo.runtime.datasource.PooledDataSourceFactory$1NuxeoDataSource.getConnection(PooledDataSourceFactory.java:94)
      	at org.nuxeo.runtime.datasource.ConnectionHelper.getConnection(ConnectionHelper.java:823)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnection.openBaseConnection(JDBCConnection.java:147)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnection.openConnections(JDBCConnection.java:136)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper.connect(JDBCMapper.java:1388)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapperConnector.invoke(JDBCMapperConnector.java:65)
      	at com.sun.proxy.$Proxy54.setTransactionTimeout(Unknown Source)
      	at org.nuxeo.ecm.core.storage.sql.SoftRefCachingMapper.setTransactionTimeout(SoftRefCachingMapper.java:195)
      	at org.nuxeo.ecm.core.storage.sql.SessionImpl.setTransactionTimeout(SessionImpl.java:1480)
      	at org.apache.geronimo.transaction.manager.WrapperNamedXAResource.setTransactionTimeout(WrapperNamedXAResource.java:104)
      	at org.apache.geronimo.transaction.manager.TransactionImpl.enlistResource(TransactionImpl.java:204)
      	at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:60)
      	at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:101)
      	at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43)
      	at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39)
      	at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)
      	at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:77)
      	at org.nuxeo.runtime.jtajca.NuxeoContainer$ConnectionManagerWrapper.allocateConnection(NuxeoContainer.java:739)
      	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:96)
      	at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.getSession(ConnectionFactoryImpl.java:159)
      	at org.nuxeo.ecm.core.repository.RepositoryService.getSession(RepositoryService.java:230)
      	at org.nuxeo.ecm.core.api.local.LocalSession.createSession(LocalSession.java:117)
      	at org.nuxeo.ecm.core.api.local.LocalSession.connect(LocalSession.java:83)
      	at org.nuxeo.ecm.core.api.CoreInstance.acquireCoreSession(CoreInstance.java:184)
      	at org.nuxeo.ecm.core.api.CoreInstance.openCoreSession(CoreInstance.java:179)
      	at org.nuxeo.ecm.core.api.CoreInstance.openCoreSessionSystem(CoreInstance.java:106)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.getReconnectedCoreSession(ReconnectedEventBundleImpl.java:86)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.getReconnectedEvents(ReconnectedEventBundleImpl.java:104)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.iterator(ReconnectedEventBundleImpl.java:215)
      	at org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener.handleEvent(UpdateThumbnailListener.java:114)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:173)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:396)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:357)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:328)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
      	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:
                ataillefer Antoine Taillefer
                Reporter:
                ataillefer Antoine Taillefer
                Participants:
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.