0 Replies Latest reply on Aug 2, 2012 9:37 AM by olivierboel

    JVM Service metrics missing for AS7

    olivierboel

      Hello,

       

       

      I successfully installed (evaluation version) JBoss ON 3.1 + JBoss AS 7.1.2 (jdk1.6.0_22) + jon-plugin-pack-eap-3.1.0.GA.zip.

      When JBoss AS 7.1.2 is started with the standalone-full-ha.xml configuration, I can see all metrics described in http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/3.1/html/Dev_Complete_Resource_Reference/index.html (3.3), except "JVM Service":

      JBossAS7.png

      I fact, I would like to see the same metrics as those shown under "JVM", for the RHQ Agent:

      RHQAgent.png

       

      I could reach my goal in the following configuration:

      1. added

      JAVA_OPTS="$JAVA_OPTS -Dorg.rhq.resourceKey=JBTEST"

      to standalone.conf

      2. installed the agent to run under the same user account as the application (as stated in https://docs.jboss.org/author/display/RHQ/Generic+JVM+Product+Configuration, "... so for a process to be accessible, it must be running as the same user as the RHQ Agent")

      Here is the result:

      JBossAS7+JMX.png

       

      Any idea how to get these metrics for AS7 with the agent running as a different user than the application?

       

       

      TIA,

       

       

      Olivier