<?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 doesn't start in Docker container in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-doesn-t-start-in-Docker-container/m-p/720797#M2220</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a docker image using:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;OpenJDK&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;glassfish 5.1&lt;/LI&gt;&lt;LI&gt;etc.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;and installed the java appagent t inside the container where glassfish is running.&amp;nbsp;&lt;/P&gt;&lt;P&gt;and configured the glassfish:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;to use the JVM parameter -javaagent:&lt;/SPAN&gt;&lt;SPAN&gt;/opt/appdynamics/appagent/javaagent&lt;/SPAN&gt;&lt;SPAN&gt;.jar.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;modified&amp;nbsp;&lt;SPAN&gt;osgi.properties for glassfish&amp;nbsp;&lt;/SPAN&gt;to use com.singularity.*&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;the agent &lt;/SPAN&gt;&lt;SPAN&gt;/opt/appdynamics/appagent/javaagent&lt;/SPAN&gt;&lt;SPAN&gt;.jar is unzipped inside the container where glassfish is running&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The controller doesn't receive any events not does there are any log files generated where the agent is located. We are using appdynamics on-premise successfully with the above configuration without any dockerization.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without logs, it is pretty difficult to trouble shoot the issue. Any advise would be apprecited.&lt;/P&gt;</description>
    <pubDate>Thu, 07 May 2020 00:57:28 GMT</pubDate>
    <dc:creator>Nauman_Aftab</dc:creator>
    <dc:date>2020-05-07T00:57:28Z</dc:date>
    <item>
      <title>Java Agent doesn't start in Docker container</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-doesn-t-start-in-Docker-container/m-p/720797#M2220</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a docker image using:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;OpenJDK&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;glassfish 5.1&lt;/LI&gt;&lt;LI&gt;etc.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;and installed the java appagent t inside the container where glassfish is running.&amp;nbsp;&lt;/P&gt;&lt;P&gt;and configured the glassfish:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;to use the JVM parameter -javaagent:&lt;/SPAN&gt;&lt;SPAN&gt;/opt/appdynamics/appagent/javaagent&lt;/SPAN&gt;&lt;SPAN&gt;.jar.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;modified&amp;nbsp;&lt;SPAN&gt;osgi.properties for glassfish&amp;nbsp;&lt;/SPAN&gt;to use com.singularity.*&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;the agent &lt;/SPAN&gt;&lt;SPAN&gt;/opt/appdynamics/appagent/javaagent&lt;/SPAN&gt;&lt;SPAN&gt;.jar is unzipped inside the container where glassfish is running&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The controller doesn't receive any events not does there are any log files generated where the agent is located. We are using appdynamics on-premise successfully with the above configuration without any dockerization.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without logs, it is pretty difficult to trouble shoot the issue. Any advise would be apprecited.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 00:57:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-doesn-t-start-in-Docker-container/m-p/720797#M2220</guid>
      <dc:creator>Nauman_Aftab</dc:creator>
      <dc:date>2020-05-07T00:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Java Agent doesn't start in Docker container</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-doesn-t-start-in-Docker-container/m-p/720798#M2221</link>
      <description>&lt;P&gt;Do you have any output at all from the glassfish startup?&lt;/P&gt;&lt;P&gt;When you say "&lt;SPAN&gt;the agent&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;/opt/appdynamics/appagent/javaagent&lt;/SPAN&gt;&lt;SPAN&gt;.jar is unzipped inside the container where glassfish is running" do you mean that the only file in the container is javaagent.jar?&amp;nbsp; If so, that is the root cause of your issue.&amp;nbsp; You need the entire agent directory structure as contained in the agent zip for the agent to function.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 08:52:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-doesn-t-start-in-Docker-container/m-p/720798#M2221</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2020-05-07T08:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Java Agent doesn't start in Docker container</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-doesn-t-start-in-Docker-container/m-p/720799#M2222</link>
      <description>&lt;P&gt;It is the complete directory structure. The agent is unzipped in a particular folder i.e.&lt;SPAN&gt;/opt/appdynamics/appagent/javaagent&lt;/SPAN&gt;&lt;SPAN&gt;.jar&lt;/SPAN&gt;. The glassfish logs are showing nothing related to the failure/success. We are successfully running the same configuration in our prod env for sometime, it just fails with docker setup.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 09:44:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-doesn-t-start-in-Docker-container/m-p/720799#M2222</guid>
      <dc:creator>Nauman_Aftab</dc:creator>
      <dc:date>2020-05-07T09:44:50Z</dc:date>
    </item>
  </channel>
</rss>

