jQuery in Action, 2nd edition*
The moose likes EJB and other Java EE Technologies and the fly likes Two-Phase commit using CMT on JBoss and Oracle XE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Two-Phase commit using CMT on JBoss and Oracle XE" Watch "Two-Phase commit using CMT on JBoss and Oracle XE" New topic
Author

Two-Phase commit using CMT on JBoss and Oracle XE

Oliver Chua
Greenhorn

Joined: Feb 27, 2004
Posts: 29
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

Joined: Feb 27, 2004
Posts: 29
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
 
subject: Two-Phase commit using CMT on JBoss and Oracle XE