CF21 FastMethodInterceptorDelegatorBoot class broken by AppDynamics (ClassNotFoundException)
We have found that when an AppDynamics agent is running in the JVM our scheduled taks fail to run
error something like this:
[ERROR] runwar.context: java.lang.NoClassDefFoundError: com/singularity/ee/agent/appagent/entrypoint/bciengine/FastMethodInterceptorDelegatorBoot
[ERROR] runwar.context: at coldfusion.cache.ehcache.GenericEhcache$CacheCleanUpAgent.run(GenericEhcache.java)
[ERROR] runwar.context: at coldfusion.scheduling.Scheduler.run(Scheduler.java:245)
[ERROR] runwar.context: at java.base/java.lang.Thread.run(Thread.java:829)
[ERROR] runwar.context: Caused by: java.lang.ClassNotFoundException: com.singularity.ee.agent.appagent.entrypoint.bciengine.FastMethodInterceptorDelegatorBoot not found by scheduler [19]
It seems others (including Atlassian and Oracle) have encountered similar when implementing AppDynamics apm, and the accepted solution seems to be a variation of adding "org.osgi.framework.bootdelegation=com.singularity.*" to either JVM or properties files depending on your stack.
Cannot find an equivalent 'place' to add something like this to CF and was wondering if anyone has encountered this and found a solution in CF. Note that CF2016 played nicely with AppDynamics, so this has manifested only after an upgrade to CF2021 and therefore Java 11 and a later version of AppDynamics.
