classnotfound

ClassNotFoundException when using OSGI bootdelegation

Question

When you use an JavaAgent (like AppDyn, PlumbR, ...) it is necessary to modify the org.osgi.framework.bootdelegation config to prevent ClassNotFoundException.

But in Jahia 8, it is not enough to change the bootdelegation in digital-factory-data\karaf\etc\config.properties to prevent this exceptions.

Answer

In Jahia 8, you have a second org.osgi.framework.bootdelegation config in digital-factory-data\karaf\etc\custom.properties

So, you have to modify this bootdelegation path too.