Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Two-Phase commit using CMT on JBoss and Oracle XE  RSS feed

 
Oliver Chua
Greenhorn
Posts: 29
  • 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
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!