Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
09-20-2018 02:57 AM
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
09-20-2018 07:52 AM
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
09-21-2018 03:57 AM
Thx v much Peter, it is working
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form