Jump to content
We've recently updated our Privacy Statement, available here ×
  • JavaMelody Monitoring Tool - Updated


    joe.golden
    • Features: JasperReports Server, Logging Version: v8.0.2 Product: JasperReports® Server

    Introduction

    There are many times when troubleshooting the JasperReports Server when we need to see what the memory is looking like, how much time is spent garbage collecting, what the thread utilization is, database query times, etc. JavaMelody is a light-weight monitoring tool that does all of this and much more. It can be used in production environments to monitor usage trends over time and help troubleshoot issues where profilers cannot be used.


    Download

    As of April 2023 the current JavaMelody version is 1.92.0

    Download the distribution from https://github.com/javamelody/javamelody/releases Get the javamelody-core-.jar file

    The jrobin-x.jar file is now separate and can be found at: https://repo1.maven.org/maven2/org/jrobin/jrobin/1.5.9/jrobin-1.5.9.jar

    Once you have downloaded both the javamelody-core-.jar and jrobin-.jar filez, place them in the WEB_INF/lib directory of the JRS application. Be sure to set the correct ownership and access permissions.


    Installation

    Installation is done in just a few minutes. Add the following lines to WEB_INF/web.xml.

    <!-- Begin JavaMelody -->
        <filter>
            <filter-name>javamelody</filter-name>
            <filter-class>net.bull.javamelody.MonitoringFilter</filter-class>
    	     <async-supported>true</async-supported>
        </filter>
        <filter-mapping>
            <filter-name>monitoring</filter-name>
            <url-pattern>/*</url-pattern>
        </filter-mapping>
        <listener>
            <listener-class>net.bull.javamelody.SessionListener</listener-class>
        </listener>
    <!-- End JavaMelody -->
    

    Put the configuration settings at the top, right after the first <context-param> definition.

    If you add the JavaMelody configuration at the bottom of the file, uploading themes or any files to Repository will fail with JSON parse error.

    Since you are modifying the web.xml file you must restart the server.

    Once the server restarts, you can check the installation by going to http://:/jasperserver-pro/monitoring to begin monitoring the server.

    Here is the user guide: https://github.com/javamelody/javamelody/wiki/UserGuide


    Screenshots

    (click on images for larger versions)

    index.png.c783197364a2c029f2b61b0b43fc2b78.png

    index2.png.c35d264178f93870462f0d83c5bca825.png

    index3.png.a75f335a9487bee3a790ed3b549fcd82.png

    More screenshots here: https://github.com/javamelody/javamelody/wiki/Screenshots#charts

    This is an update to the original wiki page created by rmiller in 2013

    index.png.ca41a60f74eda05d3203672856f49af4.png

    index2.png.b8c75789e9df6851cb11e8cd767bc972.png

    index3.png.1ae1ca04436e5a6eea641a87f9141414.png


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...