Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB transaction

 
Adam Tao
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 Tao
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic