I am using Jboss 4.2.1 and trying out Distributed Tx with Arjuna.
I have 2 XADataSources defined and being used to write to 2 distinct (Oracle 10G ) databases by Spring DAO beans.
The database operations go well, but I see them commited in database only after like 15 minutes !
Is that expected behavior ? Can I control it somehow ?
Not enough information to help. Check out the JBossTS code, check the wiki and check the labs pages. You'll find examples of distributed transactions using JTS. You'll also see that none of them take 15 minutes to run through the commit protocol!