This functionality is obsolete and no longer supported. Please check the link here for similar functionality on version 7.8+
Modify the jasperreports.properties file to disable multi-line data processing
[toc on_off::hide=1]
This trick speeds up report generation from 2-4 times. It works great with simple, single-line tabular data but there are issues with multi-line data: the text boxes don't get re-sized, so anything beyond the first line gets cut off.
Trick: In the jasperreports.properties file, change the value of the net.sf.jasperreports.text.measurer.factory parameter
from: net.sf.jasperreports.engine.util.JdkGlyphFixTextMeasurerFactory
to: com.jaspersoft.jasperserver.api.engine.jasperreports.util.SingleLineTextMeasurerFactory
You can find the jasperreports.properties file in the /jasperserver-pro/WEB-INF/classes directory. After you make the change, the file should have this entry:
net.sf.jasperreports.text.measurer.factory=com.jaspersoft.jasperserver.api.engine.jasperreports.util.SingleLineTextMeasurerFactory
Other Performance Tips:
- Measure and Test
- Ad Hoc
- Tomcat
- Database
- JasperReports Configuration Items
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 accountSign in
Already have an account? Sign in here.
Sign In Now