<?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: unable to get it work with tomcat in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732380#M7972</link>
    <description>Thanks for responding.&lt;BR /&gt;&lt;BR /&gt;Tomcat starts fine. No logs are seen in ver4.4.1.0/logs folder and sass&lt;BR /&gt;dashboard does not show anycontent.&lt;BR /&gt;</description>
    <pubDate>Wed, 28 Feb 2018 13:46:18 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2018-02-28T13:46:18Z</dc:date>
    <item>
      <title>unable to get it work with tomcat</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732378#M7970</link>
      <description>&lt;P&gt;I put below in both tomcat/bin/setenv.sh and tomcat/conf/tomcat.conf&lt;/P&gt;
&lt;P&gt;export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/home/centos/appagent/javaagent.jar"&lt;/P&gt;

&lt;P&gt;as you see all users were given RW to /home/centos/appagent&lt;/P&gt;

&lt;P&gt;drw-rw-rw-. 2 centos centos&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 64 Nov&amp;nbsp; 6 16:26 conf&lt;BR /&gt;-rw-rw-rw-. 1 centos centos&amp;nbsp;&amp;nbsp; 55783 Nov&amp;nbsp; 6 16:25 jackson-annotations-2.8.1.jar&lt;BR /&gt;-rw-rw-rw-. 1 centos centos&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 198 Nov&amp;nbsp; 6 16:26 jackson-annotations-2.8.1.jar.asc&lt;BR /&gt;-rw-rw-rw-. 1 centos centos&amp;nbsp; 280014 Nov&amp;nbsp; 6 16:25 jackson-core-2.8.1.jar&lt;BR /&gt;-rw-rw-rw-. 1 centos centos&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 198 Nov&amp;nbsp; 6 16:26 jackson-core-2.8.1.jar.asc&lt;BR /&gt;-rw-rw-rw-. 1 centos centos 1230290 Nov&amp;nbsp; 6 16:25 jackson-databind-2.8.1.jar&lt;BR /&gt;-rw-rw-rw-. 1 centos centos&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 198 Nov&amp;nbsp; 6 16:26 jackson-databind-2.8.1.jar.asc&lt;BR /&gt;-rw-rw-rw-. 1 centos centos&amp;nbsp; 143973 Nov&amp;nbsp; 6 16:25 javaagent.jar&lt;BR /&gt;-rw-rw-rw-. 1 centos centos&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 198 Nov&amp;nbsp; 6 16:26 javaagent.jar.asc&lt;BR /&gt;-rw-rw-rw-. 1 centos centos&amp;nbsp;&amp;nbsp;&amp;nbsp; 3481 Nov&amp;nbsp; 6 16:25 readme.txt&lt;BR /&gt;-rw-rw-rw-. 1 centos centos&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 198 Nov&amp;nbsp; 6 16:26 readme.txt.asc&lt;BR /&gt;-rw-rw-rw-. 1 centos centos&amp;nbsp;&amp;nbsp; 27037 Nov&amp;nbsp; 6 16:25 uaruleanalyzer.jar&lt;BR /&gt;-rw-rw-rw-. 1 centos centos&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 198 Nov&amp;nbsp; 6 16:26 uaruleanalyzer.jar.asc&lt;BR /&gt;drw-rw-rw-. 9 centos centos&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 Nov&amp;nbsp; 6 16:26 ver4.4.1.0&lt;/P&gt;

&lt;P&gt;any pointers would be helpful.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 13:10:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732378#M7970</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-02-28T13:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: unable to get it work with tomcat</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732379#M7971</link>
      <description>&lt;P&gt;When you say "unable to get it to work", can you elaborate?&lt;/P&gt;

&lt;P&gt;Does tomcat start?&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;If not, does it log any errors?&lt;/LI&gt;
&lt;LI&gt;If yes, what does happen?&amp;nbsp; &amp;nbsp;do you see any agent logs&amp;nbsp;under /home/centos/appagent/ver4.4.1.0/logs?&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 28 Feb 2018 13:42:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732379#M7971</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2018-02-28T13:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: unable to get it work with tomcat</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732380#M7972</link>
      <description>Thanks for responding.&lt;BR /&gt;&lt;BR /&gt;Tomcat starts fine. No logs are seen in ver4.4.1.0/logs folder and sass&lt;BR /&gt;dashboard does not show anycontent.&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Feb 2018 13:46:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732380#M7972</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-02-28T13:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: unable to get it work with tomcat</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732381#M7973</link>
      <description>&lt;P&gt;How about the arguments for application name, node name and tier name?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 14:40:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732381#M7973</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-02-28T14:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: unable to get it work with tomcat</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732382#M7974</link>
      <description>&lt;P&gt;Not sure what that means?&lt;/P&gt;

&lt;P&gt;I folloed below instructions..&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.appdynamics.com/display/PRO44/Apache+Tomcat+Startup+Settings" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO44/Apache+Tomcat+Startup+Settings&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The zip was unzipped to /home/centos/appagent and add below line to /usr/share/tomcat/bin/setenv.sh file .. export CATALINA_OPTS="$CATALINA_OPTS -javaagent:/home/centos/appagent/javaagent.jar"&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 23:52:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732382#M7974</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-03-01T23:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: unable to get it work with tomcat</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732383#M7975</link>
      <description>&lt;P&gt;if you run "ps -ef" with your tomcat started, do you see the -javaagent option added to the tomcat JVM command string?&amp;nbsp; Can you post what you see here?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 09:40:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732383#M7975</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2018-03-02T09:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: unable to get it work with tomcat</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732384#M7976</link>
      <description>&lt;P&gt;If i use jvisualvm to monitor tomcat process I can see jvm arguments&lt;/P&gt;

