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

Oracle Community | 3004 | 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

    Transaction problem

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

    Problems With Oracle Data Source WAS 6.1 RHEL : Error Code = 17,068

    Google Groups | 9 years ago | karl....@googlemail.com
    java.sql.SQLException: Invalid argument(s) in callDSRA0010E: SQL State = null, Error Code = 17,068<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:99)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at com.ibm.ws.rsadapter.DSConfigurationHelper$1.run(DSConfigurationHelper.java:1207)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at com.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationHelper.java:1239)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at com.ibm.ws.rsadapter.DSConfigurationHelper.testConnectionForGUI(DSConfigurationHelper.java:2559)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at java.lang.reflect.Method.invoke(Method.java:618)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at com.ibm.ws.management.DataSourceConfigHelperMBean.testConnectionToDataSource2(DataSourceConfigHelperMBean.java:532)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at com.ibm.ws.management.DataSourceConfigHelperMBean.testConnection(DataSourceConfigHelperMBean.java:460)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at java.lang.reflect.Method.invoke(Method.java:618)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
  3. 0

    Problems With Oracle Data Source WAS 6.1 RHEL : Error Code = 17,068

    objectmix.com | 11 months ago
    java.sql.SQLException: Invalid argument(s) in callDSRA0010E: SQL State = null, Error Code = 17,068<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:99)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at com.ibm.ws.rsadapter.DSConfigurationHelper$1.run(DSConfigurationHelper.java:1207)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at com.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationHelper.java:1239)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at com.ibm.ws.rsadapter.DSConfigurationHelper.testConnectionForGUI(DSConfigurationHelper.java:2559)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at java.lang.reflect.Method.invoke(Method.java:618)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at com.ibm.ws.management.DataSourceConfigHelperMBean.testConnectionToDataSource2(DataSourceConfigHelperMBean.java:532)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at com.ibm.ws.management.DataSourceConfigHelperMBean.testConnection(DataSourceConfigHelperMBean.java:460)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at java.lang.reflect.Method.invoke(Method.java:618)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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