<?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 JavaAgent start failed on Docker-Container in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/JavaAgent-start-failed-on-Docker-Container/m-p/735201#M9277</link>
    <description>&lt;P&gt;Hello together,&lt;/P&gt;

&lt;P&gt;I created a Docker container with the Java AppAgent (4.5.0.23604) inside. Also I uncomment the line "&amp;lt;appender-ref ref="AgentLogAppender"/&amp;gt;"&amp;nbsp;in the file log4j-unknown.xml and the line "&amp;lt;AppenderRef ref="Console"/&amp;gt;" in the file log4j2-unknown.xml.&lt;/P&gt;
&lt;P&gt;The container started in a kubernetes environment.&lt;/P&gt;

&lt;P&gt;Logoutput:&lt;/P&gt;
&lt;PRE&gt;Full Agent Registration Info Resolver using node name [unknown]&lt;BR /&gt;Install Directory resolved to[/opt/appdynamics]&lt;BR /&gt;ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver is running&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[INFO]: AgentInstallManager - Full Agent Registration Info Resolver found env variable [APPDYNAMICS_AGENT_APPLICATION_NAME] for application name [docker-poc]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[INFO]: AgentInstallManager - Full Agent Registration Info Resolver found env variable [APPDYNAMICS_AGENT_TIER_NAME] for tier name [meins-navigation]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [false]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [false]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using application name [docker-poc]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using tier name [meins-navigation]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using node name [unknown]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver finished running&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[INFO]: AgentInstallManager - Agent runtime directory set to [/opt/appdynamics/ver4.5.0.23604]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:52 CEST 2018[INFO]: AgentInstallManager - Agent node directory set to [unknown]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:52 CEST 2018[INFO]: JavaAgent - Using Java Agent Version [Server Agent #4.5.0.23604 v4.5.0 GA compatible with 4.4.1.0 r88b53d319a45abc58963be9d2d0824499a2c23dd release/4.5.0-release]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:52 CEST 2018[INFO]: JavaAgent - Running IBM Java Agent [No]&lt;BR /&gt;Could not start Java Agent because unable to determine Tier Name or Node Name&lt;BR /&gt;Agent Logging Directory [/opt/appdynamics/ver4.5.0.23604/logs/unknown]&lt;BR /&gt;2018-08-24 11:39:52,869 INFO Log4j appears to be running in a Servlet environment, but there's no log4j-web module available. If you want better web container support, please add the log4j-web JAR to your web archive or server lib directory.&lt;BR /&gt;2018-08-24 11:39:52,922 ERROR Cannot access RandomAccessFile {}) java.io.FileNotFoundException: /opt/appdynamics/ver4.5.0.23604/logs/unknown/agent.2018_08_24__11_39_52.log (No such file or directory)&lt;/PRE&gt;

&lt;P&gt;What am I doing wrong here?&lt;/P&gt;

&lt;P&gt;With kind regards&lt;/P&gt;
&lt;P&gt;Raphael&lt;/P&gt;</description>
    <pubDate>Fri, 24 Aug 2018 09:58:46 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2018-08-24T09:58:46Z</dc:date>
    <item>
      <title>JavaAgent start failed on Docker-Container</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/JavaAgent-start-failed-on-Docker-Container/m-p/735201#M9277</link>
      <description>&lt;P&gt;Hello together,&lt;/P&gt;

&lt;P&gt;I created a Docker container with the Java AppAgent (4.5.0.23604) inside. Also I uncomment the line "&amp;lt;appender-ref ref="AgentLogAppender"/&amp;gt;"&amp;nbsp;in the file log4j-unknown.xml and the line "&amp;lt;AppenderRef ref="Console"/&amp;gt;" in the file log4j2-unknown.xml.&lt;/P&gt;
&lt;P&gt;The container started in a kubernetes environment.&lt;/P&gt;

&lt;P&gt;Logoutput:&lt;/P&gt;
&lt;PRE&gt;Full Agent Registration Info Resolver using node name [unknown]&lt;BR /&gt;Install Directory resolved to[/opt/appdynamics]&lt;BR /&gt;ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver is running&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[INFO]: AgentInstallManager - Full Agent Registration Info Resolver found env variable [APPDYNAMICS_AGENT_APPLICATION_NAME] for application name [docker-poc]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[INFO]: AgentInstallManager - Full Agent Registration Info Resolver found env variable [APPDYNAMICS_AGENT_TIER_NAME] for tier name [meins-navigation]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [false]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [false]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using application name [docker-poc]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using tier name [meins-navigation]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using node name [unknown]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver finished running&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:51 CEST 2018[INFO]: AgentInstallManager - Agent runtime directory set to [/opt/appdynamics/ver4.5.0.23604]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:52 CEST 2018[INFO]: AgentInstallManager - Agent node directory set to [unknown]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:52 CEST 2018[INFO]: JavaAgent - Using Java Agent Version [Server Agent #4.5.0.23604 v4.5.0 GA compatible with 4.4.1.0 r88b53d319a45abc58963be9d2d0824499a2c23dd release/4.5.0-release]&lt;BR /&gt;[Thread-0] Fri Aug 24 11:39:52 CEST 2018[INFO]: JavaAgent - Running IBM Java Agent [No]&lt;BR /&gt;Could not start Java Agent because unable to determine Tier Name or Node Name&lt;BR /&gt;Agent Logging Directory [/opt/appdynamics/ver4.5.0.23604/logs/unknown]&lt;BR /&gt;2018-08-24 11:39:52,869 INFO Log4j appears to be running in a Servlet environment, but there's no log4j-web module available. If you want better web container support, please add the log4j-web JAR to your web archive or server lib directory.&lt;BR /&gt;2018-08-24 11:39:52,922 ERROR Cannot access RandomAccessFile {}) java.io.FileNotFoundException: /opt/appdynamics/ver4.5.0.23604/logs/unknown/agent.2018_08_24__11_39_52.log (No such file or directory)&lt;/PRE&gt;

&lt;P&gt;What am I doing wrong here?&lt;/P&gt;

&lt;P&gt;With kind regards&lt;/P&gt;
&lt;P&gt;Raphael&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 09:58:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/JavaAgent-start-failed-on-Docker-Container/m-p/735201#M9277</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-08-24T09:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: JavaAgent start failed on Docker-Container</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/JavaAgent-start-failed-on-Docker-Container/m-p/735202#M9278</link>
      <description>Hi Raphael, &lt;BR /&gt;Nodename seems to be missing in the above code. &lt;BR /&gt;-Dappdynamics.agent.nodeName=&amp;lt;node name&amp;gt; This property seems to be missing when starting the Java Agent. &lt;BR /&gt;Could you try adding this property and running the code again. May be this could help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Megha</description>
      <pubDate>Tue, 04 Sep 2018 08:22:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/JavaAgent-start-failed-on-Docker-Container/m-p/735202#M9278</guid>
      <dc:creator>Megha_Sharma</dc:creator>
      <dc:date>2018-09-04T08:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: JavaAgent start failed on Docker-Container</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/JavaAgent-start-failed-on-Docker-Container/m-p/735203#M9279</link>
      <description>&lt;P&gt;Hi Megha,&lt;/P&gt;&lt;P&gt;I am getting the same error in agent logs. can you please let me know where to pass this argument.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 08:57:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/JavaAgent-start-failed-on-Docker-Container/m-p/735203#M9279</guid>
      <dc:creator>swayam_pattana1</dc:creator>
      <dc:date>2023-09-06T08:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: JavaAgent start failed on Docker-Container</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/JavaAgent-start-failed-on-Docker-Container/m-p/735204#M9280</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/161155"&gt;@swayam.pattanayak&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Given how old this post is and it did not get a reply, you may want to contact AppD Support for more help at this time.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.appdynamics.com/t5/Knowledge-Base/How-do-I-submit-a-Support-ticket-An-FAQ/m-p/28959#U28959" class="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;How do I submit a Support ticket? An FAQ&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 16:58:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/JavaAgent-start-failed-on-Docker-Container/m-p/735204#M9280</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2023-09-11T16:58:57Z</dc:date>
    </item>
  </channel>
</rss>

