Does JBoss perform a 2 phase commit if a JMS send and a database write occurs in the same transaction ?
Where and how does it log the transaction ?
The reason I ask is I do not seem to see any file used for transaction logging or any I/O activity for transaction logs so I'm not sure if a 2 phase commit is done.
All versions of jboss call prepare on all xa resources, then commit (if appropriate). However only jboss 4 logs the prepared xids, so there is no recovery possible for any version of jboss before 4. The transaction logging in jboss 4 is barely tested.