Hello All - I finally got my issue with enabling web sessions metric in JON 3.1.1 with jboss-as-7-plugin resolved. It was that hard after all. I was just not paying attention to what the CLI was returning when I try to read the resource for the web sub system. All I had to do was update my updated deployment descriptor for the plugin using the values from the management interface i.e. running ./jboss-cli.sh --connect controller=ip:9999 "/deployment==xxx.war/subsystem=web:read-resource(include-runtime=true)" and use the values from that command's output the updated descriptor (see attachment). I have tried to do the same thing for servlet but I think I was missing something because when I run the following command ./jboss-cli.sh --connect controller=ip:9999 "/deployment=earName.ear/subdeployment=warName.war/subsystem=web/servlet=servletName:read-resource(include-runtime=true)" and included that output in my updated deployment descriptor The values from the monitor for those metrics were NaN. So I removed them for the time being since that was not what I needed. Anyhow thank you all for your suggestions and help.
rhq-users@lists.stg.fedorahosted.org