<?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 App agent 4.5.x not starting on tomcat 8.5 in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738330#M10879</link>
    <description>&lt;P&gt;No, the app server doesn't start without or with the extra -D option for log4j.configurationFile.&lt;/P&gt;

&lt;P&gt;Withour the the extra -D option for log4j.configurationFile, it throws below error -&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="pln"&gt;ERROR &lt;/SPAN&gt;&lt;SPAN class="typ"&gt;StatusLogger&lt;/SPAN&gt; &lt;SPAN class="typ"&gt;No&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; log4j2 configuration file found&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt; &lt;SPAN class="typ"&gt;Using&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;default&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; configuration&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; logging only errors to theconsole&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Seems it is a known bug. Have a look at this support ticket I raised - &lt;A href="http://help.appdynamics.com/hc/requests/173393" target="_blank" rel="nofollow noopener noreferrer"&gt;http://help.appdynamics.com/hc/requests/173393&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2019 03:57:48 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2019-03-08T03:57:48Z</dc:date>
    <item>
      <title>Java App agent 4.5.x not starting on tomcat 8.5</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738326#M10875</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am deploying/testing java app agent 4.5.x for the first time &amp;amp; finding it difficult to instrument a local tomcat 8.5 instance.&lt;/P&gt;

&lt;P&gt;I got below error, when I noticed agent 4.5 uses log4j2 for logging&lt;/P&gt;
&lt;PRE class="lang-java prettyprint prettyprinted"&gt;&lt;CODE&gt;&lt;SPAN class="pln"&gt;ERROR &lt;/SPAN&gt;&lt;SPAN class="typ"&gt;StatusLogger&lt;/SPAN&gt; &lt;SPAN class="typ"&gt;No&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; log4j2 configuration file found&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt; &lt;SPAN class="typ"&gt;Using&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;default&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; configuration&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; logging only errors to theconsole&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;

&lt;P&gt;I used java argument to point to the log4j2 configuration for correct logging.&lt;/P&gt;
&lt;P&gt;-Dlog4j.configurationFile="&amp;lt;agent_install_path&amp;gt;\ver4.5.7.25056\conf\logging\log4j2.xml"&lt;/P&gt;

&lt;P&gt;But I received another set of errors &amp;amp; the agent never starts. Can anyone suggest why I see these errors &amp;amp; next actions to fix this?&lt;/P&gt;

