java.sql.SQLException: You cannot commit with autocommit set!

Oracle Community | 3004 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Transaction problem

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: You cannot commit with autocommit set!

    Root Cause Analysis

    1. java.sql.SQLException

      You cannot commit with autocommit set!

      at com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal()
    2. com.solarmetric.kodo
      EEPersistenceManager.afterCompletion
      1. com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal(SQLExceptions.java:58)
      2. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.commit(JDBCStoreManager.java:189)
      3. com.solarmetric.kodo.runtime.PersistenceManagerImpl.endTransaction(PersistenceManagerImpl.java:829)
      4. com.solarmetric.kodo.ee.EEPersistenceManager.afterCompletion(EEPersistenceManager.java:224)
      4 frames
    3. JBoss Transaction 7.1.0 SPI
      TransactionImpl.commit
      1. org.jboss.tm.TransactionImpl.doAfterCompletion(TransactionImpl.java:1331)
      2. org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:410)
      2 frames
    4. JBoss Application Server Server
      Container.invoke
      1. org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:369)
      2. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:253)
      3. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
      4. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
      5. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      6. org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      7. org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
      8. org.jboss.ejb.Container.invoke(Container.java:674)
      8 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    6. org.jboss.mx
      ReflectedMBeanDispatcher.invoke
      1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      1 frame
    7. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      1 frame
    8. JBoss Application Server Server
      JRMPInvoker.invoke
      1. org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:359)
      1 frame
    9. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2 frames