File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB transaction" Watch "EJB transaction" New topic
Author

EJB transaction

Adam Tao
Greenhorn

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:
CMT
Exception is:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.NoSuchObjectException:
BMT
Exception is:
javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0 No; nested exception is:
org.omg.CORBA.TRANSACTION_ROLLEDBACK:
I think it may be DB2 driver problem. Please advice.
Thanks.
Adam


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
Greenhorn

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?
Thanks
Adam
 
Don't get me started about those stupid light bulbs.
 
subject: EJB transaction