Atomikos Forum

com.atomikos.icatch.RollbackException: Prepare: NO vote

I am using Atomikos JTA transactions to update multiple tables in Oracle and Informix. I am getting the following exception :

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:1024)
    at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:757)
    at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:726)
    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:150)

Caused by: com.atomikos.icatch.RollbackException: Prepare: NO vote
    at com.atomikos.icatch.imp.ActiveStateHandler.prepare(ActiveStateHandler.java:202)
    at com.atomikos.icatch.imp.CoordinatorImp.prepare(CoordinatorImp.java:523)
    at com.atomikos.icatch.imp.CoordinatorImp.terminate(CoordinatorImp.java:687)
    at com.atomikos.icatch.imp.CompositeTransactionImp.commit(CompositeTransactionImp.java:282)
    at com.atomikos.icatch.jta.TransactionImp.commit(TransactionImp.java:172)



Does anyone faced this issue and resolved it ? Any help is appreciated.

Radhika
RadhikaGopinath Send private email
Thursday, August 04, 2016
 
 
Hi,

This happens if the transaction times out and is marked for rollback.

Try increasing the timeout, or alternatively try to make the Oracle access faster.

Guy
Guy Pardon Send private email
Friday, November 11, 2016
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics