4 Replies Latest reply on Oct 9, 2008 11:26 AM by Peter Johnson

    Monitoring j2ee transations

    Nathan Lansky Newbie

      Hi, I've been trying to figure out how to monitor j2ee transactions in jBoss (web and background). Anyone has any suggestions?

      Also, when searching the web I found jKoolOnline service which I found interesting (http://www.jkoolonline.com), anyone is using it? It claims to deliver transaction monitoring for j2ee applications as a service.

      Thanks in advance.

        • 1. Re: Monitoring j2ee transations
          Peter Johnson Master

          What, specifically, are you looking for? There are a lot of mbeans that provide throughput information for EJBs, servlets, and HTTP requests. Your first stop should be the jmx console to find the mbeans you want.

          You could also look into JON, because it understands the JBossAS mbeans, it provides a convenient mechanism to monitor such data. http://www.jboss.com/products/jbosson

          We have found jKool to be very intrusive - it instruments everything, and the data gathering mechanisms are in-process and Java based which generates huge amount of garbage. Needless to say, you do not want to use it in a production environment.

          • 2. Re: Monitoring j2ee transations
            Nathan Lansky Newbie

            What I am looking for is a way to pin point performance bottlenecks down to the method, JMS or JDBC call and being able to associate with a specific user. I am trying jKoolOnline and it seems to work provided that you specify your java filters appropriately so that not 100% of calls is getting tracked. The SpecJ test showed around <7-10% degradation with jKool.

            I dont think JMX will do this. Any other ideas?

            • 3. Re: Monitoring j2ee transations
              Nathan Lansky Newbie

               

              "PeterJ" wrote:
              What, specifically, are you looking for? There are a lot of mbeans that provide throughput information for EJBs, servlets, and HTTP requests. Your first stop should be the jmx console to find the mbeans you want.

              You could also look into JON, because it understands the JBossAS mbeans, it provides a convenient mechanism to monitor such data. http://www.jboss.com/products/jbosson

              We have found jKool to be very intrusive - it instruments everything, and the data gathering mechanisms are in-process and Java based which generates huge amount of garbage. Needless to say, you do not want to use it in a production environment.


              Also, I forgot to mention memory leaks. So what I need is a way to track and measure j2ee transactions down to the method, JMS and JDBC as well detect memory leaks. I am trying jkoolonline rigtht now and it seems to be doing both, although more testing needs to be done.


              • 4. Re: Monitoring j2ee transations
                Peter Johnson Master

                 

                I dont think JMX will do this.


                You are right, JMX will not provide the information you want. Nor will JON. I have heard of other monitoring solutions, but they are more at the host level rather than recording what goes on in the app server.