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 grokbase.com by Unknown author, 2 years ago
via Stack Overflow by exabrial
, 2 years ago
Unable to commit: transaction marked for rollback
via Google Groups by kokkinid, 7 months ago
Unable to commit: transaction marked for rollback
via nabble.com by Unknown author, 2 years ago
via Stack Overflow by mah454
, 6 months ago
Unable to commit: transaction marked for rollback
org.apache.geronimo.transaction.manager.SetRollbackOnlyException: setRollbackOnly() called.  See stacktrace for origin	at org.apache.geronimo.transaction.manager.TransactionImpl.setRollbackOnly(TransactionImpl.java:126)	at org.apache.geronimo.transaction.manager.TransactionManagerImpl.setRollbackOnly(TransactionManagerImpl.java:243)	at org.apache.openejb.core.TransactionSynchronizationRegistryWrapper.setRollbackOnly(TransactionSynchronizationRegistryWrapper.java:71)	at org.apache.openjpa.ee.RegistryManagedRuntime$TransactionManagerRegistryFacade.setRollbackOnly(RegistryManagedRuntime.java:128)	at org.apache.openjpa.ee.RegistryManagedRuntime.setRollbackOnly(RegistryManagedRuntime.java:74)	at org.apache.openjpa.ee.AutomaticManagedRuntime.setRollbackOnly(AutomaticManagedRuntime.java:274)	at org.apache.openjpa.kernel.BrokerImpl.setRollbackOnlyInternal(BrokerImpl.java:1644)	at org.apache.openjpa.kernel.BrokerImpl.setRollbackOnly(BrokerImpl.java:1624)	at org.apache.openjpa.kernel.DelegatingBroker.setRollbackOnly(DelegatingBroker.java:981)	at org.apache.openjpa.persistence.EntityManagerImpl.setRollbackOnly(EntityManagerImpl.java:630)	at org.apache.openjpa.persistence.PersistenceExceptions$2.translate(PersistenceExceptions.java:77)	at org.apache.openjpa.kernel.BrokerImpl.translateManagedCompletionException(BrokerImpl.java:2044)	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1978)	at org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion(TransactionImpl.java:527)	at org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion(TransactionImpl.java:512)	at org.apache.geronimo.transaction.manager.TransactionImpl.beforePrepare(TransactionImpl.java:413)	at org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:262)	at org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:252)	at org.apache.openejb.core.transaction.JtaTransactionPolicy.completeTransaction(JtaTransactionPolicy.java:324)	at org.apache.openejb.core.transaction.TxRequired.commit(TxRequired.java:75)	at org.apache.openejb.core.transaction.EjbTransactionUtil.afterInvoke(EjbTransactionUtil.java:73)	at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:246)	at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:178)	at org.apache.openejb.core.ivm.EjbObjectProxyHandler.synchronizedBusinessMethod(EjbObjectProxyHandler.java:261)	at org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:241)	at org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:92)	at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:284)	at undefined.$Proxy72.add(Unknown Source)	at com.example.backing.IndexBacking.addUser(IndexBacking.java:38)	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:597)	at org.apache.el.parser.AstValue.invoke(AstValue.java:262)	at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)	at org.apache.myfaces.view.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:93)	at javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:88)	at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:100)	at javax.faces.component.UICommand.broadcast(UICommand.java:120)	at javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:990)	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:280)	at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1275)	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:728)	at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:38)	at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171)	at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)	at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)	at java.lang.Thread.run(Thread.java:680)