WildFly - phax/phoss-smp GitHub Wiki
Building for WildFly 9/10
JBoss WildFly is the JBoss application server based on OSGI. phoss SMP is in general compatible with WildFly.
Known issues
Wildfly 10 with XML backend - StackOverflowError
For version phoss SMP version 5.0.0 and Wildfly 10 there is a problem when using the XML backend.
When the persistence.xml file is present in the war it fails to deploy (with a java.lang.StackOverflowError).
To resolve this issue, delete the file WEB-INF/lib/peppol-smp-server-sql-*.jar from the deployment and re-deploy.
Thanks to Thomas Nakken for pointing that out.
This issue was resolved in v5.0.1 so that separate WAR files for each backends are created.