kodo.jdo.DataStoreException: Cannot call commit when using distributed transactions<Feb 19, 2007 6:06:05 PM CET> <Notice> <Stdout> <000000> <Die Verarbeitung der Message schlug fehl.ID:1a11535d:91e34000a:110DAF799E6>

Oracle Community | 666705 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    XA Transactions in Kodo 4.1

    Oracle Community | 1 decade ago | 666705
    kodo.jdo.DataStoreException: Cannot call commit when using distributed transactions<Feb 19, 2007 6:06:05 PM CET> <Notice> <Stdout> <000000> <Die Verarbeitung der Message schlug fehl.ID:1a11535d:91e34000a:110DAF799E6>

    Root Cause Analysis

    1. kodo.jdo.DataStoreException

      Cannot call commit when using distributed transactions<Feb 19, 2007 6:06:05 PM CET> <Notice> <Stdout> <000000> <Die Verarbeitung der Message schlug fehl.ID:1a11535d:91e34000a:110DAF799E6>

      at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore()
    2. OpenJPA Aggregate Jar
      JDBCStoreManager.assignObjectId
      1. org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:92)
      2. org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:64)
      3. org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:41)
      4. org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.closeConnection(AbstractJDBCSeq.java:163)
      5. org.apache.openjpa.jdbc.kernel.NativeJDBCSeq.nextInternal(NativeJDBCSeq.java:206)
      6. org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:54)
      7. org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:159)
      8. org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:143)
      9. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:555)
      10. org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:390)
      11. org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:375)
      12. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:539)
      12 frames
    3. kodo.jdbc.kernel
      KodoJDBCStoreManager.assignObjectId
      1. kodo.jdbc.kernel.KodoJDBCStoreManager.assignObjectId(KodoJDBCStoreManager.java:33)
      1 frame
    4. OpenJPA Aggregate Jar
      StateManagerImpl.accessingField
      1. org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
      2. org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
      3. org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:472)
      4. org.apache.openjpa.kernel.StateManagerImpl.assignField(StateManagerImpl.java:556)
      5. org.apache.openjpa.kernel.StateManagerImpl.beforeAccessField(StateManagerImpl.java:1339)
      6. org.apache.openjpa.kernel.StateManagerImpl.accessingField(StateManagerImpl.java:1322)
      6 frames