5 Replies Latest reply on Jun 12, 2007 10:14 AM by peterj

    JBoss Server Response Time

    lbrd

      hi

      can anybody tell me that "how can i get the Server Response Time?" for JBoss 4.x.

      is there any MBean which contain the Jboss average response time.?
      OR
      we need to start any service.


      lbrd.

        • 1. Re: JBoss Server Response Time
          ywtsang

          Is there any answer for this question?

          As I find that some comerical monitoring software can show the "Server Response Time" for JBoss, I think it would be possible to get the "Server Response Time" by ourselves.

          (In my opinion, the "Server Response Time" for JBoss can mean the response time for the JBoss to finish a request from a remote client (e.g. remote EJB, a web request, etc))

          Anyone can give a hint for this problem?

          Thanks.

          • 2. Re: JBoss Server Response Time
            alesj
            • 3. Re: JBoss Server Response Time
              peterj

              If you want to code your own, look at the various MBeans under jboss.management.local. The ones that contain j2eeType=XXXSessionBean have a Stats attribute that maintains response times for each method in an EJB. The one ones with j2eeType=Servlet have a Stats attribute that tracks response time for the servlet.

              Also, under jboss.web, look at the MBeans whose name contains type=RequestProcessor, there is one for each thread handling http input. The maintain request counts, total time, and min/max time.

              These are just some of the MBeans used by JBossON to present its data.

              • 4. Re: JBoss Server Response Time
                ywtsang

                Is there any documentation/reference about the MBean details under jboss.management.local?

                I can get the statistics of stateless session bean from your guideline (from the other thread by following the source code of twiddle), but I also want to know the complete reference of the details of jboss.management.local so that I can know what aspects of JBoss can be monitored as well.

                Thanks.

                • 5. Re: JBoss Server Response Time
                  peterj

                  The best place to look for descriptions of the attributes is in the source code, sometimes the MBean source describes the attributes.