aspose file tools*
The moose likes Websphere and the fly likes Transaction Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Transaction Exception" Watch "Transaction Exception" New topic
Author

Transaction Exception

rodolfo martin
Greenhorn

Joined: Sep 23, 2004
Posts: 2
Sorry, I write the last question in Spanish.
This is the same but in English of course.

Hello all,
I have an application and when it is running it sends this error:
org.omg.CORBA.TRANSACTION_ROLLEDBACK: javax.transaction.TransactionRolledbackException: minor code: 0 completed: No

This error ocurrs when from an EJB called a database utilities JAR. I call it to make an update in the database. This process don�t get any error log or something like that but when it finished(more or less it update 2000 rows) the TransactionRolledbackException is printed. I haven�t any idea because I don�t use EJB for database(I can�t remember the name, maybe CMP or something like that, no?), all access to database are make with classes java.

My application runs on IBM WebSphere Application Server for Network Deployment, 5.0.2 with a Oracle 9i database and Suse Linux.

Thank you very much and sorry for the text in Spanish.
Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 353
TMF Transactions, you cant have as many transactions in one update as you like, there is a upper limmit, on the database !

The database stores the key off every record, soo how many transactions you can have in one transactions, depends on the key length, and the setup off the database...

Have you tryed with the same jdbc call, with less updates, 100 rows ???

Frank
 
jQuery in Action, 2nd edition
 
subject: Transaction Exception