Splunk AppDynamics

APP not working after set AppD javaagent in jvm.options

David_Xin
New Member

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 LogService-137-com.ibm.ws.jaxrs.2.0.client E CWWKE0701E: BundleComponentActivator : Bundle [137] Unexpected failure enabling component holder com.ibm.ws.jaxrs20.client.component.JaxRsAppSecurity Bundle:com.ibm.ws.jaxrs.2.0.client(id=137) java.lang.NoClassDefFoundError: com.singularity.ee.agent.appagent.services.bciengine.templates.ICookie
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:346)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:273)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:632)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:586)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:538)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:525)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:345)
at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:407)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)

Caused by: java.lang.ClassNotFoundException: com.singularity.ee.agent.appagent.services.bciengine.templates.ICookie cannot be found by com.ibm.websphere.javaee.servlet.3.1_1.0.15.cl160420161113-0206
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(ClassLoader.java:805)
... 60 more

Labels (1)
0 Karma

Peter_Holditch
Builder

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,

Peter

David_Xin
New Member

Thx v much Peter, it is working

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...