cancel
Showing results for 
Search instead for 
Did you mean: 

Re-occurring error "cannot register synch handler in current tx"

René_
Confirmed Champ
Confirmed Champ

We have the problem that in our Nuxeo installation an error that affects the whole installation occurs from time to time. Up to now I could not determine a pattern when exactly it is occurring. We are using CMIS to access Nuxeo from other applications, but the error does not occur exactly when we do this. Any help appriciated. You can find the full jstack and server error log on dropbox. The most important part of the exception can be found below. https://www.dropbox.com/sh/xrm2h1hn49xgw2h/AACUo22t09T8Q8Mhk4AKAFZla?dl=0

org.nuxeo.ecm.core.opencmis.bindings.DefaultErrorExtractor] Cannot register synch hand ler in current tx java.lang.RuntimeException: Cannot register synch handler in current tx at org.nuxeo.runtime.transaction.TransactionHelper.registerSynchronization(TransactionHelper.java:416) at org.nuxeo.ecm.core.api.local.LocalSession.createSession(LocalSession.java:117) at org.nuxeo.ecm.core.api.local.LocalSession.connect(LocalSession.java:82) 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.openCoreSession(CoreInstance.java:93) at org.nuxeo.ecm.core.opencmis.impl.server.NuxeoCmisService.openCoreSession(NuxeoCmisService.java:297) at org.nuxeo.ecm.core.opencmis.impl.server.NuxeoCmisService.setCallContext(NuxeoCmisService.java:331) at org.apache.chemistry.opencmis.server.support.wrapper.AbstractCmisServiceWrapper.setCallContext(AbstractCmisServiceWrapper.java:97) at org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactory.getService(NuxeoCmisServiceFactory.java:139) at org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.dispatch(CmisAtomPubServlet.java:239) at org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.service(CmisAtomPubServlet.java:198) at org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisAtomPubServlet.service(NuxeoCmisAtomPubServlet.java:60)

5 REPLIES 5

Yousuf_Nejati
Star Contributor
Star Contributor

Seems as though it's happening because your transaction request is timing out for some reason, thus marking it to roll back. This happens because pushing the transaction further would prove useless, since the transaction has expired.

Florent_Guillau
World-Class Innovator
World-Class Innovator

Also you haven't stated what Nuxeo version you're using, nor provided the full stack trace including the "caused by".

René_
Confirmed Champ
Confirmed Champ

As written above the full stack trace can be found on Dropbox including the jstack result. The version can be found in the meta data of the post. I didn't know I have to be redundant. It is 7.10 HF13.

Florent_Guillau
World-Class Innovator
World-Class Innovator

Ah sorry I read too quickly. Also you should use the Comment field and not Answer if you just comment.

René_
Confirmed Champ
Confirmed Champ

I'm aware of that but the mobile version of quandary has no comment button. I just found out that I need to ask for the desktop version of the page to comment

Getting started

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.