Ok
Running 4.1.3 developer.
Installed iReport 3.5.2 and downloaded jasperreports plug-in (3.5.2).
Extracted jasperreports plugin files to plug-ins directory. Restarted developer and plug-in is there.
Created local folder c:\servoyreports.
Built first report - runs fine in iReport. Added button to form in developer:
Starting SC from Dev and clicking button brings up form to view. Great
Changing format to ‘html’ outputs html file when button clicked. Great…ish…html file has lots of missing images in it
Changing format to ‘pdf’ produces no output file at all
Clicking button within web client produces no output regardless of format (ie not even view which works under SC).
Any ideas? I have read about 20 posts this morning about the version of the iText.jar, amongst other things - but all seem to apply to older versions.
With the latest of everything (servoy + jasper) are there still bits I need to fiddle with to get this to work?
I was really excited how quickly the fuirst report came up in view - but now I am getting really frustrated by chasing around all the versions of everything.
Any tips?
Welcome to the club of jasper reports plugin frustrated people!
When you say you downloaded jasperreports plug-in 3.5.2 where did you get that exactly?
Right now from the google code site there is a 2.1.5 version available and a 3.0.a1 alpha (and the svn code) which adds support to foundset. That’s it!
Hope this will answer a few of your questions, we all know that this plugin is in a very bad state right now and I hope that Servoy will take urgent action to fix it.
I copied the iText-2-1-0.jar from
C:\Program Files\JasperSoft\iReport-nb-3.5.2\ireport\modules\ext
to C:\Program Files\Servoy\application_server\plugins\pdf_output and remaned it iText.jar
restarted servoy server and now the report DOES show in the web client without error. When using ‘view’ in th web client it gets rendered as a pdf - so it opens as a pdf on the fly in another browser window.
Last annoyance is that although it works in Firefox - it doesnt in IE7
Both browsers threw a warning about a popup - which I accepted. In Firefox the popup pdf window now opens but in IE the computer beeps and the window opens for a split second before closing again. Very annoying. Anyone seen this before?
Al.
BTW jasperreports-3.5.2.jar is just the version of the jar file that came with the plug-in downloaded of the web.
Further information - if I start the webclient from within developer (ie http://localhost:8080/servoy-webclient/ … aL2E-eGVXw) then when I click on the button for the jasper report in IE7 it does work - the report appears in pdf in a new window.
When I try to access the webclient from the actual servoy server instance (ie http://server.domain:8080/servoy-webcli … J0xwblcNhg) then IE7 tries to open a second tab - which opens for less than a second, beeps, then closes. IT’s too fast for me to see whats going on
Firefox opens both instances without issues.
Now I know wveryone is going to say ‘use firefox’ but the reality is 899% of my users use IE. If I cant get IE to work then as far as they are concerned reports ‘dont work’.
Any ideas? The window opening then closing is so fast I cant even work out what its trying to do…
Fixed it - thought I should tell anyone else having the same problem.
If you want the reports to work in the browser you have to change the IE security settings so that
Automatic prompt for file downloads=enable
is set for the zone of the web server. In my case this was the ‘Internet’ zone. It’s off by default, which means it just refuses to download stuff without telling you why…(very secure!)…enabling that option gives you the normal (firefox) behaviour of prompting you to see if you want a download…after which the pdf jasperreport displays perfectly.