We are deploying app to WildFly 8.0.0.Final. The app used to run on Jboss EAP 6.0/AS7.1 fine with Seam3 managing JTA transaction.
However, since Seam3 does not work with WildFly, we are replacing it with DeltaSpike. We deployed the core and jpa module. However, it does not seem it works with mysql XA datasource well, even we tried hard to follow the instruction on their website and added apache-deltaspike.properties file to enable JTA support. When there are more than one datasource is involved, we see transaction errors. By turning on trace level logging for org.jboss.jca, we see warnings such as cannot list another datasource form current one and the jdbc driver failed.
The other problem we saw is that the @Transactional requires a presence of EntityManager. But sometimes, we have to look up an entitymanager at runtime instead of injecting one. In this case, we would get NullPointerException. We would have to inject an entitymanager even we do not need it just to make @Transactional not throw NPE.