Report to Jasperreports returning blank pdf table

Asked

Viewed 166 times

0

Good morning, I have a system in javaEE Primefaces and Jsf, I created the reports with Jasperreports, it was all worked, but after an update of the Instancia linux ec2 AWS, the reports are returned to the PDF tables without data only the grid, the intriguing is that if I run WAR from a local contener using the dB of the cloud, generates the right report, when I use the same War in the cloud machine the reports return blank, comes the rows and columns according to the amount of data that would be displayed, but blank.

  • From the information you’ve gone through, I believe it’s a source-related problem. See if the sources used by the report are available on the server. To not be dependent on the fonts installed on the server use the Jasper Extension fonts, generate a jar containing the fonts used by the reports and place in the application’s build path. This link explains how to do this: https://community.jaspersoft.com/wiki/custom-font-extension

  • That’s right, problem solved, thanks.

1 answer

1


Check that the sources used by the report are available on the server. To not be dependent on the sources available on the server you can use the Jasper Extension fonts and generate a jar containing the fonts used by the reports, placing it in the build path of the application. For further instructions on how to do this follow this link: community.jaspersoft.com/wiki/custom-font-font-Extension

Browser other questions tagged

You are not signed in. Login or sign up in order to post.