- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2012 05: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2012 12:10 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2012 12:10 PM
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.