<?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: NoClassDefFoundError:JsonProcessingException in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/NoClassDefFoundError-JsonProcessingException/m-p/737711#M10557</link>
    <description>&lt;P&gt;Hi Odair,&lt;/P&gt;

&lt;P&gt;It seems you are monitoring standalone Java application, so you can safely and easily test 4.4.x version. Download link for 4.4.3 version is &lt;A href="https://download.appdynamics.com/download/%22%20%5Cl%20%22search=4.4+java+&amp;amp;page=1" target="_blank" data-saferedirecturl="https://www.google.com/url?q=https://download.appdynamics.com/download/%2522%2520%255Cl%2520%2522search%3D4.4%2Bjava%2B%26page%3D1&amp;amp;source=gmail&amp;amp;ust=1547627737173000&amp;amp;usg=AFQjCNEjHuhNyNK9tipvMgu5IKe947wIYw" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;here&lt;/SPAN&gt;&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;If you have restriction to use 4.5.x version, then I am sorry to say that this is unresolved bug for 4.5.x agent now. I will keep the progress information updated here in that case.&lt;/P&gt;

&lt;P&gt;Let me know if this helped you.&lt;/P&gt;

&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;Naoto&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jan 2019 00:30:33 GMT</pubDate>
    <dc:creator>Naoto_Yamamoto</dc:creator>
    <dc:date>2019-01-16T00:30:33Z</dc:date>
    <item>
      <title>NoClassDefFoundError:JsonProcessingException</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/NoClassDefFoundError-JsonProcessingException/m-p/737708#M10554</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Hi, I have a Java application with log4j2, my log file is configured to save in JSON, so when I start my application to appdynamics, a runtime error occurs, so my application is not monitored.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;My application starts but&amp;nbsp;is not being monitored.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;That's my log4j2.xml:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;Configuration status="WARN"&amp;gt;&lt;BR /&gt; &amp;lt;Appenders&amp;gt;&lt;BR /&gt; &amp;lt;File name="log" fileName="./src/log/log.json"&amp;gt;&lt;BR /&gt; &lt;STRONG&gt;&amp;lt;JsonLayout complete="true" compact="false" /&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;lt;JsonLayout compact="true" eventEol="true" /&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt; &amp;lt;Policies&amp;gt;&lt;BR /&gt; &amp;lt;SizeBasedTriggeringPolicy size="20 MB" /&amp;gt;&lt;BR /&gt; &amp;lt;/Policies&amp;gt;&lt;BR /&gt; &amp;lt;/File&amp;gt;&lt;BR /&gt; &amp;lt;Console name="Console" target="SYSTEM_OUT"&amp;gt;&lt;BR /&gt; &amp;lt;PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" /&amp;gt;&lt;BR /&gt; &amp;lt;/Console&amp;gt;&lt;BR /&gt; &amp;lt;/Appenders&amp;gt;&lt;BR /&gt; &amp;lt;Loggers&amp;gt;&lt;BR /&gt; &amp;lt;Root level="info"&amp;gt;&lt;BR /&gt; &amp;lt;AppenderRef ref="Console" level="info" /&amp;gt;&lt;BR /&gt; &amp;lt;AppenderRef ref="log" level="error" /&amp;gt;&lt;BR /&gt; &amp;lt;/Root&amp;gt;&lt;BR /&gt; &amp;lt;/Loggers&amp;gt;&lt;BR /&gt;&amp;lt;/Configuration&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;If I delete this section "&lt;STRONG&gt;&amp;lt;JsonLayout complete="true" compact="false" /&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;JsonLayout compact="true" eventEol="true" /&amp;gt;&lt;/STRONG&gt;", the application works and is monitored.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Error Log:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2019-01-08 17:21:23,721 WARN JNDI lookup class is not available because this JRE does not support JNDI. JNDI string lookups will not be available, continuing configuration. java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JndiLookup to org.apache.logging.log4j.core.lookup.StrLookup&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Class.cast(Class.java:3369)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.logging.log4j.util.LoaderUtil.newCheckedInstanceOf(LoaderUtil.java:163)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.logging.log4j.core.util.Loader.newCheckedInstanceOf(Loader.java:311)...&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2019-01-08 17:21:23,725 WARN JMX runtime input lookup class is not available because this JRE does not support JMX. JMX lookups will not be available, continuing configuration. java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup to org.apache.logging.log4j.core.lookup.StrLookup&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Class.cast(Class.java:3369)...&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/JsonProcessingException&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Class.getDeclaredMethods0(Native Method)&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 12:33:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/NoClassDefFoundError-JsonProcessingException/m-p/737708#M10554</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-01-10T12:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: NoClassDefFoundError:JsonProcessingException</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/NoClassDefFoundError-JsonProcessingException/m-p/737709#M10555</link>
      <description>&lt;P&gt;Hi Odair,&lt;/P&gt;

&lt;P&gt;Thanks for posting the question on the Community.&lt;/P&gt;

&lt;P&gt;We identified a similar issue on your agent version:4.5.x, so could you try below steps to use 4.4.x agent version instead?&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Please back up current agent directory&lt;/LI&gt;
&lt;LI&gt;Try 4.4.x agent version in new agent directory and restart JVM node process with new agent path.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;If you cannot use 4.4.x agent version for some reason, please try to add below arguments in JVM option:&lt;/P&gt;
&lt;PRE&gt;-Dappdynamics.agent.log4j2.disabled=true -Dlog4j.ignoreTCL=true&lt;/PRE&gt;

&lt;P&gt;Let me know if this helped you.&lt;/P&gt;

