Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Distributed Transaction

 
Adam Tao
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have 3 db2 databases, 1 on OS 390, 1 on AIX, 1 on Windows.
I have tried to use session EJB CMT to manage distributed tranaction. No problem to update UDB on AIX and UDB on Windows in a transaction.
IN VAJ4 datasource configuration, I use JTA database type. No problem to update Db2 on OS 390 when using Standalone JAva Application,
But when I use session EJB CMT to update db2 on OS 390, I get an exception as follow:
Exception is:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
InvalidBeanOStateException(current = DESTROYED, expected = )
What is the problem ? Db2 driver problem?
Which Db2 driver should I use? Please advice.
Thanks
Adam
 
Adam Tao
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In WAS4, We can configue DataSource implement class using 2 phase commit protocal, in VAJ4, we can just choose database type as JTA, I am wondering they are same or not.
Please advice.
Thanks
Adam
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic