java.sql.SQLException: You cannot commit during a managed transaction!

Oracle Community | 666705 | 1 decade ago
  1. 0

    db:: 5.14::XA Debug Level fc

    hivmr.com | 8 months ago
    java.sql.SQLException: You cannot commit during a managed transaction!
  2. 0

    db:: 4.13::Creating non XA DataSource with Jboss 2.4.9 a3

    hivmr.com | 8 months ago
    java.sql.SQLException: You cannot commit during a managed transaction!
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Problem with sequences when running XA on Kodo + Spring + JBoss

    Oracle Community | 1 decade ago | 666705
    java.sql.SQLException: You cannot commit during a managed transaction!
  5. 0

    How to manually commit a managed transaction

    Stack Overflow | 6 years ago | vz0
    java.sql.SQLException: You cannot commit during a managed transaction!

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      You cannot commit during a managed transaction!

      at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcCommit()
    2. JBoss Application Server Connector
      WrappedConnection.commit
      1. org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcCommit(BaseWrapperManagedConnection.java:519)
      2. org.jboss.resource.adapter.jdbc.WrappedConnection.commit(WrappedConnection.java:451)
      2 frames
    3. com.solarmetric.jdbc
      LoggingConnectionDecorator$LoggingConnection.commit
      1. com.solarmetric.jdbc.DelegatingConnection.commit(DelegatingConnection.java:185)
      2. com.solarmetric.jdbc.LoggingConnectionDecorator$LoggingConnection.commit(LoggingConnectionDecorator.java:219)
      2 frames
    4. kodo.jdbc.schema
      DBSequenceFactory.getNext
      1. kodo.jdbc.schema.DBSequenceFactory.updateSequence(DBSequenceFactory.java:410)
      2. kodo.jdbc.schema.DBSequenceFactory.getNext(DBSequenceFactory.java:210)
      3. kodo.jdbc.schema.DBSequenceFactory.getNext(DBSequenceFactory.java:198)
      3 frames
    5. kodo.jdbc.runtime
      JDBCStoreManager.flush
      1. kodo.jdbc.runtime.JDBCStoreManager.nextSequenceValue(JDBCStoreManager.java:778)
      2. kodo.jdbc.runtime.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:665)
      3. kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:605)
      3 frames
    6. kodo.runtime
      PersistenceManagerImpl.beforeCompletion
      1. kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:153)
      2. kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:1159)
      3. kodo.runtime.PersistenceManagerImpl.flushSafe(PersistenceManagerImpl.java:1042)
      4. kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.java:969)
      4 frames
    7. JBoss Transaction 7.1.0 SPI
      TxManager.commit
      1. org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1384)
      2. org.jboss.tm.TransactionImpl.beforePrepare(TransactionImpl.java:1076)
      3. org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:296)
      4. org.jboss.tm.TxManager.commit(TxManager.java:200)
      4 frames
    8. Spring Tx
      UserTransactionAdapter.commit
      1. org.springframework.transaction.jta.UserTransactionAdapter.commit(UserTransactionAdapter.java:74)
      1 frame