i use jboss 4.05 and DB2 on AS/400
we often get this message
[TxConnectionManager] Prepare called on a local tx. Use of local transactions on a jta transaction with more than one branch may result in inconsistent data in some cases of failure.
Always check out the wiki.