You must adapt your configuration <ha-xa-datasource>.
See wiki http://community.jboss.org/wiki/JBossJCADatabaseFailover for a more detailed guiding.
Reply to this message by going to Community
Start a new discussion in Datasource Configuration at Community