This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes transaction rollback exception... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "transaction rollback exception..." Watch "transaction rollback exception..." New topic

transaction rollback exception...

Eddie Wong

Joined: Mar 07, 2002
Posts: 1
Hi all,
I am using Weblogic 6.0 and when my container-managed transaction timed out, it's not being rolled back and I am getting the following error:
"Error marking transaction for rollback: java.lang.IllegalStateException: Cannot mark the transaction for rollback. xid=... status = Rolled back. [Reason= weblogic.transaction.internal.TimedOutException: Transaction timed out after 30seconds....."
Can anyone give me some ideas on why this happened? All the methods involved are set to 'Required' in their transaction attributes.
Thanks ...
ravi inguva
Ranch Hand

Joined: Feb 07, 2002
Posts: 34
the reason may be there is nothing to rollback in the current transaction
I agree. Here's the link:
subject: transaction rollback exception...
It's not a secret anymore!