I am using Hibernate and Atomikos for JTA for one of my proof of concepts. I am getting a JTA transaction unexpectedly rollback exception, maybe due to a timeout. The exception is:
javax.transaction.RollbackException: Prepare: NO vote
This error occurs if a transaction is requested to commit but has already been rolled back due to a timeout. So your assumption is totally right. The solution is to increase the transaction timeout.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With