<?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: JMX ActiveSession metric collection deactivated after Tomcat restart for few instances in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/JMX-ActiveSession-metric-collection-deactivated-after-Tomcat/m-p/725051#M4511</link>
    <description>&lt;P&gt;Hi &lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/161240"&gt;@Stephane.Babouhot&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I found this info. I hope it helps out or at leaves gives you a lead.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The JMX metrics are published by the JVM and javaagent fetches are reports those metrics (without any computation).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL dir="auto"&gt;
&lt;LI&gt;has a custom JMX rule configured for the activeSession? &lt;/LI&gt;
&lt;LI&gt;check mbean browser &lt;A href="https://docs.appdynamics.com/appd/22.x/latest/en/application-monitoring/configure-instrumentation/configure-jmx-metrics-from-mbeans" target="_blank" rel="nofollow noopener noreferrer"&gt;(https://docs.appdynamics.com/display/PRO45/Configure+JMX+Metrics+from+MBeans&lt;/A&gt; - access mbean browser) to see what is the value of active session being reported there&lt;/LI&gt;
&lt;LI&gt;check with the application team as to what is the exact mbean pattern where the application/container/server is publishing the activeSession. It could be possible the actual&lt;SPAN&gt; &lt;/SPAN&gt;&lt;CODE&gt;activeSession&lt;/CODE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;count is being published under some other mbean. In that case, we will need to configure custom JMX rule on that mbean and attribute.&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Thu, 01 Dec 2022 23:30:21 GMT</pubDate>
    <dc:creator>iamryan</dc:creator>
    <dc:date>2022-12-01T23:30:21Z</dc:date>
    <item>
      <title>JMX ActiveSession metric collection deactivated after Tomcat restart for few instances</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/JMX-ActiveSession-metric-collection-deactivated-after-Tomcat/m-p/725048#M4508</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;we have a Tiers application with 4 nodes corresponding to Tomcat applications. We restart these applications every evening at 22:00. For 2 of 4 nodes, metrics correspond to JMX.ActiveSession is no longer collected after startup until around 10:00 the day after. It is fixed without any action but comes again the day after.&lt;/P&gt;
&lt;P&gt;4 Nodes are managed the same with chef deployment.&lt;/P&gt;
&lt;P&gt;Here are versions of the components :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Server Agent #22.5.0.33845 v22.5.0 GA compatible with 4.4.1.0 rd9770530415f19f4c5154a80772b833db8dd7cee release/22.5.0&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;AppDynamics Controller build 22.10.1-611&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Here is a screenshot extracted from Metrics Browser :&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class=""&gt; &lt;/DIV&gt;
&lt;DIV class=""&gt; &lt;/DIV&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Missing_ActiveSeesion.png" style="width: 999px;"&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/36568i479BBA5757264199/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;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Missing_ActiveSession_2nodes.png" style="width: 999px;"&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/36573iB1DFA523673B71F0/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;Thanks for your suggestion and analysis of the potential root-cause.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 13:47:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/JMX-ActiveSession-metric-collection-deactivated-after-Tomcat/m-p/725048#M4508</guid>
      <dc:creator>Stephane_Babouh</dc:creator>
      <dc:date>2022-11-30T13:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: JMX ActiveSession metric collection desactivated afetr Tomcat restart for few instances</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/JMX-ActiveSession-metric-collection-deactivated-after-Tomcat/m-p/725049#M4509</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Here are screenshot extracted from Metrics Browser :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Missing_ActiveSeesion.png" style="width: 999px;"&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/36572i764BDEA2D0F94C0C/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;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Missing_ActiveSession_2nodes.png" style="width: 999px;"&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/36576i79E44F4D91964DDB/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;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 13:48:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/JMX-ActiveSession-metric-collection-deactivated-after-Tomcat/m-p/725049#M4509</guid>
      <dc:creator>Stephane_Babouh</dc:creator>
      <dc:date>2022-11-30T13:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: JMX ActiveSession metric collection desactivated afetr Tomcat restart for few instances</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/JMX-ActiveSession-metric-collection-deactivated-after-Tomcat/m-p/725050#M4510</link>
      <description>&lt;P&gt;Here is part of agent log file with error raised :&lt;/P&gt;&lt;P&gt;[AD Thread-Metric Reporter1] 28 Nov 2022 22:21:27,700 WARN AgentErrorProcessor - Agent error occurred, [name,transformId]=[com.singularity.JMX.JMXDomainFinder - java.lang.ClassNotFoundException,2147483647]&lt;BR /&gt;[AD Thread-Metric Reporter1] 28 Nov 2022 22:21:27,700 WARN AgentErrorProcessor - 4 instance(s) remaining before error log is silenced&lt;BR /&gt;[AD Thread-Metric Reporter1] 28 Nov 2022 22:21:27,700 ERROR JMXDomainFinder - Error occurred while trying to query MBean Server during version check -&lt;BR /&gt;java.lang.ClassNotFoundException: com.ibm.ws.security.core.SecurityContext&lt;BR /&gt;at com.sun.jmx.mbeanserver.ClassLoaderRepositorySupport.loadClass(ClassLoaderRepositorySupport.java:232) ~[?:1.8.0_232]&lt;BR /&gt;at com.sun.jmx.mbeanserver.ClassLoaderRepositorySupport.loadClass(ClassLoaderRepositorySupport.java:144) ~[?:1.8.0_232]&lt;BR /&gt;at com.sun.jmx.mbeanserver.SecureClassLoaderRepository.loadClass(SecureClassLoaderRepository.java:52) ~[?:1.8.0_232]&lt;BR /&gt;at com.singularity.ee.agent.appagent.services.jmxservice.appserver.JMXDomainsFinder.tryLoadingClassFromMBeanServerClassLoaderRepository(JMXDomainsFinder.java:347) ~[appagent.jar:Server Agent #22.5.0.33845 v22.5.0 GA compatible with 4.4.1.0 rd9770530415f19f4c5154a80772b833db8dd7cee release/22.5.0]&lt;BR /&gt;at com.singularity.ee.agent.appagent.services.jmxservice.appserver.JMXDomainsFinder.getAttributeFromWebSphereMBeanServer(JMXDomainsFinder.java:328) ~[appagent.jar:Server Agent #22.5.0.33845 v22.5.0 GA compatible with 4.4.1.0 rd9770530415f19f4c5154a80772b833db8dd7cee release/22.5.0]&lt;BR /&gt;at com.singularity.ee.agent.appagent.services.jmxservice.appserver.JMXDomainsFinder.checkIfMBeanServerSupportsMBeanServerInfo(JMXDomainsFinder.java:254) ~[appagent.jar:Server Agent #22.5.0.33845 v22.5.0 GA compatible with 4.4.1.0 rd9770530415f19f4c5154a80772b833db8dd7cee release/22.5.0]&lt;BR /&gt;at com.singularity.ee.agent.appagent.services.jmxservice.appserver.JMXDomainsFinder.loadAndGetDomainMapping(JMXDomainsFinder.java:111) ~[appagent.jar:Server Agent #22.5.0.33845 v22.5.0 GA compatible with 4.4.1.0 rd9770530415f19f4c5154a80772b833db8dd7cee release/22.5.0]&lt;BR /&gt;at com.singularity.ee.agent.appagent.services.jmxservice.appserver.common.ServerMBeanManager.run(ServerMBeanManager.java:236) ~[appagent.jar:Server Agent #22.5.0.33845 v22.5.0 GA compatible with 4.4.1.0 rd9770530415f19f4c5154a80772b833db8dd7cee release/22.5.0]&lt;BR /&gt;at com.singularity.ee.util.javaspecific.scheduler.AgentScheduledExecutorServiceImpl$SafeRunnable.run(AgentScheduledExecutorServiceImpl.java:122) ~[appagent.jar:Server Agent #22.5.0.33845 v22.5.0 GA compatible with 4.4.1.0 rd9770530415f19f4c5154a80772b833db8dd7cee release/22.5.0]&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_232]&lt;BR /&gt;at com.singularity.ee.util.javaspecific.scheduler.ADFutureTask$Sync.innerRun(ADFutureTask.java:320) ~[appagent.jar:Server Agent #22.5.0.33845 v22.5.0 GA compatible with 4.4.1.0 rd9770530415f19f4c5154a80772b833db8dd7cee release/22.5.0]&lt;BR /&gt;at com.singularity.ee.util.javaspecific.scheduler.ADFutureTask.run(ADFutureTask.java:140) ~[appagent.jar:Server Agent #22.5.0.33845 v22.5.0 GA compatible with 4.4.1.0 rd9770530415f19f4c5154a80772b833db8dd7cee release/22.5.0]&lt;BR /&gt;at com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.access$301(ADScheduledThreadPoolExecutor.java:119) ~[appagent.jar:Server Agent #22.5.0.33845 v22.5.0 GA compatible with 4.4.1.0 rd9770530415f19f4c5154a80772b833db8dd7cee release/22.5.0]&lt;BR /&gt;at com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.run(ADScheduledThreadPoolExecutor.java:238) ~[appagent.jar:Server Agent #22.5.0.33845 v22.5.0 GA compatible with 4.4.1.0 rd9770530415f19f4c5154a80772b833db8dd7cee release/22.5.0]&lt;BR /&gt;at com.singularity.ee.util.javaspecific.scheduler.ADThreadPoolExecutor$Worker.runTask(ADThreadPoolExecutor.java:694) ~[appagent.jar:Server Agent #22.5.0.33845 v22.5.0 GA compatible with 4.4.1.0 rd9770530415f19f4c5154a80772b833db8dd7cee release/22.5.0]&lt;BR /&gt;at com.singularity.ee.util.javaspecific.scheduler.ADThreadPoolExecutor$Worker.run(ADThreadPoolExecutor.java:726) ~[appagent.jar:Server Agent #22.5.0.33845 v22.5.0 GA compatible with 4.4.1.0 rd9770530415f19f4c5154a80772b833db8dd7cee release/22.5.0]&lt;BR /&gt;at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 13:52:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/JMX-ActiveSession-metric-collection-deactivated-after-Tomcat/m-p/725050#M4510</guid>
      <dc:creator>Stephane_Babouh</dc:creator>
      <dc:date>2022-11-30T13:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: JMX ActiveSession metric collection deactivated after Tomcat restart for few instances</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/JMX-ActiveSession-metric-collection-deactivated-after-Tomcat/m-p/725051#M4511</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/161240"&gt;@Stephane.Babouhot&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I found this info. I hope it helps out or at leaves gives you a lead.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The JMX metrics are published by the JVM and javaagent fetches are reports those metrics (without any computation).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL dir="auto"&gt;
&lt;LI&gt;has a custom JMX rule configured for the activeSession? &lt;/LI&gt;
&lt;LI&gt;check mbean browser &lt;A href="https://docs.appdynamics.com/appd/22.x/latest/en/application-monitoring/configure-instrumentation/configure-jmx-metrics-from-mbeans" target="_blank" rel="nofollow noopener noreferrer"&gt;(https://docs.appdynamics.com/display/PRO45/Configure+JMX+Metrics+from+MBeans&lt;/A&gt; - access mbean browser) to see what is the value of active session being reported there&lt;/LI&gt;
&lt;LI&gt;check with the application team as to what is the exact mbean pattern where the application/container/server is publishing the activeSession. It could be possible the actual&lt;SPAN&gt; &lt;/SPAN&gt;&lt;CODE&gt;activeSession&lt;/CODE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;count is being published under some other mbean. In that case, we will need to configure custom JMX rule on that mbean and attribute.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 01 Dec 2022 23:30:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/JMX-ActiveSession-metric-collection-deactivated-after-Tomcat/m-p/725051#M4511</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2022-12-01T23:30:21Z</dc:date>
    </item>
  </channel>
</rss>

