my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "transaction rollback exception..." Watch "transaction rollback exception..." New topic
Author

transaction rollback exception...

Eddie Wong
Greenhorn

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 ...
Ed.
ravi inguva
Ranch Hand

Joined: Feb 07, 2002
Posts: 34
the reason may be there is nothing to rollback in the current transaction
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: transaction rollback exception...
 
Similar Threads
WebSphere transaction timeout
Transaction timeout
Transaction rollback
Transaction getting timed out.
logging and EJB