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
08-30-2024 01:53 PM
Java version
openjdk 21-ea 2023-09-19
OpenJDK Runtime Environment (build 21-ea+23-1988)
OpenJDK 64-Bit Server VM (build 21-ea+23-1988, mixed mode, sharing)
Startup flags
java -Dappdynamics.jvm.shutdown.mark.node.as.historical=true -Dappdynamics.agent.log4j2.disabled=true -javaagent:/appdynamics/javaagent.jar
From what I understand this version of the agent should work with openjdk21 but please correct me if i'm wrong..
any suggestions on what I can do to get this to startup?
At startup I see below log. Which to me means the agent can't startup because of an incompatible java version
Class with name [com.ibm.lang.management.internal.ExtendedOperatingSystemMXBeanImpl] is not available in classpath, so will ignore export access.
java.lang.ClassNotFoundException: Unable to load class io.opentelemetry.sdk.autoconfigure.spi.ResourceProvider
at com.singularity.ee.agent.appagent.kernel.classloader.Post19AgentClassLoader.findClass(Post19AgentClassLoader.java:88)
at com.singularity.ee.agent.appagent.kernel.classloader.AgentClassLoader.loadClassInternal(AgentClassLoader.java:456)
at com.singularity.ee.agent.appagent.kernel.classloader.Post17AgentClassLoader.loadClassParentLast(Post17AgentClassLoader.java:81)
at com.singularity.ee.agent.appagent.kernel.classloader.AgentClassLoader.loadClass(AgentClassLoader.java:354)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:497)
at java.base/java.lang.Class.forName(Class.java:476)
at com.singularity.ee.agent.appagent.AgentEntryPoint.createJava9Module(AgentEntryPoint.java:800)
at com.singularity.ee.agent.appagent.AgentEntryPoint.premain(AgentEntryPoint.java:639)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:491)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:503)
[AD Agent init] Fri Aug 30 20:35:48 UTC 2024[DEBUG]: JavaAgent - Setting AgentClassLoader as Context ClassLoader
[AD Agent init] Fri Aug 30 20:35:48 UTC 2024[DEBUG]: JavaAgent - Setting AgentClassLoader as Context ClassLoader
java.lang.IllegalArgumentException: Unsupported class file major version 65
at com.appdynamics.appagent/com.singularity.asm.org.objectweb.asm.ClassReader.<init>(ClassReader.java:199)
at com.appdynamics.appagent/com.singularity.asm.org.objectweb.asm.ClassReader.<init>(ClassReader.java:180)
at com.appdynamics.appagent/com.singularity.asm.org.objectweb.asm.ClassReader.<init>(ClassReader.java:166)
at com.appdynamics.appagent/com.singularity.ee.agent.appagent.services.bciengine.asm.PreTransformer.preTransform(PreTransformer.java:49)
at com.appdynamics.appagent/com.singularity.ee.agent.appagent.kernel.JavaAgent.preloadAgentClassesForDeadlockProneJVM(JavaAgent.java:656)
at com.appdynamics.appagent/com.singularity.ee.agent.appagent.kernel.JavaAgent.initialize(JavaAgent.java:404)
at com.appdynamics.appagent/com.singularity.ee.agent.appagent.kernel.JavaAgent.initialize(JavaAgent.java:347)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.singularity.ee.agent.appagent.AgentEntryPoint$1.run(AgentEntryPoint.java:656)
09-03-2024 08:42 AM
Hi @James.Gardner,
I found this Docs page that shows Supported Environments: https://docs.appdynamics.com/appd/24.x/24.8/en/application-monitoring/app-server-agents-supported-en...
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.
09-03-2024 09:19 AM
Thanks Ryan, Yeah I've seen that page and from what I can see in that page is my appd should works with the version of java I'm using
09-03-2024 04:52 PM
Hi @James.Gardner,
Thanks for following up. I think it might be best to contact Support in this case.
AppDynamics is migrating our Support case handling system to Cisco Support Case Manager (SCM). Read ...
Note: The Community is currently on temporary lockdown while we deal with a spam attack. So you will not be able to reply or create any new content in the meantime.
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