org.apache.cxf.interceptor.Fault: Transaction rolled back

ejbca | karyeow | 2 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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. org.hibernate.StaleStateException

      Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1

      at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched()
    2. Hibernate
      JdbcCoordinatorImpl.beforeTransactionCompletion
      1. org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:67)
      2. org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:54)
      3. org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:46)
      4. org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3082)
      5. org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2961)
      6. org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3341)
      7. org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:145)
      8. org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:582)
      9. org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:456)
      10. org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:337)
      11. org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39)
      12. org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1282)
      13. org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:465)
      14. org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:2963)
      15. org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2339)
      16. org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:485)
      16 frames
    3. org.hibernate.resource
      RegisteredSynchronization.beforeCompletion
      1. org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorImpl.beforeCompletion(JtaTransactionCoordinatorImpl.java:316)
      2. org.hibernate.resource.transaction.backend.jta.internal.synchronization.SynchronizationCallbackCoordinatorNonTrackingImpl.beforeCompletion(SynchronizationCallbackCoordinatorNonTrackingImpl.java:47)
      3. org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:37)
      3 frames
    4. org.jboss.as
      JCAOrderedLastSynchronizationList.beforeCompletion
      1. org.jboss.as.txn.service.internal.tsr.JCAOrderedLastSynchronizationList.beforeCompletion(JCAOrderedLastSynchronizationList.java:116)
      1 frame
    5. JBossTS jbossjta
      BaseTransaction.commit
      1. com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
      2. com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:368)
      3. com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:91)
      4. com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
      5. com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1200)
      6. com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:126)
      6 frames
    6. Narayana: ArjunaJTS integration
      BaseTransactionManagerDelegate.commit
      1. com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:89)
      1 frame
    7. JBoss Application Server: EJB Subsystem
      CMTTxInterceptor.processInvocation
      1. org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:91)
      2. org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:279)
      3. org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327)
      4. org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)
      4 frames
    8. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    9. JBoss Application Server: EJB Subsystem
      CurrentInvocationContextInterceptor.processInvocation
      1. org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
      1 frame
    10. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    11. JBoss Application Server: EJB Subsystem
      WaitTimeInterceptor.processInvocation
      1. org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)
      1 frame
    12. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    13. JBoss Application Server: EJB Subsystem
      SecurityContextInterceptor.processInvocation
      1. org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
      1 frame
    14. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    15. JBoss Application Server: EJB Subsystem
      StartupAwaitInterceptor.processInvocation
      1. org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22)
      1 frame
    16. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    17. JBoss Application Server: EJB Subsystem
      ShutDownInterceptorFactory$1.processInvocation
      1. org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
      1 frame
    18. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    19. JBoss Application Server: EJB Subsystem
      LoggingInterceptor.processInvocation
      1. org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67)
      1 frame
    20. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    21. JBoss Application Server: EE
      NamespaceContextInterceptor.processInvocation
      1. org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
      1 frame
    22. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    23. JBoss Application Server: EJB Subsystem
      AdditionalSetupInterceptor.processInvocation
      1. org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
      1 frame
    24. JBoss Application Server Server
      InterceptorContext.run
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      2. org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
      3. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      4. org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
      4 frames
    25. WildFly Security Manager
      WildFlySecurityManager.doChecked
      1. org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)
      1 frame
    26. JBoss Application Server Server
      ChainedInterceptor.processInvocation
      1. org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
      2. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      3. org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
      4. org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
      5. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      6. org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
      6 frames
    27. JBoss Application Server: EE
      ViewService$View.invoke
      1. org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)
      1 frame
    28. WebService
      AbstractInvocationHandler.invoke
      1. org.jboss.as.webservices.invocation.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:137)
      1 frame
    29. JBoss Web Services - Stack CXF Runtime Client
      JBossWSInvoker.performInvocation
      1. org.jboss.wsf.stack.cxf.JBossWSInvoker.performInvocation(JBossWSInvoker.java:169)
      1 frame
    30. Apache CXF Core
      AbstractInvoker.invoke
      1. org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
      1 frame
    31. Apache CXF Runtime JAX-WS Frontend
      JAXWSMethodInvoker.invoke
      1. org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:232)
      2. org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:85)
      2 frames
    32. JBoss Web Services - Stack CXF Runtime Client
      JBossWSInvoker.invoke
      1. org.jboss.wsf.stack.cxf.JBossWSInvoker.invoke(JBossWSInvoker.java:145)
      1 frame
    33. Apache CXF Core
      ServiceInvokerInterceptor$1.run
      1. org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
      1 frame
    34. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2 frames
    35. Apache CXF Core
      ChainInitiationObserver.onMessage
      1. org.apache.cxf.interceptor.ServiceInvokerInterceptor$2.run(ServiceInvokerInterceptor.java:126)
      2. org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
      3. org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:131)
      4. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
      5. org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
      5 frames
    36. Apache CXF Runtime HTTP Transport
      AbstractHTTPDestination.invoke
      1. org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:254)
      1 frame
    37. JBoss Web Services - Stack CXF Runtime Client
      RequestHandlerImpl.handleHttpRequest
      1. org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:108)
      1 frame
    38. org.jboss.wsf
      ServletHelper.callRequestHandler
      1. org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:134)
      1 frame
    39. JBoss Web Services - Stack CXF Runtime Client
      CXFServletExt.invoke
      1. org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:88)
      1 frame
    40. Apache CXF Runtime HTTP Transport
      AbstractHTTPServlet.doPost
      1. org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:298)
      2. org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:217)
      2 frames
    41. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      1 frame
    42. JBoss Web Services - Stack CXF Runtime Client
      CXFServletExt.service
      1. org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:136)
      1 frame
    43. JBoss Web Services - SPI
      WSFServlet.service
      1. org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140)
      1 frame
    44. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      1 frame
    45. Undertow Servlet
      ServletDispatchingHandler.handleRequest
      1. io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
      2. io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
      3. io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
      3 frames
    46. WildFly: Undertow
      SecurityContextAssociationHandler.handleRequest
      1. org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
      1 frame
    47. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      1 frame
    48. Undertow Servlet
      ServletAuthenticationCallHandler.handleRequest
      1. io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
      2. io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
      2 frames
    49. Undertow Core
      AbstractConfidentialityHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      2. io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
      2 frames
    50. Undertow Servlet
      ServletConfidentialityConstraintHandler.handleRequest
      1. io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
      1 frame
    51. Undertow Core
      AuthenticationMechanismsHandler.handleRequest
      1. io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
      1 frame
    52. Undertow Servlet
      CachedAuthenticatedSessionHandler.handleRequest
      1. io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
      1 frame
    53. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
      2. io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
      3. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      3 frames
    54. WildFly: Undertow
      JACCContextIdHandler.handleRequest
      1. org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
      1 frame
    55. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      2. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      2 frames
    56. Undertow Servlet
      ServletInitialHandler$1.handleRequest
      1. io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
      2. io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
      3. io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
      4. io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
      5. io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
      6. io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      7. io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
      8. io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
      9. io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
      10. io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
      11. io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
      12. io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
      13. io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
      14. io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
      14 frames
    57. Undertow Core
      HttpServerExchange$1.run
      1. io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
      2. io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)
      2 frames
    58. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames