We are experimenting with using JTA and Tomcat 7, and with the Bitronix v2.1.4 implementation in particular. We were originally using an Oracle UCP connection pool, but then we needed to split our database into two schemas.
Bitronix is working fine with the basic OracleXADataSource, configured as documented on the website. So that's good :-). However, the "killer feature" of UCP is the Connection Failover functionality. I have therefore needed to configure Bitronix to use UCP instead. The function in my TestNG class that creates the XA DataSource is now:
And this *seems* to work! But I'm new to Bitronix and might have missed something... For example, I must now have *two* connection pools to configure correctly. Or will one pool's configuration override the other?