Jump to content
We've recently updated our Privacy Statement, available here ×

  • rmiller
    • Version: v5.1 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.


    Installation

    Installation is done in just a few minutes. Download the distribution from https://code.google.com/p/javamelody/downloads/list and extract javamelody.jar and jrobin-x.jar, and place them in the WEB_INF/lib directory of the JRS application. Then add the following lines to WEB_INF/web.xml.

    <!-- Begin JavaMelody -->
        <filter>
            <filter-name>monitoring</filter-name>
            <filter-class>net.bull.javamelody.MonitoringFilter</filter-class>
        </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 -->
    

    Update as of June 2019 (current JavaMelody version is 1.77): Put the configuration settings above right after the "<!--#### CSRFGuard Configuration END ####-->" line, just before the first filter definition in web.xml.

    Another option is to add these somewhere at the top, for example 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.

    Restart the server and go to http://:/jasperserver-pro/monitoring to begin monitoring the server.

    Here is the user guide: https://code.google.com/p/javamelody/wiki/UserGuide


    Screenshots

    (click on images for larger versions)

    index.png.9cde5df18ac3348ca1ac754d9a12740d.png

    index2.png.9b905ce7a8d3c3f5dca0c82872a886ec.png

    index3.png.a13d7c5f5f7fa77187e39d777c82a74c.png

    More screenshots here: https://code.google.com/p/javamelody/wiki/Screenshots.

    index.png.8a1f2329ce1f4caab6f9ab5a588ca1e6.png

    index2.png.32c09fc5bd833ef8c5329201f6344a04.png

    index3.png.caba31026618429bdeea5c135b4cdbad.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...