In my application, When the database is stressed I am getting the following error. I believe the txn is getting time out.
Caused by: javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: 7f000101:9fd1:4a23167a:263 status: ActionStatus.ABORTED >
I am looking into why DB is stressed and figuring that problem out.
But the real issue is, once I get this error in the thread, that thread continues to give this error for its life.
I am using Jboss 4.2.2 which should work properly for this case.
What am I doing wrong? How do I get my thread out of this state?
Call UserTransaction.commit or .rollback, which you should be doing in a finally block anyhow. Unless it's CMT, in which case this is a container bug.