java.lang.RuntimeException: General Error: Unexpected exception in beforeCompletion: sync=kodo.kernel.BrokerImpl@2edf50 Cannot call commit when using distributed transactions; nested exception is <2|false|4.0.0> kodo.jdo.DataStoreException: Unexpected exception in beforeCompletion: sync=kodo.kernel.BrokerImpl@2edf50 Cannot call commit when using distributed transactions

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 666705, 1 year ago
General Error: Unexpected exception in beforeCompletion: sync=kodo.kernel.BrokerImpl@2edf50 Cannot call commit when using distributed transactions; nested exception is <2|false|4.0.0> kodo.jdo.DataStoreException: Unexpected exception in beforeCompletion: sync=kodo.kernel.BrokerImpl@2edf50 Cannot call commit when using distributed transactions
org.springframework.orm.jdo.JdoResourceFailureException: Unexpected exception in beforeCompletion: sync=kodo. kernel.BrokerImpl@2edf50 Cannot call commit when using distributed transactions; nested exception is <2|false|4.0.0> kodo.jdo.DataStoreException: Unexpected exception in beforeCompletion: sync=kodo.kernel.BrokerImpl@2edf50 Cannot call commit when using distributed transactions
at org.springframework.orm.jdo.PersistenceManagerFactoryUtils.convertJdoAccessException(PersistenceManagerFactoryUtils.java:230)
at org.springframework.orm.jdo.DefaultJdoDialect.translateException(DefaultJdoDialect.java:292)
at org.springframework.orm.jdo.JdoTransactionManager.convertJdoAccessException(JdoTransactionManager.java:457)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:500)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:473)
at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:267)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.