We are using the Java APM agent v1.1.0 for monitoring a webapp in Wildfly 9.0.2.FINAL running on OpenJDK 8.
Everything works fine, until the the apm-agent-api is thrown into the mix. Whenever we access the ElasticApm class, it throws a ClassNotFoundException.
I've created a tiny HelloWorld example for reproducing the exception on github.
The Agent api is correctly included in the application war. However the api classes are simply not loaded.
Things I've tried:
- Adding JBOSS_MODULES_SYSTEM_PKGS="co.elastic.apm"
- Deploying the apm-agent-api as a global-module
- Deploying the example to newest Wildfly 14.0.2.FINAL
Until this is solved I suggest adding a note to Wildfly in Supported technologies.