javax.ejb.EJBTransactionRolledbackException: Transaction rolled back

hibernate.org | 3 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

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. javax.transaction.RollbackException

    ARJUNA016063: The transaction is not active!

    at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate()
  2. JBossTS jbossjta
    BaseTransaction.commit
    1. com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1155)[jbossjts-4.16.2.Final.jar:]
    2. com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)[jbossjts-4.16.2.Final.jar:]
    2 frames
  3. Narayana: ArjunaJTS integration
    BaseTransactionManagerDelegate.commit
    1. com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)[jbossjts-integration-4.16.2.Final.jar:]
    1 frame
  4. JBoss Application Server: EJB Subsystem
    CMTTxInterceptor.processInvocation
    1. org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:92)[jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
    2. org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:232)[jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
    3. org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)[jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
    4. org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)[jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
    4 frames
  5. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
    1 frame
  6. JBoss Application Server: EJB Subsystem
    CurrentInvocationContextInterceptor.processInvocation
    1. org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)[jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
    1 frame
  7. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
    1 frame
  8. JBoss Application Server: EJB Subsystem
    LoggingInterceptor.processInvocation
    1. org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)[jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
    1 frame
  9. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
    1 frame
  10. JBoss Application Server: EE
    NamespaceContextInterceptor.processInvocation
    1. org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)[jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
    1 frame
  11. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
    1 frame
  12. JBoss Application Server: EJB Subsystem
    AdditionalSetupInterceptor.processInvocation
    1. org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)[jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
    1 frame
  13. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
    1 frame
  14. JBoss Application Server: EE
    TCCLInterceptor.processInvocation
    1. org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)[jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
    1 frame
  15. JBoss Application Server Server
    ChainedInterceptor.processInvocation
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
    2. org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
    2 frames
  16. JBoss Application Server: EE
    ViewDescription$1.processInvocation
    1. org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)[jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
    2. org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)[jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
    2 frames
  17. JBoss Application Server Server
    ChainedInterceptor.processInvocation
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
    2. org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
    2 frames
  18. JBoss Application Server: EE
    ProxyInvocationHandler.invoke
    1. org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)[jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
    1 frame
  19. com.example.service
    HibernateIndexLoaderService$$$view10.reindex
    1. com.example.service.impl.HibernateIndexLoaderService$$$view10.reindex(Unknown Source)[example-ejb-1.0-SNAPSHOT.jar:]
    1 frame
  20. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.6.0_26]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[rt.jar:1.6.0_26]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[rt.jar:1.6.0_26]
    4. java.lang.reflect.Method.invoke(Method.java:597)[rt.jar:1.6.0_26]
    4 frames
  21. Weld Implementation
    ProxyMethodHandler.invoke
    1. org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:264)[weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
    2. org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)[weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
    3. org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)[weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
    4. org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:260)[weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
    5. org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:111)[weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
    6. org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)[weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
    7. org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105)[weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
    7 frames
  22. com.example.service
    HibernateIndexLoaderService$Proxy$_$$_Weld$Proxy$.reindex
    1. com.example.service.impl.HibernateIndexLoaderService$Proxy$_$$_Weld$Proxy$.reindex(HibernateIndexLoaderService$Proxy$_$$_Weld$Proxy$.java)[example-ejb-1.0-SNAPSHOT.jar:]
    1 frame
  23. com.example.rest
    LuceneIndexRestService$Proxy$_$$_WeldClientProxy.reindex
    1. com.example.rest.services.LuceneIndexRestService.reindex(LuceneIndexRestService.java:39)[classes:]
    2. com.example.rest.services.LuceneIndexRestService$Proxy$_$$_WeldClientProxy.reindex(LuceneIndexRestService$Proxy$_$$_WeldClientProxy.java)[classes:]
    2 frames
  24. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.6.0_26]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[rt.jar:1.6.0_26]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[rt.jar:1.6.0_26]
    4. java.lang.reflect.Method.invoke(Method.java:597)[rt.jar:1.6.0_26]
    4 frames
  25. RESTEasy JAX-RS Implementation
    HttpServletDispatcher.service
    1. org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)[resteasy-jaxrs-2.3.2.Final.jar:]
    2. org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)[resteasy-jaxrs-2.3.2.Final.jar:]
    3. org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)[resteasy-jaxrs-2.3.2.Final.jar:]
    4. org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)[resteasy-jaxrs-2.3.2.Final.jar:]
    5. org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)[resteasy-jaxrs-2.3.2.Final.jar:]
    6. org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)[resteasy-jaxrs-2.3.2.Final.jar:]
    7. org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)[resteasy-jaxrs-2.3.2.Final.jar:]
    8. org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)[resteasy-jaxrs-2.3.2.Final.jar:]
    9. org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)[resteasy-jaxrs-2.3.2.Final.jar:]
    10. org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)[resteasy-jaxrs-2.3.2.Final.jar:]
    10 frames
  26. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:847)[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
    1 frame
  27. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)[jbossweb-7.0.13.Final.jar:]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)[jbossweb-7.0.13.Final.jar:]
    2 frames
  28. Weld Implementation
    ConversationPropagationFilter.doFilter
    1. org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)[weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
    1 frame
  29. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)[jbossweb-7.0.13.Final.jar:]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)[jbossweb-7.0.13.Final.jar:]
    2 frames
  30. com.example.rest
    LocaleFilter.doFilter
    1. com.example.rest.filters.LocaleFilter.doFilter(LocaleFilter.java:69)[classes:]
    1 frame
  31. Glassfish Core
    AuthenticatorBase.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)[jbossweb-7.0.13.Final.jar:]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)[jbossweb-7.0.13.Final.jar:]
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)[jbossweb-7.0.13.Final.jar:]
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)[jbossweb-7.0.13.Final.jar:]
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)[jbossweb-7.0.13.Final.jar:]
    5 frames
  32. JPA
    WebNonTxEmCloserValve.invoke
    1. org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)[jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
    1 frame
  33. JBoss Web
    SecurityContextAssociationValve.invoke
    1. org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)[jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
    1 frame
  34. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)[jbossweb-7.0.13.Final.jar:]
    2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)[jbossweb-7.0.13.Final.jar:]
    3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[jbossweb-7.0.13.Final.jar:]
    4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)[jbossweb-7.0.13.Final.jar:]
    4 frames
  35. Grizzly HTTP
    JIoEndpoint$Worker.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)[jbossweb-7.0.13.Final.jar:]
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)[jbossweb-7.0.13.Final.jar:]
    3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)[jbossweb-7.0.13.Final.jar:]
    3 frames
  36. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)[rt.jar:1.6.0_26]
    1 frame