The moose likes EJB and other Java EE Technologies and the fly likes EJB transaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB transaction" Watch "EJB transaction" New topic

EJB transaction

Adam Tao

Joined: Jun 03, 2002
Posts: 24
Hi all,
In an application , I need to update 2 datebases (DB2 on OS390 and UDB on AIX) at same transaction.
Actually I have already used 2 JDBC transactions to handle transaction management for 2 databases.
I need to put these 2 transactions in another one transaction. I have tried to use Session EJB CMT and BMT to manage this big transaction using VAJ 4. The error message is as follow:
Exception is:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
Exception is:
javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0 No; nested exception is:
I think it may be DB2 driver problem. Please advice.

Adam <br /> <br />Sun Certified Enterprise Architect for J2EE<br />IBM Certified for e-business - Solution Designer<br />IBM Certified Advanced System Administrator - WebSphere Application Server V5.0<br />IBM Certified Solution Developer - XML and Related Technologies
Adam Tao

Joined: Jun 03, 2002
Posts: 24
Hi all,
Another thing is:
I know J2ee does not support nested transaction. I use 2 JDBC transactions In the JTA transaction.
Could you tell me VAJ and WAS support this situaction or not?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: EJB transaction
Similar Threads
EJB Transaction Questions
EJB Transaction Rollback with JBDC
What happend CMT inside BMT ?? (see)
Transaction question
Db2 driver and Distributed transaction