1 Reply Latest reply on Aug 2, 2011 11:44 AM by Sam Corbett

    jboss.web JMX info in AS7

    Sam Corbett Newbie

      JBoss AS6 exposed a number of webserver statistics like HTTP request and error counts via JMX.  They were accessible with queries like "jboss.web:type=GlobalRequestProcessor,name=http-*"

       

      Is there a trick to getting AS7 to reveal jboss.web data via JMX?  Try as I may, I can't get at it.

        • 1. Re: jboss.web JMX info in AS7
          Sam Corbett Newbie

          I note that jboss-admin.sh can give the data I'm after with the http connector:

           

          [standalone@localhost:9999 /] /subsystem=web/connector=http:read-resource(include-runtime=true)

          {

              "outcome" => "success",

              "result" => {

                  "bytesReceived" => "0",

                  "bytesSent" => "2077",

                  "errorCount" => "0",

                  "maxTime" => "55",

                  "processingTime" => "59",

                  "protocol" => "HTTP/1.1",

                  "requestCount" => "4",

                  "scheme" => "http",

                  "socket-binding" => "http",

                  "ssl" => undefined,

                  "virtual-server" => undefined

              }

          }

           

          Can a JMX connector be used for the same query?