• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Two-Phase commit using CMT on JBoss and Oracle XE

 
Oliver Chua
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I'm trying out two-phase commit using container managed transaction in Jboss and OracleXE.

It throws an exception when conn2 is retrieved.


Below are the files:

Stateless Bean


Bean interface


Test Class


persistence.xml


Datasource


Stack trace
 
Oliver Chua
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, confirmed that Oracle XE 10g does support XA.

http://farkasgabor.blogspot.com/2010/10/sun-glassfish-and-oracle-xe-distributed.html
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic