When the app is started up with the APM hook in place, a random stack overflow error in the Wildfly app causing it to crash on startup.
Desired result
Startup without dx.agent.name being overwritten by the hostname.
Startup without the app crashing with a Stack Overflow error.
Including com.wily,com.wily.* in the jvm startup options "jboss.modules.system.pkgs" helped mitigate the random StackOverflowError within the app.