<?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 Re: Tomcat Installation - Waiting for Connection in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Tomcat-Installation-Waiting-for-Connection/m-p/728107#M6080</link>
    <description>The problem was that I didn't have the Tier and Node defined in the XML file. I added that and it is now working. Thanks for your help.</description>
    <pubDate>Thu, 27 Jul 2017 13:57:50 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2017-07-27T13:57:50Z</dc:date>
    <item>
      <title>Tomcat Installation - Waiting for Connection</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Tomcat-Installation-Waiting-for-Connection/m-p/728105#M6078</link>
      <description>&lt;P&gt;I am trying to get the APM set up with Tomcat. I can see from the Tomcat logs that it is finding the agent:&lt;/P&gt;
&lt;P&gt;2017-07-27 05:29:11 Commons Daemon procrun stdout initialized Full Agent Registration Info Resolver using selfService [true] Full Agent Registration Info Resolver using selfService [true] Full Agent Registration Info Resolver using application name [null] Full Agent Registration Info Resolver using tier name [unknown] Full Agent Registration Info Resolver using node name [null] Install Directory resolved to[C:\apache-tomcat7-8086-stcdemosaf\appdynamics] [Thread-0] Thu Jul 27 05:29:13 PDT 2017[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver is running [Thread-0] Thu Jul 27 05:29:13 PDT 2017[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [true] [Thread-0] Thu Jul 27 05:29:13 PDT 2017[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [true] [Thread-0] Thu Jul 27 05:29:13 PDT 2017[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using application name [null] [Thread-0] Thu Jul 27 05:29:13 PDT 2017[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using tier name [null] [Thread-0] Thu Jul 27 05:29:13 PDT 2017[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using node name [null] [Thread-0] Thu Jul 27 05:29:13 PDT 2017[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver finished running [Thread-0] Thu Jul 27 05:29:13 PDT 2017[INFO]: AgentInstallManager - Agent runtime directory set to [C:\apache-tomcat7-8086-stcdemosaf\appdynamics\ver4.3.3.4] [Thread-0] Thu Jul 27 05:29:13 PDT 2017[INFO]: AgentInstallManager - Agent node directory set to [STC-DEMOS] [Thread-0] Thu Jul 27 05:29:13 PDT 2017[INFO]: JavaAgent - Using Java Agent Version [Server Agent v4.3.3.4 GA #15258 r7589b120c9edcff2fc8a4e714ef35d4c35cfb787 3600-4.3.3.next-analytics] [Thread-0] Thu Jul 27 05:29:13 PDT 2017[INFO]: JavaAgent - Running IBM Java Agent [No] [Thread-0] Thu Jul 27 05:29:13 PDT 2017[INFO]: JavaAgent - Java Agent Directory [C:\apache-tomcat7-8086-stcdemosaf\appdynamics\ver4.3.3.4] [Thread-0] Thu Jul 27 05:29:13 PDT 2017[INFO]: JavaAgent - Java Agent AppAgent directory [C:\apache-tomcat7-8086-stcdemosaf\appdynamics\ver4.3.3.4] [Thread-0] Thu Jul 27 05:29:13 PDT 2017[INFO]: JavaAgent - #################################################################################### [Thread-0] Thu Jul 27 05:29:13 PDT 2017[INFO]: JavaAgent - Java Agent Directory [C:\apache-tomcat7-8086-stcdemosaf\appdynamics\ver4.3.3.4] [Thread-0] Thu Jul 27 05:29:13 PDT 2017[INFO]: JavaAgent - Java Agent AppAgent directory [C:\apache-tomcat7-8086-stcdemosaf\appdynamics\ver4.3.3.4] [Thread-0] Thu Jul 27 05:29:13 PDT 2017[INFO]: JavaAgent - Using Java Agent Version [Server Agent v4.3.3.4 GA #15258 r7589b120c9edcff2fc8a4e714ef35d4c35cfb787 3600-4.3.3.next-analytics] [Thread-0] Thu Jul 27 05:29:13 PDT 2017[INFO]: JavaAgent - All agent classes have been pre-loaded [Thread-0] Thu Jul 27 05:29:13 PDT 2017[DEBUG]: JavaAgent - Using Java Version [JAVA_18] for AppDynamics Java Agent Running obfuscated agent Started AppDynamics Java Agent Successfully. [Thread-0] Thu Jul 27 05:29:18 PDT 2017[INFO]: JavaAgent - Started AppDynamics Java Agent Successfully.&lt;/P&gt;

&lt;P&gt;There is no agent log file - the logs directory is empty. I have checked the permissions on the javaagent.jar and logs directory and everything is okay there. The controller just shows waiting for connection and is never picking up the application.&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 12:37:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Tomcat-Installation-Waiting-for-Connection/m-p/728105#M6078</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-07-27T12:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Tomcat Installation - Waiting for Connection</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Tomcat-Installation-Waiting-for-Connection/m-p/728106#M6079</link>
      <description>&lt;P&gt;Are you absolutely&amp;nbsp;certain that the&amp;nbsp;&lt;SPAN&gt;C:\apache-tomcat7-8086-stcdemosaf\appdynamics\ver4.3.3.4\logs directory is writeable by the user id that is running to tomcat?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What happens if you run&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&lt;SPAN&gt;java -Dappdynamics.agent.applicationName=MyApp -Dappdynamics.agent.tierName=MyTier -Dappdynamics.agent.nodeName=MyNode -javaagent:C:\apache-tomcat7-8086-stcdemosaf\appdynamics\javaagent.jar -version&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Does that sucessfully initialise the agent and connect to the controller? &amp;nbsp;Do you see log files from that?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;It does appear from the log that you posted that the node name and tier name have not been set for this tomcat instance. &amp;nbsp;Can you verify that?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 12:46:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Tomcat-Installation-Waiting-for-Connection/m-p/728106#M6079</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2017-07-27T12:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Tomcat Installation - Waiting for Connection</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Tomcat-Installation-Waiting-for-Connection/m-p/728107#M6080</link>
      <description>The problem was that I didn't have the Tier and Node defined in the XML file. I added that and it is now working. Thanks for your help.</description>
      <pubDate>Thu, 27 Jul 2017 13:57:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Tomcat-Installation-Waiting-for-Connection/m-p/728107#M6080</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-07-27T13:57:50Z</dc:date>
    </item>
  </channel>
</rss>