&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;Naoto&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 03:03:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/NoClassDefFoundError-JsonProcessingException/m-p/737709#M10555</guid>
      <dc:creator>Naoto_Yamamoto</dc:creator>
      <dc:date>2019-01-11T03:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: NoClassDefFoundError:JsonProcessingException</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/NoClassDefFoundError-JsonProcessingException/m-p/737710#M10556</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/138564"&gt;@Naoto.Yamamoto&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Odair,&lt;/P&gt;

&lt;P&gt;Thanks for posting the question on the Community.&lt;/P&gt;

&lt;P&gt;We identified a similar issue on your agent version:4.5.x, so could you try below steps to use 4.4.x agent version instead?&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Please back up current agent directory&lt;/LI&gt;
&lt;LI&gt;Try 4.4.x agent version in new agent directory and restart JVM node process with new agent path.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;If you cannot use 4.4.x agent version for some reason, please try to add below arguments in JVM option:&lt;/P&gt;
&lt;PRE&gt;-Dappdynamics.agent.log4j2.disabled=true -Dlog4j.ignoreTCL=true&lt;/PRE&gt;

&lt;P&gt;Let me know if this helped you.&lt;/P&gt;

&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;Naoto&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/138564"&gt;@Naoto.Yamamoto&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Odair,&lt;/P&gt;

&lt;P&gt;Thanks for posting the question on the Community.&lt;/P&gt;

&lt;P&gt;We identified a similar issue on your agent version:4.5.x, so could you try below steps to use 4.4.x agent version instead?&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Please back up current agent directory&lt;/LI&gt;
&lt;LI&gt;Try 4.4.x agent version in new agent directory and restart JVM node process with new agent path.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;If you cannot use 4.4.x agent version for some reason, please try to add below arguments in JVM option:&lt;/P&gt;
&lt;PRE&gt;-Dappdynamics.agent.log4j2.disabled=true -Dlog4j.ignoreTCL=true&lt;/PRE&gt;

&lt;P&gt;Let me know if this helped you.&lt;/P&gt;

&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;Naoto&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/138564"&gt;@Naoto.Yamamoto&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Odair,&lt;/P&gt;

&lt;P&gt;Thanks for posting the question on the Community.&lt;/P&gt;

&lt;P&gt;We identified a similar issue on your agent version:4.5.x, so could you try below steps to use 4.4.x agent version instead?&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Please back up current agent directory&lt;/LI&gt;
&lt;LI&gt;Try 4.4.x agent version in new agent directory and restart JVM node process with new agent path.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;If you cannot use 4.4.x agent version for some reason, please try to add below arguments in JVM option:&lt;/P&gt;
&lt;PRE&gt;-Dappdynamics.agent.log4j2.disabled=true -Dlog4j.ignoreTCL=true&lt;/PRE&gt;

&lt;P&gt;Let me know if this helped you.&lt;/P&gt;

&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;Naoto&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I can't change the agent version &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;I tried to add the parameters but without success.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;This is my application start command.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;/usr/bin/java -javaagent:/opt/appdynamics/appdynamics-serveragent/javaagent.jar -Dappdynamics.agent.applionName=myApi&amp;nbsp;-Dappdynamics.agent.tierName=myApi&amp;nbsp;&lt;STRONG&gt;-Dappdynamics.agent.log4j2.disabled=true&lt;/STRONG&gt; -Dlog4j.configurationFile=/opt/apl/myPaste/conf/log4j2.xml -Dapp.version=0.0.1-181 &lt;STRONG&gt;-Dlog4j.ignoreTCL=true&lt;/STRONG&gt; -Dconfig.properties=/opt/apl/myPaste/conf/application.properties -jar /opt/apl/myPaste/bin/myApi.jar&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The error remains the same.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 11:00:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/NoClassDefFoundError-JsonProcessingException/m-p/737710#M10556</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-01-11T11:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: NoClassDefFoundError:JsonProcessingException</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/NoClassDefFoundError-JsonProcessingException/m-p/737711#M10557</link>
      <description>&lt;P&gt;Hi Odair,&lt;/P&gt;

&lt;P&gt;It seems you are monitoring standalone Java application, so you can safely and easily test 4.4.x version. Download link for 4.4.3 version is &lt;A href="https://download.appdynamics.com/download/%22%20%5Cl%20%22search=4.4+java+&amp;amp;page=1" target="_blank" data-saferedirecturl="https://www.google.com/url?q=https://download.appdynamics.com/download/%2522%2520%255Cl%2520%2522search%3D4.4%2Bjava%2B%26page%3D1&amp;amp;source=gmail&amp;amp;ust=1547627737173000&amp;amp;usg=AFQjCNEjHuhNyNK9tipvMgu5IKe947wIYw" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;here&lt;/SPAN&gt;&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;If you have restriction to use 4.5.x version, then I am sorry to say that this is unresolved bug for 4.5.x agent now. I will keep the progress information updated here in that case.&lt;/P&gt;

&lt;P&gt;Let me know if this helped you.&lt;/P&gt;

&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;Naoto&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 00:30:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/NoClassDefFoundError-JsonProcessingException/m-p/737711#M10557</guid>
      <dc:creator>Naoto_Yamamoto</dc:creator>
      <dc:date>2019-01-16T00:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: NoClassDefFoundError:JsonProcessingException</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/NoClassDefFoundError-JsonProcessingException/m-p/737712#M10558</link>
      <description>&lt;P&gt;We also experience this bug.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Version 4.4.3 doesn't fix this issue. When can we expect a solution for this bug?&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 14:47:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/NoClassDefFoundError-JsonProcessingException/m-p/737712#M10558</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-05-28T14:47:43Z</dc:date>
    </item>
  </channel>
</rss>

