Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Java (Java Agent, Installation, JVM, and Controller Installation)

APP not working after set AppD javaagent in jvm.options


APP not working after set AppD javaagent in jvm.options

Hi Support,


I installed new javaagent 4.4 in a liberty which app is working before the AppD javaagent setup. after I set the jvm.options, it will get below error then App will be not working any more. Liberty has -javaagent:/opt/IBM/wlp/bin/tools/ws-javaagent.jar by default, will the AppD javagent agent javaagent:/sysu/appdynamics_agent/javaagent.jar be conflict? I tried to remove javaagent:/sysu/appdynamics_agent/javaagent.jar  then App is fine. Any advise?


[9/20/18 9:45:09:401 GMT] 0000002c E CWWKE0701E: BundleComponentActivator : Bundle [137] Unexpected failure enabling component holder java.lang.NoClassDefFoundError:
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(
at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(
at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(


Caused by: java.lang.ClassNotFoundException: cannot be found by
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
... 60 more


By replying you agree to the Terms and Conditions of the AppDynamics Community.
APP not working after set AppD javaagent in jvm.options

You will need to set the org.osgi.framework.bootdelegation property, as described here.

The liberty documentation discusses how to do that here.


Warm regards,






Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Thx v much Peter, it is working