javax.transaction.RollbackException: Transaction rolled back

ibm.com | 4 months ago
  1. 0

    Method addSync caught javax.transaction.RollbackException;

    Google Groups | 7 years ago | joebreal
    javax.transaction.RollbackException: Transaction rolled back
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    WAS 6.0.2 Datasource problem - Connection Timeout

    Coderanch | 1 decade ago | Rajakumar Makapur
    javax.transaction.RollbackException: Transaction rolled back

    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

      Transaction rolled back

      at com.ibm.ws.Transaction.JTA.TransactionImpl.registerSynchronization()
    2. com.ibm.ws
      TranManagerSet.registerSynchronization
      1. com.ibm.ws.Transaction.JTA.TransactionImpl.registerSynchronization(TransactionImpl.java:3599)
      2. com.ibm.ws.Transaction.JTA.TransactionImpl.registerSynchronization(TransactionImpl.java:3578)
      3. com.ibm.ws.Transaction.JTA.TranManagerSet.registerSynchronization(TranManagerSet.java:515)
      3 frames
    3. com.ibm.ejs
      ConnectionManager.allocateConnection
      1. com.ibm.ejs.j2c.LocalTransactionWrapper.addSync(LocalTransactionWrapper.java:1058)
      2. com.ibm.ejs.j2c.ConnectionManager.initializeForUOW(ConnectionManager.java:1357)
      3. com.ibm.ejs.j2c.ConnectionManager.involveMCInTran(ConnectionManager.java:1067)
      4. com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:617)
      4 frames
    4. com.ibm.ws
      WSJdbcDataSource.getConnection
      1. com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:449)
      2. com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:418)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:618)
      3 frames
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
      2 frames
    7. Unknown
      $Proxy14.getConnection
      1. $Proxy14.getConnection(Unknown Source)
      1 frame
    8. Spring Framework
      SimpleJdbcTemplate.queryForLong
      1. org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
      2. org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
      3. org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:382)
      4. org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:458)
      5. org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:466)
      6. org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:474)
      7. org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:479)
      8. org.springframework.jdbc.core.JdbcTemplate.queryForLong(JdbcTemplate.java:483)
      9. org.springframework.jdbc.core.simple.SimpleJdbcTemplate.queryForLong(SimpleJdbcTemplate.java:133)
      9 frames
    9. com.ing.rcc
      LoadServiceBean.doInitialLoad
      1. com.ing.rcc.be.hbsearch.historygap.dao.jdbc.GapCheckStateDao.containsRecord(GapCheckStateDao.java:72)
      2. com.ing.rcc.be.hbsearch.historygap.service.impl.GapCheckStateService.getLastCheckedDate(GapCheckStateService.java:50)
      3. com.ing.rcc.be.hbsearch.load.historygap.DailyHistoryGapUpdater.updateHistoryGaps(DailyHistoryGapUpdater.java:50)
      4. com.ing.rcc.be.hbsearch.load.historygap.InitialHistoryGapUpdater.updateHistoryGaps(InitialHistoryGapUpdater.java:37)
      5. com.ing.rcc.be.hbsearch.load.impl.LoadService.doLoad(LoadService.java:98)
      6. com.ing.rcc.be.hbsearch.load.facade.impl.LoadServiceBean.doInitialLoad(LoadServiceBean.java:114)
      6 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:618)
      4 frames
    11. com.ibm.ejs
      InvocationContextImpl.proceed
      1. com.ibm.ejs.container.interceptors.InvocationContextImpl.proceed(InvocationContextImpl.java:547)
      1 frame
    12. com.ing.rcc
      LoggingInterceptor.logMethodEntry
      1. com.ing.rcc.be.hbsearch.common.interceptor.LoggingInterceptor.logMethodEntry(LoggingInterceptor.java:41)
      1 frame
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:618)
      4 frames
    14. com.ibm.ejs
      EJSContainer.invoke
      1. com.ibm.ejs.container.interceptors.InterceptorProxy.invokeInterceptor(InterceptorProxy.java:227)
      2. com.ibm.ejs.container.interceptors.InvocationContextImpl.proceed(InvocationContextImpl.java:526)
      3. com.ibm.ejs.container.interceptors.InvocationContextImpl.doAroundInvoke(InvocationContextImpl.java:184)
      4. com.ibm.ejs.container.EJSContainer.invoke(EJSContainer.java:5578)
      4 frames
    15. com.ing.rcc
      EJSLocal0SLLoadServiceBean_76ff9311.doInitialLoad
      1. com.ing.rcc.be.hbsearch.load.facade.EJSLocal0SLLoadServiceBean_76ff9311.doInitialLoad(EJSLocal0SLLoadServiceBean_76ff9311.java)
      1 frame
    16. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:618)
      4 frames
    17. Spring Context
      AbstractSlsbInvokerInterceptor.invoke
      1. org.springframework.ejb.access.LocalSlsbInvokerInterceptor.invokeInContext(LocalSlsbInvokerInterceptor.java:70)
      2. org.springframework.ejb.access.AbstractSlsbInvokerInterceptor.invoke(AbstractSlsbInvokerInterceptor.java:188)
      2 frames
    18. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    19. Unknown
      $Proxy12.doInitialLoad
      1. $Proxy12.doInitialLoad(Unknown Source)
      1 frame
    20. com.ing.rcc
      LoadServlet.doGet
      1. com.ing.rcc.be.hbsearch.load.servlet.LoadServlet.doPost(LoadServlet.java:59)
      2. com.ing.rcc.be.hbsearch.load.servlet.LoadServlet.doGet(LoadServlet.java:46)
      2 frames
    21. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      2 frames
    22. WebSphere
      ServletWrapper.handleRequest
      1. com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
      2. com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
      3. com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
      4. com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
      5. com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:850)
      6. com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:693)
      7. com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:589)
      7 frames
    23. com.ibm.ws
      ServletWrapper.handleRequest
      1. com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:534)
      1 frame
    24. WebSphere
      WebContainer.handleRequest
      1. com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548)
      2. com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
      3. com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:831)
      3 frames
    25. com.ibm.ws
      WCChannelLink.ready
      1. com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
      2. com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
      2 frames
    26. WebSphere
      AioReadCompletionListener.futureCompleted
      1. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:450)
      2. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:508)
      3. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:296)
      4. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:270)
      5. com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
      6. com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
      7. com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
      7 frames
    27. com.ibm.io
      ResultHandler$2.run
      1. com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
      2. com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
      3. com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
      4. com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
      5. com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
      6. com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
      6 frames
    28. com.ibm.ws
      ThreadPool$Worker.run
      1. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
      1 frame