OSGi bootdelegation problem giving rise to NoClassDefFoundError
Hi,
I am trying to run a Java Agent with ColdFusion 2021. In coldfusion error.log it prints NoClassDefFoundError and breaks some functionalities. This is usually due to OSGi infrastructure conflict which gets resolved via adding property org.osgi.framework.bootdelegation=agent.package.* in a osgi related config file or via -D option. But with -D option it's not working and there is no appropriate .properties file to give in this value or even a way to know if these are getting picked up or not. Any solution to this?
Exception in thread "DefaultQuartzScheduler_Worker-1" Exception in thread "DefaultQuartzScheduler_Worker-10" java.lang.NoClassDefFoundError: agent/package/InterceptorDelegatorBoott
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java)
.....
Caused by: java.lang.ClassNotFoundException: agent.package.InterceptorDelegatorBoot not found by org.quartz-scheduler.quartz [14]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1597)