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
02-26-2024 08:09 PM
I need to post some custom metrics to AppDynamics for analytics purpose. So I am trying to create new Transaction from application source code using below code.
Transaction transaction = AppdynamicsAgent.getTransaction(getProcessorName().name(), null, EntryTypes.POJO, false)
However getting below while loading AppdynamicsAgenet class
Caused by: java.lang.ClassNotFoundException: com.appdynamics.apm.appagent.api.NoOpInvocationHandler
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 92 common frames omitted
Anyone know how to fix this?
02-29-2024 01:40 PM
I did some searching and I found this info, but I don't think it's related to your issue, but wanted to share just in case.
javaagent should be instrumented to the local Java application along with the java agent API. Since you didn't instrument the java process with the Java agent, you are getting that exception.
So, can you please try to instrument the java process with the javaagent along with the javaagent API and see how it goes?
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form