&lt;P&gt;2019-03-06 12:44:27,903 ERROR Error processing element ADRRAFAppender: CLASS_NOT_FOUND&lt;BR /&gt;2019-03-06 12:44:27,905 ERROR Error processing element ADRRAFAppender: CLASS_NOT_FOUND&lt;BR /&gt;2019-03-06 12:44:27,906 ERROR Error processing element ADRRAFAppender: CLASS_NOT_FOUND&lt;BR /&gt;2019-03-06 12:44:27,907 ERROR Error processing element ADRRAFAppender: CLASS_NOT_FOUND&lt;BR /&gt;2019-03-06 12:44:27,908 ERROR Error processing element ADRRAFAppender: CLASS_NOT_FOUND&lt;BR /&gt;2019-03-06 12:44:28,076 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;2019-03-06 12:44:28,221 ERROR Unable to locate appender DefaultAppender for logger &lt;BR /&gt;2019-03-06 12:44:28,223 ERROR Unable to locate appender DynamicServiceAppender for logger com.singularity.dynamicservice&lt;BR /&gt;2019-03-06 12:44:28,224 ERROR Unable to locate appender BCTAppender for logger com.singularity.BCTLogger&lt;BR /&gt;2019-03-06 12:44:28,225 ERROR Unable to locate appender DefaultAppender for logger com.singularity&lt;BR /&gt;2019-03-06 12:44:28,226 ERROR Unable to locate appender RESTAppender for logger com.singularity&lt;BR /&gt;2019-03-06 12:44:28,227 ERROR Unable to locate appender BusinessTransactionsLogger for logger com.singularity.BusinessTransactions&lt;BR /&gt;Full Agent Registration Info Resolver using selfService [false]&lt;BR /&gt;Full Agent Registration Info Resolver using selfService [false]&lt;BR /&gt;Full Agent Registration Info Resolver using application name [TomcatOracleSample1]&lt;BR /&gt;Full Agent Registration Info Resolver using tier name [TomcatSampleTier1]&lt;BR /&gt;Full Agent Registration Info Resolver using node name [TomcatSampleNode001]&lt;BR /&gt;Install Directory resolved to[C:\Users\jainsai\Downloads\Appdynamics 4.5\agent_bundles\dbapm-oracle-java-app-agent-v4.0]&lt;BR /&gt;2019-03-06 12:44:30,251 ERROR Error processing element ADRRAFAppender: CLASS_NOT_FOUND&lt;BR /&gt;2019-03-06 12:44:30,252 ERROR Error processing element ADRRAFAppender: CLASS_NOT_FOUND&lt;BR /&gt;2019-03-06 12:44:30,253 ERROR Error processing element ADRRAFAppender: CLASS_NOT_FOUND&lt;BR /&gt;2019-03-06 12:44:30,255 ERROR Error processing element ADRRAFAppender: CLASS_NOT_FOUND&lt;BR /&gt;2019-03-06 12:44:30,256 ERROR Error processing element ADRRAFAppender: CLASS_NOT_FOUND&lt;BR /&gt;2019-03-06 12:44:30,379 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;2019-03-06 12:44:30,498 ERROR Unable to locate appender DefaultAppender for logger &lt;BR /&gt;2019-03-06 12:44:30,499 ERROR Unable to locate appender DynamicServiceAppender for logger com.singularity.dynamicservice&lt;BR /&gt;2019-03-06 12:44:30,500 ERROR Unable to locate appender BCTAppender for logger com.singularity.BCTLogger&lt;BR /&gt;2019-03-06 12:44:30,501 ERROR Unable to locate appender DefaultAppender for logger com.singularity&lt;BR /&gt;2019-03-06 12:44:30,502 ERROR Unable to locate appender RESTAppender for logger com.singularity&lt;BR /&gt;2019-03-06 12:44:30,503 ERROR Unable to locate appender BusinessTransactionsLogger for logger com.singularity.BusinessTransactions&lt;BR /&gt;2019-03-06 12:44:30,879 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;Agent conf directory set to [C:\Users\jainsai\Downloads\Appdynamics 4.5\agent_bundles\dbapm-oracle-java-app-agent-v4.0\ver4.5.7.25056\conf]&lt;BR /&gt;[Thread-0] Wed Mar 06 12:44:33 IST 2019[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver is running&lt;BR /&gt;[Thread-0] Wed Mar 06 12:44:34 IST 2019[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [false]&lt;BR /&gt;[Thread-0] Wed Mar 06 12:44:34 IST 2019[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using selfService [false]&lt;BR /&gt;[Thread-0] Wed Mar 06 12:44:34 IST 2019[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using application name [TomcatOracleSample1]&lt;BR /&gt;[Thread-0] Wed Mar 06 12:44:34 IST 2019[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using tier name [TomcatSampleTier1]&lt;BR /&gt;[Thread-0] Wed Mar 06 12:44:34 IST 2019[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using node name [TomcatSampleNode001]&lt;BR /&gt;[Thread-0] Wed Mar 06 12:44:34 IST 2019[DEBUG]: AgentInstallManager - Full Agent Registration Info Resolver finished running&lt;BR /&gt;[Thread-0] Wed Mar 06 12:44:34 IST 2019[INFO]: AgentInstallManager - Agent runtime directory set to [C:\Users\jainsai\Downloads\Appdynamics 4.5\agent_bundles\dbapm-oracle-java-app-agent-v4.0\ver4.5.7.25056]&lt;BR /&gt;[Thread-0] Wed Mar 06 12:44:34 IST 2019[INFO]: AgentInstallManager - Agent node directory set to [TomcatSampleNode001]&lt;BR /&gt;Agent runtime conf directory set to C:\Users\jainsai\Downloads\Appdynamics 4.5\agent_bundles\dbapm-oracle-java-app-agent-v4.0\ver4.5.7.25056\conf&lt;BR /&gt;[Thread-0] Wed Mar 06 12:44:34 IST 2019[INFO]: AgentInstallManager - Agent runtime conf directory set to C:\Users\jainsai\Downloads\Appdynamics 4.5\agent_bundles\dbapm-oracle-java-app-agent-v4.0\ver4.5.7.25056\conf&lt;BR /&gt;[Thread-0] Wed Mar 06 12:44:34 IST 2019[INFO]: JavaAgent - Using Java Agent Version [Server Agent #4.5.7.25056 v4.5.7 GA compatible with 4.4.1.0 r34248b8ae5a623b8fa307bef8be41b9854f0e2b9 pull-requests/1987]&lt;BR /&gt;[Thread-0] Wed Mar 06 12:44:34 IST 2019[INFO]: JavaAgent - Running IBM Java Agent [No]&lt;BR /&gt;[Thread-0] Wed Mar 06 12:44:34 IST 2019[INFO]: JavaAgent - Java Agent Directory [C:\Users\jainsai\Downloads\Appdynamics 4.5\agent_bundles\dbapm-oracle-java-app-agent-v4.0\ver4.5.7.25056]&lt;BR /&gt;[Thread-0] Wed Mar 06 12:44:34 IST 2019[INFO]: JavaAgent - Java Agent AppAgent directory [C:\Users\jainsai\Downloads\Appdynamics 4.5\agent_bundles\dbapm-oracle-java-app-agent-v4.0\ver4.5.7.25056]&lt;BR /&gt;Agent logging directory set to [C:\Users\jainsai\Downloads\Appdynamics 4.5\agent_bundles\dbapm-oracle-java-app-agent-v4.0\ver4.5.7.25056\logs\TomcatSampleNode001]&lt;BR /&gt;2019-03-06 12:44:34,235 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;2019-03-06 12:44:34,237 INFO Using file at C:\Users\jainsai\Downloads\Appdynamics 4.5\agent_bundles\dbapm-oracle-java-app-agent-v4.0\ver4.5.7.25056\conf\logging\log4j2.xml&lt;BR /&gt;2019-03-06 12:44:34,241 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;2019-03-06 12:44:36,731 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;Running obfuscated agent&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: Server version: Apache Tomcat/8.5.38&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: Server built: Feb 5 2019 11:42:42 UTC&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: Server number: 8.5.38.0&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: OS Name: Windows 7&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: OS Version: 6.1&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: Architecture: amd64&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: Java Home: C:\Program Files\Java\jdk1.8.0_141\jre&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: JVM Version: 1.8.0_141-b32&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: JVM Vendor: Oracle Corporation&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: CATALINA_BASE: C:\Users\jainsai\Downloads\apache-tomcat-8.5.38&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: CATALINA_HOME: C:\Users\jainsai\Downloads\apache-tomcat-8.5.38&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: Command line argument: -Dcatalina.base=C:\Users\jainsai\Downloads\apache-tomcat-8.5.38&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: Command line argument: -Dcatalina.home=C:\Users\jainsai\Downloads\apache-tomcat-8.5.38&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: Command line argument: -Dwtp.deploy=C:\Users\jainsai\Downloads\apache-tomcat-8.5.38\wtpwebapps&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: Command line argument: -Djava.endorsed.dirs=C:\Users\jainsai\Downloads\apache-tomcat-8.5.38\endorsed&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: Command line argument: -Dlog4j.configurationFile=C:\Users\jainsai\Downloads\Appdynamics 4.5\agent_bundles\dbapm-oracle-java-app-agent-v4.0\ver4.5.7.25056\conf\logging\log4j2.xml&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: Command line argument: -javaagent:C:\Users\jainsai\Downloads\Appdynamics 4.5\agent_bundles\dbapm-oracle-java-app-agent-v4.0\javaagent.jar&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: Command line argument: -Dappdynamics.http.proxyHost=userproxy.intranet.db.com&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: Command line argument: -Dappdynamics.http.proxyPort=8080&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.VersionLoggerListener log&lt;BR /&gt;INFO: Command line argument: -Dfile.encoding=Cp1252&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent&lt;BR /&gt;INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jdk1.8.0_141\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jdk1.8.0_141/bin/../jre/bin/server;C:/Program Files/Java/jdk1.8.0_141/bin/../jre/bin;C:/Program Files/Java/jdk1.8.0_141/bin/../jre/lib/amd64;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft Application Virtualization Client;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Citrix\ICAService\;C:\Program Files (x86)\Citrix\System32\;C:\PROGRAM FILES\CITRIX\System32\;C:\PROGRAM FILES\CITRIX\ICAService\;C:\Program Files (x86)\Common Files\Citrix\System32;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRAM FILES\CITRIX\Virtual Desktop Agent\;C:\Program Files\Git\cmd;C:\Program Files\Git\bin\;C:\Program Files (x86)\Enterprise Vault\EVClient\;C:\Program Files\eclipse;C:\Program Files\Anaconda3;C:\Program Files\Anaconda3\Scripts;C:\Program Files\Anaconda3\Library\bin;C:\Users\Public\Documents\php\php-7.1;C:\Users\Public\Documents\oracle\instantclient_18_3\instantclient_18_3;C:\Users\Public\Documents\devtools;C:\Program Files\Java\jdk1.8.0_141\bin;C:\Program Files\eclipse;;.]&lt;BR /&gt;Mar 06, 2019 12:45:31 PM org.apache.catalina.startup.Catalina load&lt;BR /&gt;SEVERE: Catalina.start&lt;BR /&gt;org.apache.catalina.LifecycleException: Failed to initialize component [StandardServer[8005]]&lt;BR /&gt;at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)&lt;BR /&gt;at org.apache.catalina.startup.Catalina.load(Catalina.java:639)&lt;BR /&gt;at org.apache.catalina.startup.Catalina.load(Catalina.java:662)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt;at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:309)&lt;BR /&gt;at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)&lt;BR /&gt;Caused by: javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found&lt;BR /&gt;at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:200)&lt;BR /&gt;at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:152)&lt;BR /&gt;at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:232)&lt;BR /&gt;at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:120)&lt;BR /&gt;at org.apache.catalina.core.JreMemoryLeakPreventionListener.lifecycleEvent(JreMemoryLeakPreventionListener.java:426)&lt;BR /&gt;at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)&lt;BR /&gt;at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:395)&lt;BR /&gt;at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)&lt;BR /&gt;... 8 more&lt;BR /&gt;Caused by: java.lang.ClassNotFoundException: org/apache/xerces/jaxp/DocumentBuilderFactoryImpl&lt;BR /&gt;at java.lang.Class.forName0(Native Method)&lt;BR /&gt;at java.lang.Class.forName(Class.java:348)&lt;BR /&gt;at javax.xml.parsers.FactoryFinder.getProviderClass(FactoryFinder.java:124)&lt;BR /&gt;at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:188)&lt;BR /&gt;... 15 more&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 07:27:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738326#M10875</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-03-06T07:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Java App agent 4.5.x not starting on tomcat 8.5</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738327#M10876</link>
      <description>&lt;P&gt;Sailesh,&lt;/P&gt;

&lt;P&gt;Can you post your entire command line please, many things look off in the output you pasted.&lt;/P&gt;

&lt;P&gt;Did the agent start and work OK despite the original ERROR message?&lt;/P&gt;

&lt;P&gt;Warm regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 11:47:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738327#M10876</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2019-03-06T11:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Java App agent 4.5.x not starting on tomcat 8.5</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738328#M10877</link>
      <description>&lt;P&gt;Hi Peter,&lt;/P&gt;

&lt;P&gt;Here is the complete argument list -&lt;/P&gt;
&lt;P&gt;-Dcatalina.base="C:\Users\jainsai\Downloads\apache-tomcat-8.5.38" -Dcatalina.home="C:\Users\jainsai\Downloads\apache-tomcat-8.5.38" -Dwtp.deploy="C:\Users\jainsai\Downloads\apache-tomcat-8.5.38\wtpwebapps" -Djava.endorsed.dirs="C:\Users\jainsai\Downloads\apache-tomcat-8.5.38\endorsed" -Dlog4j.configurationFile="C:\Users\jainsai\Downloads\Appdynamics 4.5\agent_bundles\dbapm-oracle-java-app-agent-v4.0\ver4.5.7.25056\conf\logging\log4j2.xml" -javaagent:"C:\Users\jainsai\Downloads\Appdynamics 4.5\agent_bundles\dbapm-oracle-java-app-agent-v4.0\javaagent.jar" -Dappdynamics.http.proxyHost="userproxy.intranet.db.com" -Dappdynamics.http.proxyPort="8080"&lt;/P&gt;

&lt;P&gt;Agent didn't start at all. Also tomcat server failed to start.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 06:50:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738328#M10877</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-03-07T06:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Java App agent 4.5.x not starting on tomcat 8.5</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738329#M10878</link>
      <description>&lt;P&gt;Does the app server start fine without the extra -D option for log4j.configurationFile? (other than the error message, which can be ignored)&lt;/P&gt;

&lt;P&gt;Warm regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 14:58:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738329#M10878</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2019-03-07T14:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Java App agent 4.5.x not starting on tomcat 8.5</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738330#M10879</link>
      <description>&lt;P&gt;No, the app server doesn't start without or with the extra -D option for log4j.configurationFile.&lt;/P&gt;

&lt;P&gt;Withour the the extra -D option for log4j.configurationFile, it throws below error -&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="pln"&gt;ERROR &lt;/SPAN&gt;&lt;SPAN class="typ"&gt;StatusLogger&lt;/SPAN&gt; &lt;SPAN class="typ"&gt;No&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; log4j2 configuration file found&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt; &lt;SPAN class="typ"&gt;Using&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;default&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; configuration&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; logging only errors to theconsole&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Seems it is a known bug. Have a look at this support ticket I raised - &lt;A href="http://help.appdynamics.com/hc/requests/173393" target="_blank" rel="nofollow noopener noreferrer"&gt;http://help.appdynamics.com/hc/requests/173393&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 03:57:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738330#M10879</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-03-08T03:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Java App agent 4.5.x not starting on tomcat 8.5</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738331#M10880</link>
      <description>&lt;P&gt;Good, I'm glad this is root-caused.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 12:02:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738331#M10880</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2019-03-08T12:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Java App agent 4.5.x not starting on tomcat 8.5</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738332#M10881</link>
      <description>&lt;P&gt;What is the root cause?&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://help.appdynamics.com/hc/en-us/requests/173393" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.appdynamics.com/hc/en-us/requests/173393&lt;/A&gt;&amp;nbsp;goes to a 404 page&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 16:19:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738332#M10881</guid>
      <dc:creator>Christopher_Sav</dc:creator>
      <dc:date>2019-06-12T16:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Java App agent 4.5.x not starting on tomcat 8.5</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738333#M10882</link>
      <description>&lt;P&gt;Kindly let us know what is the root cause. I am getting permission denied for the URL. I am also facing the same issue.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 14:33:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738333#M10882</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-07-04T14:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Java App agent 4.5.x not starting on tomcat 8.5</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738334#M10883</link>
      <description>&lt;P&gt;There were issues with how a few of the early 4.5.x agents used log4j&lt;/P&gt;

&lt;P&gt;This issue is fixed in any recent 4.5.x agent (the most recent is 4.5.11)&lt;/P&gt;

&lt;P&gt;If you experience the same issue with v4.5.11 of the agent, please create a new post with details, or open a support ticket.&lt;/P&gt;

&lt;P&gt;Warm regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 15:18:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738334#M10883</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2019-07-04T15:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Java App agent 4.5.x not starting on tomcat 8.5</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738335#M10884</link>
      <description>&lt;P&gt;Thanks for the reply&amp;nbsp;Peter.&lt;/P&gt;

&lt;P&gt;If I am not wrong, any of the 4.5.x uses version 2 of log4j (i.e. log4j2) for logging.&lt;/P&gt;

&lt;P&gt;Is there any way I can change this behaviour &amp;amp; make the agents to use log4j logging?&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sailesh&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 04:40:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738335#M10884</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-07-05T04:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Java App agent 4.5.x not starting on tomcat 8.5</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738336#M10885</link>
      <description>&lt;P&gt;Sailesh,&lt;/P&gt;

&lt;P&gt;You should not need to, since agent logging and application / container logging should be entirely separate.&amp;nbsp; If you find that not to be the case, I would really appreciate it if you could file a ticket, or post full details of your scenario.&lt;/P&gt;

&lt;P&gt;That said, you can switch the agent back to using log4j by setting the&amp;nbsp;&lt;SPAN&gt;appdynamics.agent.log4j2.disabled system property to true, but you should not need to do this.&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>Fri, 05 Jul 2019 17:17:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-App-agent-4-5-x-not-starting-on-tomcat-8-5/m-p/738336#M10885</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2019-07-05T17:17:58Z</dc:date>
    </item>
  </channel>
</rss>

