In the JasperReports Server, by default, the Ad Hoc Query Timeout (seconds) field is set to 360 seconds. If you have to change the time-out value, please follow these steps:
- Log into the JasperReports Server as system administrator.
- On the Manage menu, click Server Settings.
- Click Ad Hoc Settings, set the Ad Hoc Query Timeout (seconds) field, and click Change.
To set the time-out value in the .jrxml file definition, open the .jrxml file using a text editor, and add the following properties:
net.sf.jasperreports.governor.timeout.enabled=true
net.sf.jasperreports.governor.timeout=<milliseconds>