File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes CORBA.TRANSACTION_ROLLEDBACK  in Websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "CORBA.TRANSACTION_ROLLEDBACK  in Websphere" Watch "CORBA.TRANSACTION_ROLLEDBACK  in Websphere" New topic


Kamal Kishore

Joined: Sep 13, 2001
Posts: 4
Hi All,
The scenerio here is
JSP - Session Bean - Entity Bean - Oracle database
Application Server - Websphere
I am getting CORBA.TRANSACTION_ROLLEDBACK exception when the CMP entity bean is interacting with database.
This exception is being thrown whenever there is an error in database side while inserting or updating the data through Entity Beans.
My question is how to trap the specific database error in EJB client wherein I am always getting TRANSACTION_ROLLEDBACK exception which doesn't specify the exact error.
Thanks in advance for reply.
Caroline Iux
Ranch Hand

Joined: May 14, 2001
Posts: 103
My suggestion would be in your server-side code, catch SQLException and throw an application exception with the original exception details and probably theh SQL statement as well. That will at least give you a clue where to start and what might go wrong.
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
TRANSACTION_ROLLBACK is the most general WebSphere EJB exception. The other exception is actually wrapped within it. You can look in the stdout log file and it will include all of the SQL exception information you need.
Kyle Brown
Kyle Brown,
Editor of Enterprise Java (tm) Programming with IBM Websphere

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
I agree. Here's the link:
It's not a secret anymore!