org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Prepare: NO vote

JIRA | Yannick Marcon | 3 years 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. 0

    * import Drugs data from Health Canada * export Drugs table to a xml: fails {code} Exception in thread "Thread-59" Exception in thread "Thread-61" Exception in thread "Thread-58" Exception in thread "Thread-60" org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Prepare: NO vote at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1014) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:148) at org.obiba.opal.core.tx.TransactionalThreadFactory$TransactionalThread.run(TransactionalThreadFactory.java:47) Caused by: javax.transaction.RollbackException: Prepare: NO vote at com.atomikos.icatch.jta.TransactionImp.rethrowAsJtaRollbackException(TransactionImp.java:66) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:206) at com.atomikos.icatch.jta.TransactionManagerImp.commit(TransactionManagerImp.java:436) at com.atomikos.icatch.jta.UserTransactionImp.commit(UserTransactionImp.java:107) at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1011) ... 4 more Caused by: com.atomikos.icatch.RollbackException: Prepare: NO vote at com.atomikos.icatch.imp.ActiveStateHandler.prepare(ActiveStateHandler.java:225) at com.atomikos.icatch.imp.CoordinatorImp.prepare(CoordinatorImp.java:664) at com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:944) at com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:82) at com.atomikos.icatch.imp.CompositeTransactionImp.commit(CompositeTransactionImp.java:336) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:190) ... 7 more java.lang.RuntimeException: org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Prepare: NO vote at org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToDatasource(DefaultExportServiceImpl.java:138) at org.obiba.opal.shell.commands.CopyCommand.execute(CopyCommand.java:89) at org.obiba.opal.shell.CommandJob.run(CommandJob.java:123) at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Prepare: NO vote at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1014) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:148) at org.obiba.opal.core.magma.concurrent.LockingActionTemplate.doInTransaction(LockingActionTemplate.java:42) at org.obiba.opal.core.magma.concurrent.LockingActionTemplate.execute(LockingActionTemplate.java:31) at org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToDatasource(DefaultExportServiceImpl.java:130) ... 10 more Caused by: javax.transaction.RollbackException: Prepare: NO vote at com.atomikos.icatch.jta.TransactionImp.rethrowAsJtaRollbackException(TransactionImp.java:66) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:206) at com.atomikos.icatch.jta.TransactionManagerImp.commit(TransactionManagerImp.java:436) at com.atomikos.icatch.jta.UserTransactionImp.commit(UserTransactionImp.java:107) at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1011) ... 16 more Caused by: com.atomikos.icatch.RollbackException: Prepare: NO vote at com.atomikos.icatch.imp.ActiveStateHandler.prepare(ActiveStateHandler.java:225) at com.atomikos.icatch.imp.CoordinatorImp.prepare(CoordinatorImp.java:664) at com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:944) at com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:82) at com.atomikos.icatch.imp.CompositeTransactionImp.commit(CompositeTransactionImp.java:336) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:190) ... 19 more org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Prepare: NO vote at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1014) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:148) at org.obiba.opal.core.tx.TransactionalThreadFactory$TransactionalThread.run(TransactionalThreadFactory.java:47) Caused by: javax.transaction.RollbackException: Prepare: NO vote at com.atomikos.icatch.jta.TransactionImp.rethrowAsJtaRollbackException(TransactionImp.java:66) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:206) at com.atomikos.icatch.jta.TransactionManagerImp.commit(TransactionManagerImp.java:436) at com.atomikos.icatch.jta.UserTransactionImp.commit(UserTransactionImp.java:107) at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1011) ... 4 more Caused by: com.atomikos.icatch.RollbackException: Prepare: NO vote at com.atomikos.icatch.imp.ActiveStateHandler.prepare(ActiveStateHandler.java:225) at com.atomikos.icatch.imp.CoordinatorImp.prepare(CoordinatorImp.java:664) at com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:944) at com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:82) at com.atomikos.icatch.imp.CompositeTransactionImp.commit(CompositeTransactionImp.java:336) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:190) ... 7 more org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Prepare: NO vote at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1014) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:148) at org.obiba.opal.core.tx.TransactionalThreadFactory$TransactionalThread.run(TransactionalThreadFactory.java:47) Caused by: javax.transaction.RollbackException: Prepare: NO vote at com.atomikos.icatch.jta.TransactionImp.rethrowAsJtaRollbackException(TransactionImp.java:66) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:206) at com.atomikos.icatch.jta.TransactionManagerImp.commit(TransactionManagerImp.java:436) at com.atomikos.icatch.jta.UserTransactionImp.commit(UserTransactionImp.java:107) at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1011) ... 4 more Caused by: com.atomikos.icatch.RollbackException: Prepare: NO vote at com.atomikos.icatch.imp.ActiveStateHandler.prepare(ActiveStateHandler.java:225) at com.atomikos.icatch.imp.CoordinatorImp.prepare(CoordinatorImp.java:664) at com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:944) at com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:82) at com.atomikos.icatch.imp.CompositeTransactionImp.commit(CompositeTransactionImp.java:336) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:190) ... 7 more org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Prepare: NO vote at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1014) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:148) at org.obiba.opal.core.tx.TransactionalThreadFactory$TransactionalThread.run(TransactionalThreadFactory.java:47) Caused by: javax.transaction.RollbackException: Prepare: NO vote at com.atomikos.icatch.jta.TransactionImp.rethrowAsJtaRollbackException(TransactionImp.java:66) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:206) at com.atomikos.icatch.jta.TransactionManagerImp.commit(TransactionManagerImp.java:436) at com.atomikos.icatch.jta.UserTransactionImp.commit(UserTransactionImp.java:107) at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1011) ... 4 more Caused by: com.atomikos.icatch.RollbackException: Prepare: NO vote at com.atomikos.icatch.imp.ActiveStateHandler.prepare(ActiveStateHandler.java:225) at com.atomikos.icatch.imp.CoordinatorImp.prepare(CoordinatorImp.java:664) at com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:944) at com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:82) at com.atomikos.icatch.imp.CompositeTransactionImp.commit(CompositeTransactionImp.java:336) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:190) ... 7 more {code}

    JIRA | 3 years ago | Yannick Marcon
    org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Prepare: NO vote
  2. 0

    * import Drugs data from Health Canada * export Drugs table to a xml: fails {code} Exception in thread "Thread-59" Exception in thread "Thread-61" Exception in thread "Thread-58" Exception in thread "Thread-60" org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Prepare: NO vote at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1014) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:148) at org.obiba.opal.core.tx.TransactionalThreadFactory$TransactionalThread.run(TransactionalThreadFactory.java:47) Caused by: javax.transaction.RollbackException: Prepare: NO vote at com.atomikos.icatch.jta.TransactionImp.rethrowAsJtaRollbackException(TransactionImp.java:66) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:206) at com.atomikos.icatch.jta.TransactionManagerImp.commit(TransactionManagerImp.java:436) at com.atomikos.icatch.jta.UserTransactionImp.commit(UserTransactionImp.java:107) at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1011) ... 4 more Caused by: com.atomikos.icatch.RollbackException: Prepare: NO vote at com.atomikos.icatch.imp.ActiveStateHandler.prepare(ActiveStateHandler.java:225) at com.atomikos.icatch.imp.CoordinatorImp.prepare(CoordinatorImp.java:664) at com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:944) at com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:82) at com.atomikos.icatch.imp.CompositeTransactionImp.commit(CompositeTransactionImp.java:336) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:190) ... 7 more java.lang.RuntimeException: org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Prepare: NO vote at org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToDatasource(DefaultExportServiceImpl.java:138) at org.obiba.opal.shell.commands.CopyCommand.execute(CopyCommand.java:89) at org.obiba.opal.shell.CommandJob.run(CommandJob.java:123) at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Prepare: NO vote at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1014) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:148) at org.obiba.opal.core.magma.concurrent.LockingActionTemplate.doInTransaction(LockingActionTemplate.java:42) at org.obiba.opal.core.magma.concurrent.LockingActionTemplate.execute(LockingActionTemplate.java:31) at org.obiba.opal.core.service.impl.DefaultExportServiceImpl.exportTablesToDatasource(DefaultExportServiceImpl.java:130) ... 10 more Caused by: javax.transaction.RollbackException: Prepare: NO vote at com.atomikos.icatch.jta.TransactionImp.rethrowAsJtaRollbackException(TransactionImp.java:66) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:206) at com.atomikos.icatch.jta.TransactionManagerImp.commit(TransactionManagerImp.java:436) at com.atomikos.icatch.jta.UserTransactionImp.commit(UserTransactionImp.java:107) at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1011) ... 16 more Caused by: com.atomikos.icatch.RollbackException: Prepare: NO vote at com.atomikos.icatch.imp.ActiveStateHandler.prepare(ActiveStateHandler.java:225) at com.atomikos.icatch.imp.CoordinatorImp.prepare(CoordinatorImp.java:664) at com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:944) at com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:82) at com.atomikos.icatch.imp.CompositeTransactionImp.commit(CompositeTransactionImp.java:336) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:190) ... 19 more org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Prepare: NO vote at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1014) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:148) at org.obiba.opal.core.tx.TransactionalThreadFactory$TransactionalThread.run(TransactionalThreadFactory.java:47) Caused by: javax.transaction.RollbackException: Prepare: NO vote at com.atomikos.icatch.jta.TransactionImp.rethrowAsJtaRollbackException(TransactionImp.java:66) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:206) at com.atomikos.icatch.jta.TransactionManagerImp.commit(TransactionManagerImp.java:436) at com.atomikos.icatch.jta.UserTransactionImp.commit(UserTransactionImp.java:107) at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1011) ... 4 more Caused by: com.atomikos.icatch.RollbackException: Prepare: NO vote at com.atomikos.icatch.imp.ActiveStateHandler.prepare(ActiveStateHandler.java:225) at com.atomikos.icatch.imp.CoordinatorImp.prepare(CoordinatorImp.java:664) at com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:944) at com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:82) at com.atomikos.icatch.imp.CompositeTransactionImp.commit(CompositeTransactionImp.java:336) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:190) ... 7 more org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Prepare: NO vote at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1014) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:148) at org.obiba.opal.core.tx.TransactionalThreadFactory$TransactionalThread.run(TransactionalThreadFactory.java:47) Caused by: javax.transaction.RollbackException: Prepare: NO vote at com.atomikos.icatch.jta.TransactionImp.rethrowAsJtaRollbackException(TransactionImp.java:66) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:206) at com.atomikos.icatch.jta.TransactionManagerImp.commit(TransactionManagerImp.java:436) at com.atomikos.icatch.jta.UserTransactionImp.commit(UserTransactionImp.java:107) at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1011) ... 4 more Caused by: com.atomikos.icatch.RollbackException: Prepare: NO vote at com.atomikos.icatch.imp.ActiveStateHandler.prepare(ActiveStateHandler.java:225) at com.atomikos.icatch.imp.CoordinatorImp.prepare(CoordinatorImp.java:664) at com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:944) at com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:82) at com.atomikos.icatch.imp.CompositeTransactionImp.commit(CompositeTransactionImp.java:336) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:190) ... 7 more org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Prepare: NO vote at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1014) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:148) at org.obiba.opal.core.tx.TransactionalThreadFactory$TransactionalThread.run(TransactionalThreadFactory.java:47) Caused by: javax.transaction.RollbackException: Prepare: NO vote at com.atomikos.icatch.jta.TransactionImp.rethrowAsJtaRollbackException(TransactionImp.java:66) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:206) at com.atomikos.icatch.jta.TransactionManagerImp.commit(TransactionManagerImp.java:436) at com.atomikos.icatch.jta.UserTransactionImp.commit(UserTransactionImp.java:107) at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1011) ... 4 more Caused by: com.atomikos.icatch.RollbackException: Prepare: NO vote at com.atomikos.icatch.imp.ActiveStateHandler.prepare(ActiveStateHandler.java:225) at com.atomikos.icatch.imp.CoordinatorImp.prepare(CoordinatorImp.java:664) at com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:944) at com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:82) at com.atomikos.icatch.imp.CompositeTransactionImp.commit(CompositeTransactionImp.java:336) at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:190) ... 7 more {code}

    JIRA | 3 years ago | Yannick Marcon
    org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Prepare: NO vote
  3. 0

    使用atomikos在spring3、jpa2/hibernate4中实现JTA - 曾文锋开发日志 - ITeye技术网站

    iteye.com | 10 months ago
    org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Transaction set to rollback only
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Transaction boundaries on Spring Integration with ActiveMQ and an a channel backed with an Message Store

    Stack Overflow | 2 years ago | Damián
    org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: Prepare: NO vote
  6. 0

    Atomikos Forum - MQ 7.5: receiving a message times out

    atomikos.com | 10 months ago
    javax.transaction.RollbackException: Prepare: NO vote

    1 unregistered visitors

    Root Cause Analysis

    1. com.atomikos.icatch.RollbackException

      Prepare: NO vote

      at com.atomikos.icatch.imp.ActiveStateHandler.prepare()
    2. Transactions Core
      CompositeTransactionImp.commit
      1. com.atomikos.icatch.imp.ActiveStateHandler.prepare(ActiveStateHandler.java:225)
      2. com.atomikos.icatch.imp.CoordinatorImp.prepare(CoordinatorImp.java:664)
      3. com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:944)
      4. com.atomikos.icatch.imp.CompositeTerminatorImp.commit(CompositeTerminatorImp.java:82)
      5. com.atomikos.icatch.imp.CompositeTransactionImp.commit(CompositeTransactionImp.java:336)
      5 frames
    3. Transactions JTA
      UserTransactionImp.commit
      1. com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:190)
      2. com.atomikos.icatch.jta.TransactionManagerImp.commit(TransactionManagerImp.java:436)
      3. com.atomikos.icatch.jta.UserTransactionImp.commit(UserTransactionImp.java:107)
      3 frames
    4. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1011)
      2. org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755)
      3. org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)
      4. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:148)
      4 frames
    5. org.obiba.opal
      TransactionalThreadFactory$TransactionalThread.run
      1. org.obiba.opal.core.tx.TransactionalThreadFactory$TransactionalThread.run(TransactionalThreadFactory.java:47)
      1 frame