SpyXAResource is eating the real exception
and throwing an XAException
Try using debug to find out what exception
is actually thrown.
Or turn on trace logging for org.jboss.mq
to see whether you can see problem.
It is probably a misconfiguration of the db
indeed it was a problem with the PM