<?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: Java Agent fails to start in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730716#M7244</link>
    <description>&lt;P&gt;i do not have access to cretate tickets.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Nov 2017 17:45:24 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2017-11-14T17:45:24Z</dc:date>
    <item>
      <title>Java Agent fails to start</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730711#M7239</link>
      <description>&lt;P&gt;When starting the java agent under tomcat 9 using version 4.4.0.4 I get the following exception. The agent is configured in setenv as set CATALINA_OPTS=%CATALINA_OPTS% -javaagent:"C:\appdynam\Agents\ver4.4.0.4\javaagent.jar".&lt;/P&gt;

&lt;P&gt;Any ideas how to fix this?&lt;/P&gt;

&lt;P&gt;Full Agent Registration Info Resolver using selfService [true]&lt;BR /&gt;Full Agent Registration Info Resolver using selfService [true]&lt;BR /&gt;Full Agent Registration Info Resolver using application name [Trellis]&lt;BR /&gt;Full Agent Registration Info Resolver using tier name [ABC]&lt;BR /&gt;Full Agent Registration Info Resolver using node name [XYZ]&lt;BR /&gt;Install Directory resolved to[C:\appdynam\Agents\ver4.4.0.4]&lt;BR /&gt;java.lang.reflect.InvocationTargetException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.reflect.DelegatingMethodAccessorImpl.__invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.singularity.ee.agent.appagent.AgentEntryPoint$1.run(AgentEntryPoint.java:647)&lt;BR /&gt;Caused by: java.lang.ExceptionInInitializerError&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.singularity.ee.agent.appagent.kernel.JavaAgent.initialize(JavaAgent.java:308)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... 7 more&lt;BR /&gt;Caused by: java.lang.ArrayIndexOutOfBoundsException: 25&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.singularity.ee.controller.api.constants.AgentType.&amp;lt;clinit&amp;gt;(AgentType.java:55)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... 8 more&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 21:57:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730711#M7239</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-11-13T21:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Java Agent fails to start</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730712#M7240</link>
      <description>&lt;P&gt;What JDK version are you using to run tomcat?&lt;/P&gt;
&lt;P&gt;Can you provide your agent logs (they will be in&amp;nbsp;&lt;SPAN&gt;C:\appdynam\Agents\ver4.4.0.4\logs\XYZ)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Warm regards,&lt;BR /&gt;Peter&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 10:23:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730712#M7240</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2017-11-14T10:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Java Agent fails to start</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730713#M7241</link>
      <description>&lt;P&gt;The logs directory is empty. I am using jdk1.8.0_144&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 16:02:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730713#M7241</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-11-14T16:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Java Agent fails to start</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730714#M7242</link>
      <description>&lt;P&gt;That is very odd.&amp;nbsp; I think this is best investigated interactively via a support ticket; could you open one?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 16:59:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730714#M7242</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2017-11-14T16:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Java Agent fails to start</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730715#M7243</link>
      <description>&lt;P&gt;yes I will.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 17:21:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730715#M7243</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-11-14T17:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Java Agent fails to start</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730716#M7244</link>
      <description>&lt;P&gt;i do not have access to cretate tickets.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 17:45:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730716#M7244</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-11-14T17:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Java Agent fails to start</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730717#M7245</link>
      <description>&lt;P&gt;Hi Alan,&lt;/P&gt;

&lt;P&gt;that happened to me before (with previous agent versions) and my problem was this (referring to the doc):&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;The user under which the JVM runs must have write privileges to the&amp;nbsp;conf&amp;nbsp;and&amp;nbsp;logs&amp;nbsp;directories in the Java Agent&amp;nbsp;home.&amp;nbsp;To achieve this, you can install the agent as the&amp;nbsp;same user that owns the JVM or as an administrator on the host machine. You can restrict the remaining contents of the agent directory to read only access.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Did you check if the user has permission to the conf and logs directories? (that could be the reason the log directory is empty)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Best!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Julia&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 13:30:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730717#M7245</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-11-15T13:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Java Agent fails to start</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730718#M7246</link>
      <description>&lt;P&gt;Thanks Julia. I checked the permissions and everything looks good.&lt;/P&gt;

&lt;P&gt;Did you get this exception is the past? java.lang.ArrayIndexOutOfBoundsException: 25&lt;/P&gt;

&lt;P&gt;I have a ffeling that the error occurs before it writes to any logs.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 17:53:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730718#M7246</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-11-15T17:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Java Agent fails to start</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730719#M7247</link>
      <description>&lt;P&gt;Hi Alan,&lt;/P&gt;

&lt;P&gt;not so far &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I hope you can solve this!&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Julia&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 22:37:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-Agent-fails-to-start/m-p/730719#M7247</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-11-15T22:37:24Z</dc:date>
    </item>
  </channel>
</rss>

