Jump to content
We've recently updated our Privacy Statement, available here ×
  • Stopping a Report Run


    Dhiraj Pahlani
    • Features: Reports Product: JasperReports® Server

    Requirement:
    Is there an option in the application to stop a report that takes more than certain amount of time to run, for example 10 seconds?

    Solution:
    This is possible by using the net.sf.jasperreports.governor.timeout property. It can be defined globally or at report-level. To define it globally you can add this property with the required timeout as the value in the jasperreports.properties file (<jasperserver-pro>/WEB-INF/classes/). Kindly note a server restart would be required for this change to take effect. And, for report-level you can define the same property in the report source.

    You can read more about this property at the below link.
    https://jasperreports.sourceforge.net/config.reference.html#net.sf.jasperreports.governor.timeout
    _____________________________________________________________________________________________________________________________________________________________
    Ref. Case #02201518


    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...