04-06-2012 02:39 PM
I get the following error when several event handlers are called in succesion:
See post: Firing even handlers when structured templates are used to create document? for background
here is the error log.
2012-04-06 13:27:57,152 WARN [org.nuxeo.ecm.core.event.tx.PostCommitSynchronousRunner] PostCommitListeners are too slow, check debug log ...
2012-04-06 13:27:57,153 WARN [org.nuxeo.ecm.core.event.tx.PostCommitSynchronousRunner] Exit before the end of processing
04-07-2012 09:10 AM
PostCommitSynchronousRunner creates a new synchronous thread to run the listener process. The code has a default timeout of 300ms for the synchronous event. If the synchronous thread is still alive after 300ms then the error message that you see above is thrown.
So if you are creating a document in the listener then I might start with the database log and see how long the database transactions are taking as this is typically the slowest part of a transaction.
04-07-2012 09:10 AM
PostCommitSynchronousRunner creates a new synchronous thread to run the listener process. The code has a default timeout of 300ms for the synchronous event. If the synchronous thread is still alive after 300ms then the error message that you see above is thrown.
So if you are creating a document in the listener then I might start with the database log and see how long the database transactions are taking as this is typically the slowest part of a transaction.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.