Splunk AppDynamics

Java Agent jar not getting initialized with jdk17 docker container

Alosiyus_Joseph
Engager
I'm already using appdynamics/java-agent:latest docker image to push all our application logs to the appdynamics.
Our applications are running in kubernetes clusters and all the apps are in java 1.8 version.
 
Now we are trying to migrate all our apps running in kubernetes to use java17.
So when we deploy we few errors related to appd java agent jar getting initialized and the logs are not getting pushed to appd.
 
Error logs we see..
Class with name [com.ibm.lang.management.internal.ExtendedOperatingSystemMXBeanImpl] is not available in classpath, so will ignore export access.
2023-07-05 23:49:32.685-04:00 ERROR i.o.javaagent.tooling.HelperInjector - Error preparing helpers while processing interface javax.servlet.Servlet for servlet. Failed to inject helper classes into instance com.singularity.ee.agent.appagent.kernel.classloader.Post19AgentClassLoader@10947c4e
java.lang.IllegalStateException: Error invoking (accessor)::defineClass
at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$UsingUnsafeInjection.defineClass(ClassInjector.java:1002)
at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection.injectRaw(ClassInjector.java:254)
at io.opentelemetry.javaagent.tooling.HelperInjector.injectClassLoader(HelperInjector.java:247)
 
 
 
ERROR i.o.javaagent.tooling.HelperInjector - Error preparing helpers while processing class org.apache.http.impl.client.CloseableHttpClient for apache-httpclient. Failed to inject helper classes into instance com.singularity.ee.agent.appagent.kernel.classloader.Post19AgentClassLoader@10947c4e
java.lang.IllegalStateException: Error invoking (accessor)::defineClass
 
 
ERROR i.o.javaagent.tooling.HelperInjector - Error preparing helpers while processing interface org.apache.http.client.HttpClient for apache-httpclient. Failed to inject helper classes into instance com.singularity.ee.agent.appagent.kernel.classloader.Post19AgentClassLoader@10947c4e
java.lang.IllegalStateException: Error invoking (accessor)::defineClass
 
We see these errors only with jdk17 docker container. previous are current production containers with jdk1.8 is working fine.
Please help me on this.
Thanks in advance.
 
Labels (1)
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...