File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!