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

Oracle Community | 666705 | 1 decade ago
  1. 0

    distributed transaction

    Oracle Community | 1 decade ago | 666705
    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

    Root Cause Analysis

    1. 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()
    2. Spring ORM
      JdoTransactionManager.doCommit
      1. org.springframework.orm.jdo.PersistenceManagerFactoryUtils.convertJdoAccessException(PersistenceManagerFactoryUtils.java:230)
      2. org.springframework.orm.jdo.DefaultJdoDialect.translateException(DefaultJdoDialect.java:292)
      3. org.springframework.orm.jdo.JdoTransactionManager.convertJdoAccessException(JdoTransactionManager.java:457)
      4. org.springframework.orm.jdo.JdoTransactionManager.doCommit(JdoTransactionManager.java:380)
      4 frames
    3. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:500)
      2. org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:473)
      3. org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:267)
      4. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      4 frames
    4. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
      2 frames