<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Java Agent jar not getting initialized with jdk17 docker container in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-jar-not-getting-initialized-with-jdk17-docker/m-p/725938#M4992</link>
    <description>&lt;DIV&gt;I'm already using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;appdynamics/java-agent:latest&amp;nbsp;&lt;/STRONG&gt;docker image to push all our application logs to the appdynamics.&lt;/DIV&gt;&lt;DIV&gt;Our applications are running in kubernetes clusters and all the apps are in java 1.8 version.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now we are trying to migrate all our apps running in kubernetes to use java17.&lt;/DIV&gt;&lt;DIV&gt;So when we deploy we few errors related to appd java agent jar getting initialized and the logs are not getting pushed to appd.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Error logs we see..&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Class with name [com.ibm.lang.management.internal.ExtendedOperatingSystemMXBeanImpl] is not available in classpath, so will ignore export access.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;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&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;java.lang.IllegalStateException: Error invoking (accessor)::defineClass&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$UsingUnsafeInjection.defineClass(ClassInjector.java:1002)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection.injectRaw(ClassInjector.java:254)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;at io.opentelemetry.javaagent.tooling.HelperInjector.injectClassLoader(HelperInjector.java:247)&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;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&lt;BR /&gt;java.lang.IllegalStateException: Error invoking (accessor)::defineClass&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;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&lt;BR /&gt;java.lang.IllegalStateException: Error invoking (accessor)::defineClass&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We see these errors only with jdk17 docker container. previous are current production containers with jdk1.8 is working fine.&lt;/DIV&gt;&lt;DIV&gt;Please help me on this.&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Mon, 10 Jul 2023 16:33:15 GMT</pubDate>
    <dc:creator>Alosiyus_Joseph</dc:creator>
    <dc:date>2023-07-10T16:33:15Z</dc:date>
    <item>
      <title>Java Agent jar not getting initialized with jdk17 docker container</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-jar-not-getting-initialized-with-jdk17-docker/m-p/725938#M4992</link>
      <description>&lt;DIV&gt;I'm already using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;appdynamics/java-agent:latest&amp;nbsp;&lt;/STRONG&gt;docker image to push all our application logs to the appdynamics.&lt;/DIV&gt;&lt;DIV&gt;Our applications are running in kubernetes clusters and all the apps are in java 1.8 version.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now we are trying to migrate all our apps running in kubernetes to use java17.&lt;/DIV&gt;&lt;DIV&gt;So when we deploy we few errors related to appd java agent jar getting initialized and the logs are not getting pushed to appd.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Error logs we see..&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Class with name [com.ibm.lang.management.internal.ExtendedOperatingSystemMXBeanImpl] is not available in classpath, so will ignore export access.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;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&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;java.lang.IllegalStateException: Error invoking (accessor)::defineClass&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$UsingUnsafeInjection.defineClass(ClassInjector.java:1002)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection.injectRaw(ClassInjector.java:254)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;at io.opentelemetry.javaagent.tooling.HelperInjector.injectClassLoader(HelperInjector.java:247)&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;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&lt;BR /&gt;java.lang.IllegalStateException: Error invoking (accessor)::defineClass&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;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&lt;BR /&gt;java.lang.IllegalStateException: Error invoking (accessor)::defineClass&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We see these errors only with jdk17 docker container. previous are current production containers with jdk1.8 is working fine.&lt;/DIV&gt;&lt;DIV&gt;Please help me on this.&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 10 Jul 2023 16:33:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-jar-not-getting-initialized-with-jdk17-docker/m-p/725938#M4992</guid>
      <dc:creator>Alosiyus_Joseph</dc:creator>
      <dc:date>2023-07-10T16:33:15Z</dc:date>
    </item>
  </channel>
</rss>

