Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
You cannot commit during a managed transaction!
via pentaho.com by Unknown author, 2 years ago
via pentaho.com by Unknown author, 2 years ago
You cannot commit with autocommit set!
via GitHub by chkal
, 2 years ago
You cannot commit during a managed transaction!
via springframework by ryang5
, 2 years ago
You cannot commit during a managed transaction\!
via Coderanch by Joydeep Ghatak, 1 year ago
You cannot commit with autocommit set!
java.sql.SQLException: You cannot commit during a managed transaction!	at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcCommit(BaseWrapperManagedConnection.java:400)	at org.jboss.resource.adapter.jdbc.WrappedConnection.commit(WrappedConnection.java:477)	at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.commit(SQLExecutionManagerImpl.java:765)	at com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.updateSequence(DBSequenceFactory.java:267)	at com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.getNext(DBSequenceFactory.java:111)	at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId(JDBCStoreManager.java:558)	at com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter(PersistenceManagerImpl.java:1450)	at com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1380)	at samples.j2ee.ejb.CarBean.edit(CarBean.java:51)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:629)	at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)	at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)	at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)	at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)	at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)	at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)	at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)	at org.jboss.ejb.Container.invoke(Container.java:674)	at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)	at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)	at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:83)	at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)	at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)	at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)	at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)	at $Proxy26.edit(Unknown Source)	at org.apache.jsp.Save_jsp._jspService(Save_jsp.java:69)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper..java:210)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)	at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)	at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)	at org.mortbay.http.HttpServer.service(HttpServer.java:863)	at org.jboss.jetty.Jetty.service(Jetty.java:460)	at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)