I have problems with reports on my Server. When I use any charts in reports they don’t show when I put them on the Server. In Developer everything works perfectly, but when I try to use them on my productive environment, nothing happens. There’s no error, I also checked the Server Log, but nothing in there. Where else could I check?
I can take a report that works fine, just add a simple chart and nothing happens anymore. I use the exact same plugins on Server as on my Dev machine.
OS X 10.6.7
Servoy Version: 4.1.7 - build 690
iReport 3.6.2
servoy_jasperreports_3.2.0.jar
When it didn’t work with the plugins that I’ve had installed for a while, I updated to the latest version, but that didn’t help either.
I created a very simple solution that uses the Servoy example_data server. I have the same effect as with my solution - it works on Developer, but not on Server. Reports without Charts work fine…
Thank you for your samples.
We tried to reproduce the indicated issue and could not. There are two things that could pose problems:
the report SQL query does not work with PostgreSQL; the “year” function is not working properly in your report; are you using a different database?
your screenshot shows you are using a ChartCustomizers2.jar; are you using it to do something special in your chart report? and if you are using, are you specifying this in your JNLP file?
Hello Andrei
Thanks for your reply. I’m not really surprised that you couldn’t reproduce it. I think it is very strange, especially because there’s no error.
As to your questions…
In my solution I’m using MySQL on both machines. The sample solution was done with SQL Anywhere 10. Same behavior with both DBs.
I’m using it for some other report, but not most of them and also not for the sample solution. I use it to be able to attribute a color to a certain category in a pie chart (http://mdahlman.wordpress.com/2011/04/1 … omizers-2/). Where would I have to specify that? I did set the class path in the iReport preferences and the Customizer Class in the report, but would that influence solutions without this functionality? I also just removed the jar on the server, restarted the server, but that didn’t help either…
specify the chartCustomizer jar in the JNLP file (the servoy_jasperreports.jar.jnlp file)
test if this issue also occurs using a higher version of Servoy (Servoy 5.2.x)
If the problem persists, please file a case with our support system and also provide a sample solution and report along with it (maybe two reports: one which uses the customizer and one which does not, but that would both cause the problem for you).