org.springframework.transaction.IllegalTransactionStateException: Transaction is already completed - do not call commit or rollback more than once per transaction

Atlassian JIRA | Don Willis [Atlassian] | 8 years ago
  1. 0

    While many deadlocks have been fixed by the work in [CONF-13668], some customers are still experiencing deadlock errors on page views in MS SQL Server due to updates on the OS_PROPERTYENTRY table. These are not yet understood. They *may* relate to particular macros being used. {noformat} 2010-04-06 13:51:14,269 ERROR [http-80-13] [sf.hibernate.util.JDBCExceptionReporter] logExceptions Transaction (Process ID 149) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. -- url: /display/mySpace/somePage | page: 2264286 | userName: admin | referer: http://confluence/display/mySpace/anotherPage | action: viewpage 2010-04-06 13:51:14,269 ERROR [http-80-13] [sf.hibernate.impl.SessionImpl] execute Could not synchronize database state with session -- url: /display/mySpace/somePage | page: 2264286 | userName: admin | referer: http://confluence/display/mySpace/anotherPage | action: viewpage 2010-04-06 13:51:14,269 ERROR [http-80-13] [atlassian.xwork.interceptors.TransactionalInvocation] commitOrRollbackTransaction Action /pages/viewpage.action (ViewPageAction28.execute()) is already completed and can not be committed again. -- url: /display/mySpace/somePage | userName: admin | referer: http://confluence/display/mySpace/anotherPage 2010-04-06 13:51:14,269 ERROR [http-80-13] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action -- url: /display/mySpace/somePage | userName: admin | referer: http://confluence/display/mySpace/anotherPage org.springframework.transaction.IllegalTransactionStateException: Transaction is already completed - do not call commit or rollback more than once per transaction at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:725) at com.atlassian.xwork.interceptors.TransactionalInvocation.commitOrRollbackTransaction(TransactionalInvocation.java:93) {noformat}

    Atlassian JIRA | 8 years ago | Don Willis [Atlassian]
    org.springframework.transaction.IllegalTransactionStateException: Transaction is already completed - do not call commit or rollback more than once per transaction
  2. 0

    While many deadlocks have been fixed by the work in [CONF-13668], some customers are still experiencing deadlock errors on page views in MS SQL Server due to updates on the OS_PROPERTYENTRY table. These are not yet understood. They *may* relate to particular macros being used. {noformat} 2010-04-06 13:51:14,269 ERROR [http-80-13] [sf.hibernate.util.JDBCExceptionReporter] logExceptions Transaction (Process ID 149) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. -- url: /display/mySpace/somePage | page: 2264286 | userName: admin | referer: http://confluence/display/mySpace/anotherPage | action: viewpage 2010-04-06 13:51:14,269 ERROR [http-80-13] [sf.hibernate.impl.SessionImpl] execute Could not synchronize database state with session -- url: /display/mySpace/somePage | page: 2264286 | userName: admin | referer: http://confluence/display/mySpace/anotherPage | action: viewpage 2010-04-06 13:51:14,269 ERROR [http-80-13] [atlassian.xwork.interceptors.TransactionalInvocation] commitOrRollbackTransaction Action /pages/viewpage.action (ViewPageAction28.execute()) is already completed and can not be committed again. -- url: /display/mySpace/somePage | userName: admin | referer: http://confluence/display/mySpace/anotherPage 2010-04-06 13:51:14,269 ERROR [http-80-13] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action -- url: /display/mySpace/somePage | userName: admin | referer: http://confluence/display/mySpace/anotherPage org.springframework.transaction.IllegalTransactionStateException: Transaction is already completed - do not call commit or rollback more than once per transaction at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:725) at com.atlassian.xwork.interceptors.TransactionalInvocation.commitOrRollbackTransaction(TransactionalInvocation.java:93) {noformat}

    Atlassian JIRA | 8 years ago | Don Willis [Atlassian]
    org.springframework.transaction.IllegalTransactionStateException: Transaction is already completed - do not call commit or rollback more than once per transaction
  3. 0

    [CONF-10087] XWorkTransactionInterceptor commits transaction even when its marked as rollback only - Atlassian JIRA

    atlassian.com | 8 months ago
    org.springframework.transaction.IllegalTransactionStateException: Transaction is already completed - do not call commit or rollback more than once per transaction
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [CONF-10087] XWorkTransactionInterceptor commits transaction even when its marked as rollback only - Atlassian JIRA

    atlassian.com | 1 year ago
    org.springframework.transaction.IllegalTransactionStateException: Transaction is already completed - do not call commit or rollback more than once per transaction
  6. 0

    This causes exceptions like the following: {noformat} 2007-11-29 17:15:12,741 ERROR [tcpConnection-8080-0] [opensymphony.webwork.dispatcher.ServletDispatcher] serviceAction Could not execute action -- url: /confluence/admin/users/creategroup.action | userName: a org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:626) at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor$1.beforeResult(XWorkTransactionInterceptor.java:89) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:181) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) {noformat} {noformat} 2008-03-01 13:48:05,575 ERROR [resin-tcp-connection-j2ee.confluence.atlassian.com:8080-57] [atlassian.xwork.interceptors.XWorkTransactionInterceptor] onThrowable Attempted rollback caused exception: org.springframework.transaction.IllegalTransactionStateException: Transaction is already completed - do not call commit or rollback more than once per transaction -- url: /pages/viewpage.action | userName: anonymous | referrer: none org.springframework.transaction.IllegalTransactionStateException: Transaction is already completed - do not call commit or rollback more than once per transaction at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:725) at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.onThrowable(XWorkTransactionInterceptor.java:162) at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:105) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115) at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229) {noformat}

    Atlassian JIRA | 9 years ago | Dave Loeng [Atlassian]
    org.springframework.transaction.IllegalTransactionStateException: Transaction is already completed - do not call commit or rollback more than once per transaction

    1 unregistered visitors
    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.springframework.transaction.IllegalTransactionStateException

      Transaction is already completed - do not call commit or rollback more than once per transaction

      at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback()
    2. Spring Tx
      AbstractPlatformTransactionManager.rollback
      1. org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:725)
      1 frame
    3. com.atlassian.xwork
      TransactionalInvocation.commitOrRollbackTransaction
      1. com.atlassian.xwork.interceptors.TransactionalInvocation.commitOrRollbackTransaction(TransactionalInvocation.java:93)
      1 frame