Expand my Community achievements bar.

Enable monitoring on Adobe Experience Manager via javaagent

Avatar

Level 1
Hello, we are using Adobe Experience Manager, and I need to set up monitoring for it via javaagent (we have the special tool for java application monitoring called netdiagnostics).
Usually, for enabling monitoring I only need to pass parameters of netdiagnostics to the application via javaagent option.
But after passed javaagent option to the Adobe Experience Manager it doesn't start and I see the errors in the logs:
 

 

su[16168]: 14.01.2020 08:31:05.615 *INFO * [Apache Sling Terminator] Java VM is shutting down
su[16168]: 14.01.2020 08:31:05.615 *INFO * [Apache Sling Terminator] Stopping Apache Sling
su[16168]: MAIN process: shutdown hook
su[16168]: MAIN process: exiting
su[16168]: Exception in thread "UnregisteringFilterThread for ServiceUnavailableFilter with tags [systemalive]" java.lang.NoClassDefFoundError: com/cavisson/ndutils/ThreadCallOutHandler
su[16168]: at org.apache.felix.hc.core.impl.filter.ServiceUnavailableFilter$UnregisteringFilterThread.run(ServiceUnavailableFilter.java)
su[16168]: Caused by: java.lang.ClassNotFoundException: com.cavisson.ndutils.ThreadCallOutHandler not found by org.apache.felix.healthcheck.core [579]
su[16168]: at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1597)
su[16168]: at org.apache.felix.framework.BundleWiringImpl.access$300(BundleWiringImpl.java:79)
su[16168]: at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1982)
su[16168]: at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
su[16168]: ... 1 more
su[16168]: 14.01.2020 08:31:33.418 *INFO * [Sling Notifier] Apache Sling has been stopped​

 

I founded a similar issue, but with another agent:
https://discuss.elastic.co/t/apm-java-agent-startup-error-with-adobe-experience-manager/153451

As mentioned in that issue I trying to pass sling.bootdelegation parameter via the command line ("-Dsling.bootdelegation.class.com.cavisson=com.cavisson.* ") but without luck.

Can someone help me with this?

0 Replies