Karthick
Karthick

Reputation: 123

AtomikosSQLException: Transaction is marked for rollback only or has timed out

I'm using Atomicko for transaction and Tomcat version 8.5 as a Application server. While executing the select query in Ibatis am getting AtomikosSQLException. Below is my exception Cause: com.atomikos.jdbc.AtomikosSQLException: Transaction is marked for rollback only or has timed out. How to resolve this issue either jta.property file or code level?

Upvotes: 1

Views: 1865

Answers (1)

Karthick
Karthick

Reputation: 123

I have resolved this issue using Atomiko 4 jars and increase the max time out in jta properies. Thank You

Upvotes: 1

Related Questions