increase transaction timeout value

Hello, I have an action that is exectued by an event handler. But I observed in the server.log file this Error: org.nuxeo.runtime.transaction.TransactionRuntimeException: Transaction has timed out

    at org.nuxeo.runtime.transaction.TransactionHelper.checkTransactionTimeout(TransactionHelper.java:223) ~[nuxeo-runtime-jtajca-10.10.jar:?]
    at org.nuxeo.ecm.core.api.local.LocalSession.getSession(LocalSession.java:108) ~[nuxeo-core-10.10.jar:?]
    at org.nuxeo.ecm.core.api.AbstractSession.save(AbstractSession.java:1484) ~[nuxeo-core-10.10.jar:?]
    at org.nuxeo.ecm.automation.OperationContext.close(OperationContext.java:206) ~[nuxeo-automation-core-10.10.jar:?]
    at org.nuxeo.ecm.automation.core.events.EventHandlerRegistry.handleEvent(EventHandlerRegistry.java:132) ~[nuxeo-automation-core-10.10.jar:?]
    at org.nuxeo.ecm.automation.core.events.PostCommitOperationEventListener.handleEvent(PostCommitOperationEventListener.java:58) ~[nuxeo-automation-core-10.10.jar:?]
    at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:221) [nuxeo-core-event-10.10.jar:?]
    at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:437) [nuxeo-core-event-10.10.jar:?]
    at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:357) [nuxeo-core-event-10.10.jar:?]
    at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57) [nuxeo-core-event-10.10.jar:?]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_302]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_302]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_302]

2023-01-23T09:19:29,176 ERROR [Nuxeo-Work-default-179:5430078367358501.1710745771] [org.nuxeo.ecm.core.event.impl.AsyncEventExecutor] Failed to execute async event default on listener opchainpclistener org.nuxeo.runtime.transaction.TransactionRuntimeException: Transaction has timed out

    at org.nuxeo.runtime.transaction.TransactionHelper.checkTransactionTimeout(TransactionHelper.java:223) ~[nuxeo-runtime-jtajca-10.10.jar:?]
    at org.nuxeo.ecm.core.api.local.LocalSession.getSession(LocalSession.java:108) ~[nuxeo-core-10.10.jar:?]
    at org.nuxeo.ecm.core.api.AbstractSession.save(AbstractSession.java:1484) ~[nuxeo-core-10.10.jar:?]
    at org.nuxeo.ecm.automation.OperationContext.close(OperationContext.java:206) ~[nuxeo-automation-core-10.10.jar:?]
    at org.nuxeo.ecm.automation.core.events.EventHandlerRegistry.handleEvent(EventHandlerRegistry.java:132) ~[nuxeo-automation-core-10.10.jar:?]
    at org.nuxeo.ecm.automation.core.events.PostCommitOperationEventListener.handleEvent(PostCommitOperationEventListener.java:58) ~[nuxeo-automation-core-10.10.jar:?]
    at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:221) [nuxeo-core-event-10.10.jar:?]
    at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:437) [nuxeo-core-event-10.10.jar:?]
    at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:357) [nuxeo-core-event-10.10.jar:?]
    at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57) [nuxeo-core-event-10.10.jar:?]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_302]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_302]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_302]

I changed the value of nuxeo.db.transactiontimeout in nuxeo.conf file but it not resolves my problem. Any idea??

0 votes

0 answers

852 views

ANSWER