Hi
I'm having problems commiting transactions in my application.The first operation works at times but the subsequent operations fail.
In the log i'm getting errors like this..
437 2864109 ERROR [Thread-14] default - Unable to RollBack User Transaction
java.lang.IllegalStateException: The transaction is not yet or no longer active
at tyrex.tm.impl.TransactionManagerImpl.rollback(Unknown Source)
at tyrex.tm.impl.UserTransactionImpl.rollback(Unknown Source)
Can someone please help regarding this as to suggest what could be the cause of the problem and suggest solutions for this?
Regards
adk
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
tyrex.tm.impl.TransactionManagerImpl.rollback() method throws IllegalStateException when it is unable to find transaction object associated with the calling thread.
There are many scenarios how such situation might occur. For example it may occur if you have commenced transaction on one thread and trying to roll it back on some other thread. Or, another scenario, is that transaction has been suspended before trying to roll it back.
I would need more details, and snippets of code to help you further.
Kind regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I'm having problems commiting transactions in my application.The first operation works at times but the subsequent operations fail.
In the log i'm getting errors like this..
437 2864109 ERROR [Thread-14] default - Unable to RollBack User Transaction
java.lang.IllegalStateException: The transaction is not yet or no longer active
at tyrex.tm.impl.TransactionManagerImpl.rollback(Unknown Source)
at tyrex.tm.impl.UserTransactionImpl.rollback(Unknown Source)
Can someone please help regarding this as to suggest what could be the cause of the problem and suggest solutions for this?
Regards
adk
Hi there !
tyrex.tm.impl.TransactionManagerImpl.rollback() method throws IllegalStateException when it is unable to find transaction object associated with the calling thread.
There are many scenarios how such situation might occur. For example it may occur if you have commenced transaction on one thread and trying to roll it back on some other thread. Or, another scenario, is that transaction has been suspended before trying to roll it back.
I would need more details, and snippets of code to help you further.
Kind regards