&lt;P&gt;-Djavaagent:C:/ABHIROOP/WORK/POC/appdynamics/appagent/javaagent.jar&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jvm.PNG" style="width: 661px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35786iC24E5ED8D85B4FF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Running ps -ef disclose only one process..&lt;/P&gt;

&lt;P&gt;C:\Users\abhiroop.g&amp;gt;ps -ef&lt;BR /&gt; UID PID PPID TTY STIME COMMAND&lt;BR /&gt;abhiroop 128104 1 cons0 14:55:02 /usr/bin/ps&lt;/P&gt;

&lt;P&gt;Still inside&amp;nbsp;appagent\ver4.5.5.24422\logs&amp;nbsp; &amp;nbsp;nothing appearing none in Dashboard at&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;******.saas.appdynamics.com/controller&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 09:27:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732384#M7976</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-01-10T09:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: unable to get it work with tomcat</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732385#M7977</link>
      <description>&lt;P&gt;You have the command line option wrong...&lt;/P&gt;

&lt;P&gt;You have typed -Djavaagent:C:/ABHIROOT/...&lt;/P&gt;

&lt;P&gt;It shoud just be -javaagent:&lt;SPAN&gt;C:/ABHIROOT/...&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;warm regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 12:24:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732385#M7977</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2019-01-10T12:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: unable to get it work with tomcat</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732386#M7978</link>
      <description>&lt;P&gt;HI ;&lt;/P&gt;
&lt;P&gt;Thanks for quick response as I'm in evaluation subscription.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;SIr ; I'hv used all such permutations [below snapshot for reference] .&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I have used yaml for daemon set creation to monitor my Paas servers and I can see some result at dashboard but&amp;nbsp;once I'm dealing with agents to monitor my tomcat&amp;nbsp;( executing locally ) , nothing apprearing .&amp;nbsp;&lt;/P&gt;


&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jvm.PNG" style="width: 693px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35788i440746FAE197182C/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 13:09:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732386#M7978</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-01-10T13:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: unable to get it work with tomcat</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732387#M7979</link>
      <description>&lt;P&gt;With the -javaagent option corrected, the next step is to look at the agent logs and see what is written in there.&lt;/P&gt;

&lt;P&gt;Another trick is to run a simple smoke test: "java -javaagent:&lt;EM&gt;&amp;lt;path to agent&amp;gt;&lt;/EM&gt; -version&lt;/P&gt;

&lt;P&gt;If this prints the java version successfully, it will also have started the agent on your machine, which will have written some logs.&amp;nbsp; These may also contain clues as to what is going on.&lt;/P&gt;

&lt;P&gt;Warm regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 13:15:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732387#M7979</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2019-01-10T13:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: unable to get it work with tomcat</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732388#M7980</link>
      <description>&lt;P&gt;Sir ;&lt;/P&gt;
&lt;P&gt;Thank you a lot for your quick responses . Just before I was about to leave it you kept me working .&lt;/P&gt;

&lt;P&gt;Any way , I tried to execute version command&amp;nbsp;and it returns below text . At some third party blog I found hint to add&amp;nbsp;&lt;FONT color="#FF0000"&gt;-Dappagent.install.dir&lt;/FONT&gt;="C:/ABHIROOP/WORK/POC/appdynamics/appagent" as part of JVM and then on restart application I found such logs started creating and dashboard reflects my applications .&lt;/P&gt;

&lt;P&gt;I&amp;nbsp;wish to have &lt;FONT face="batang,apple gothic" color="#000080"&gt;docs.appdynamics updated&amp;nbsp;[ i.e. &lt;SPAN&gt;-Dappagent.install.dir is one imp argument&lt;/SPAN&gt;]&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;or may be it is specific case as &lt;STRONG&gt;I use tomcat [ &lt;EM&gt;tomcat-9.0.7.B.RELEASE&lt;/EM&gt; ] server of pivotal implementation in SpringSourceToolSuite&lt;/STRONG&gt;.&lt;/P&gt;


&lt;P&gt;C:\Users\abhiroop.g&amp;gt;java -javaagent:C:/ABHIROOP/WORK/POC/appdynamics/appagent/javaagent.jar -version&lt;BR /&gt;Could not resolve Agent installation directory, please restart with system property appagent.install.dir&lt;BR /&gt;java version "1.8.0_191"&lt;BR /&gt;Java(TM) SE Runtime Environment (build 1.8.0_191-b12)&lt;BR /&gt;Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jvm.PNG" style="width: 687px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35789iDD5AC96FACEC80CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank YOu : Happy Coding !!!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 13:37:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732388#M7980</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-01-10T13:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: unable to get it work with tomcat</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732389#M7981</link>
      <description>&lt;P&gt;I'm delighted you got things working!&lt;/P&gt;

&lt;P&gt;The install.dir property should not be mandatory, so I will look in to why that seems to be needed in your case.&lt;/P&gt;

&lt;P&gt;I hope you enjoy the rest of your evaluation experience!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 15:59:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/unable-to-get-it-work-with-tomcat/m-p/732389#M7981</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2019-01-10T15:59:55Z</dc:date>
    </item>
  </channel>
</rss>

