I'm trying to run clustered TreeCaches outside JBoss. And my intention to use TreeCache is to replicate some data synchronously, which requires transaction manager(s). I'd like to use a 3rd party transaction manager.
So my question is: do I need to use a "clustered" transaction manager for this goal? or can I use an transtaction manager per a TreeCache independently? It seems to me that it's safe to use a stand-alone transaction manager per a TreeCache if TreeCache implemented 2 phase commit internally over JGroups. Am I wrong?
Thanks in advance,
Jay
You are right: 2PC is currently implemented over JGroups, so any (even non-XA) TxManager will do.
We plan to turn JBossCache into an XAResource (2.x), so in the future you will need XA-capable TXManagers that support recover().