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

Oracle Community | 3004 | 1 decade ago
  1. 0

    Problem with JBoss and KODO J2EE Tutorial

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

    cannot commit during managed transaction

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

    mySQL -- Cannot disable AUTO_COMMIT

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: Cannot disable AUTO_COMMIT
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Kodo and JBoss 3.2 - transactions problem

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: ERROR: current transaction is aborted, queries ignored until end of transaction block
  6. 0

    Hibernate in JBoss: You cannot commit during a managed transaction!

    objectmix.com | 1 year ago
    java.sql.SQLException: You cannot commit during a managed transaction!

    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 com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal()
    2. com.solarmetric.kodo
      PersistenceManagerImpl.makePersistent
      1. com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal(SQLExceptions.java:58)
      2. com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.handle(SQLExceptions.java:43)
      3. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId(JDBCStoreManager.java:562)
      4. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter(PersistenceManagerImpl.java:1450)
      5. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1380)
      5 frames
    3. samples.j2ee.ejb
      CarBean.edit
      1. samples.j2ee.ejb.CarBean.edit(CarBean.java:51)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    5. JBoss Application Server Server
      StatelessSessionContainer$ContainerInterceptor.invoke
      1. org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:629)
      1 frame
    6. JBoss Application Server Connector
      CachedConnectionInterceptor.invoke
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      1 frame
    7. JBoss Application Server Server
      Container.invoke
      1. org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
      2. org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
      3. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)
      4. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
      5. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
      6. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      7. org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      8. org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
      9. org.jboss.ejb.Container.invoke(Container.java:674)
      9 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    9. org.jboss.mx
      ReflectedMBeanDispatcher.invoke
      1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      1 frame
    10. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      1 frame
    11. JBoss Application Server Server
      ClientContainer.invoke
      1. org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
      2. org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:83)
      3. org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
      4. org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
      5. org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
      6. org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
      6 frames
    12. Unknown
      $Proxy26.edit
      1. $Proxy26.edit(Unknown Source)
      1 frame
    13. org.apache.jsp
      Save_jsp._jspService
      1. org.apache.jsp.Save_jsp._jspService(Save_jsp.java:69)
      1 frame
    14. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      1 frame
    15. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      1 frame
    16. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper..java:210)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      3 frames
    17. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      1 frame
    18. Jetty Server
      ServletHandler.handle
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
      2. org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
      3. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
      3 frames
    19. org.mortbay.http
      HttpContext.handle
      1. org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
      1 frame
    20. Jetty Server
      WebApplicationContext.handle
      1. org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
      1 frame
    21. org.mortbay.http
      HttpServer.service
      1. org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
      2. org.mortbay.http.HttpServer.service(HttpServer.java:863)
      2 frames
    22. org.jboss.jetty
      Jetty.service
      1. org.jboss.jetty.Jetty.service(Jetty.java:460)
      1 frame
    23. org.mortbay.http
      SocketListener.handleConnection
      1. org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
      2. org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
      3. org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
      4. org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
      4 frames
    24. Jetty Util
      ThreadPool$PoolThread.run
      1. org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
      2. org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
      2 frames