I’ve got problems with JasperReports on Servoy 3.5.10. When I use the ‘view’ property a blank screen appears in the client. But when doing it in the developer is work correctly. When I use the ‘pdf’ propety I get this error message:
The culprit is probably an iText jar that is not the correct version for the iReports/JasperReports version that you are using.
From your error message it looks like the typical pdf output is not correct version(com.lowagie.text.pdf…)
Please tell us your configuration and versions of the servoy jasperreports plugin.
There is a new version of the 3.0.0 alpha (yes it can work in 3.5.10 with care).
Phil,
for your situation of using iReports 3.0.0 the servoy_jasperreports.jar version 2.1.5 should be ok when using Servoy 3.5.x
Although you still have to be careful about the version of the iText being used in the plugins directory to be compatible.
If using Servoy 3.5.x and you want to use the latest iReports (which I recommend - 3.5.2 - because the classic version (< 3) will not be supported and more features are being added) then the dependent jar files are also required to be upgraded. You can use the latest servoy_jasperreports 3.0.0 alpha 2 from the google code page - in theory the libs/jars etc dependencies are fixed.
Remember that you should have ONLY one version of the servoy_jasperreports in your plugins directory.
I also had considerable difficulty getting JasperReports to work well with 3.5.10. My goal was to produce output in the Viewer, PDF and Excel formats, on both Mac and PC. After much struggling, I finally got a configuration to work.
I found:
There were multiple copies of iText in my plugins directory. Search sub folders to make sure you only have one copy.
There were multiple copies of other Jars in sub folders (I recall multiple copies of the commons.jar)
I had an old Servoy Jasper Reports RMI folder that I had to get rid of.
I have a final plugins folder that contains everything needed for cross-platform support on Servoy 3.5.10 and works with iReports 3.5.2. If you want a copy of it, contact me, and I will email it to you. It is 8 megs and too big to upload.
Gary,
would you be so kind as to email me with the essentials of the plugin “fixes” and the servoy jasper reports jnlp. I can then post on my tips page: http://www.prospect-saas.biz/gpage.html
…and welcome to the frustrated jasper reports plugin “club” as a graduate