How to enable JMX to FTS plugin

Version 10
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Remedy AR System Server


    COMPONENT:

    AR System


    APPLIES TO:

    8,x 9.x



    QUESTION:

    How can i enable FTS plugin to be able to connect through jvisualVM to collect thread and heap dumps?


    ANSWER:

    First locate armonitor config file (armonitor.cfg - Windows | armonitor.conf - Linux)

      Most common OOTB locations are:
      
       
    • Linux - /etc/arsystem/<servername>/armonitor.conf
    •  
    • Windows - C:\Program Files\BMC Software\ARSystem\Conf\armonitor.cfg
    Once you have located the armonitor file, open it with your favorite editor (nodpad, vi)   
      Look for the string "pluginsvr\fts"
      
       
    • Linux Example - /opt/java/path/here/java -Xmx2048 -classpath /opt/bmc/ARSystem/plugisnvr/fts/secondary:/opt
    •  
    • Windows Example - C:\Program Files\java\path\here\java -Xmx2048 -classpath "C:\Program Files\BMC Software\ARSystem\pluginsvr\fts\secondary;C:\Program Files\
    Modify armonitor file  by adding the following options between   -Xmx tag and   -classpath:  
        "--Dcom.sun.management.jmxremote.port=   8004 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false    " 
      
      
      It should look something like this
      
       
    • Linux Complete should look something like this - /opt/remedy/jre1.6.0_25/bin/java -Xmx6144m --Dcom.sun.management.jmxremote.port=8004 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -classpath /opt/remedy/ARSystem/pluginsvr/fts/secondary:/opt/remedy/ARSystem/pluginsvr/fts/core:/ opt/remedy/ARSystem/pluginsvr:/opt/remedy/ARSystem/pluginsvr/arpluginsvr81_build00 1.jar: com.bmc.arsys.pluginsvr.ARPluginServerMain -x <server hostname> -i /opt/remedy/ARSystem -m
      
        
      
       
    • Windows Complete should look something like this - "C:\Program Files\Java\jdk1.8.0_73\jre\bin\java" -Xmx3072m -Dcom.sun.management.jmxremote.port=8004 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -classpath "C:\Program Files\BMC Software\ARSystem\pluginsvr\fts\secondary;C:\Program Files\BMC Software\ARSystem\pluginsvr\fts\core;C:\Program Files\BMC Software\ARSystem\pluginsvr;C:\Program Files\BMC Software\ARSystem\pluginsvr\arpluginsvr81_build00 1.jar" com.bmc.arsys.pluginsvr.ARPluginServerMain -x <server hostname> -i "C:\Program Files\BMC Software\ARSystem" -m
    In this example above we have enabled jmx on the fts plugin and the jmx port for this plugin will be 8004 

    Restart ARServer for the change to take effect. 

    All that is required now to move forward is run jvisualVM and establish a connection on port 8004.  
    To establish connection to the jvisualVM tool follow the steps below: 

    File > Add JMX Connection  
       
    1. On the Connection: field add <server hostname>:8004
    2.  
    3. No login credentials are required for this type of setup.
    4.  
    5. Select No SSL required 
    6.  
    7. If all is correct you should now see a new jmx connection to the left navigation menu 
      
        
      
      Once this is all completed you can follow the last piece of this    Community post to take a heap dump  
      

     


    Article Number:

    000152598


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles