In the current JCA implemetation the getXAResource is being called on the MC even if there is no tx context, it seems to be breaking the TCK for HornetQ RA, check this
The JCA specs explains that the getXAResource not to be called outside the tx context!
IMO we should have this fixed, I wanted to know more views before I could raise a JIRA.
Looks like an issue - as calling getXAResource() with NoTransaction should throw an ResourceException -- see 7.3.1.
See also figure 6-5.
I'll follow up on this once I return from my trip.