Page 2 of 3

PostPosted: Sun Mar 30, 2008 3:07 pm
by pbakker

Did you also change the lib name in the \plugins\JasperPluginRMI.jar.jnlp file? In there there is probably a reference to JasperReports.jar, whereas the new name is JasperReprots2.0.5.jat (or something close to that).


PostPosted: Mon Mar 31, 2008 8:10 am
by Hans Nieuwenhuis
No i did not change the \plugins\JasperPluginRMI.jar.jnlp.
I renamed the jasperreports-2.0.5.jar to jasperreports.jar

PostPosted: Mon Mar 31, 2008 9:50 am
by pbakker
That also works :-)

As for the error you're receiving: to me it looks like an issue with Jasper Reports itself. Eitehr a bug in their new engine or a bug in their 2.0.4 to 2.0.5 converter.


PostPosted: Mon Mar 31, 2008 10:25 am
by Hans Nieuwenhuis
Does Servoy have contacts with the Jasper guys/girls ?

Can you discuss this with them, so we get 2.0.5 working with the Jasper plugin ? Or ??



PostPosted: Mon Mar 31, 2008 11:10 am
by pbakker
We do not have special contacts with JasperSoft.

Did you check their forums allready to seem if this is a known issue of some sort?


PostPosted: Tue Apr 01, 2008 9:33 pm
by pbakker
When you compile your report in iReports, do you see any problems in the Problems tab?

I've seen cases where the report runs fine in iReports, but iReports IS seeing problems, but just quietly reporting them in the Problems tab, whereas if you run the report on the Server, like the Jasper Plugin does, it raises an error.

I've checked the jasper forums, but no-one reported this yet.

Did you get any further with it? Does it go wrong with all reports? Or just one? Or all reports that were build in iReports 2.0.4?


BTW: teh pen tag does seem to be related to the borders, as you suggested

PostPosted: Wed Apr 02, 2008 3:17 am
by sbutler
If you still can't see the problem, please email me, and I can attempt to recompile the plugin against the latest Jasper jars.

PostPosted: Mon Apr 07, 2008 8:05 pm
by Hans Nieuwenhuis
Thanks to Hans-Peter Minnig i found out that my problem was the
version of the Jasper plug-in.

I used the version that i downloaded from the link i received from Servoy after the purchase.

I now use the version that i got from Hans-Peter and this works fine !!

Is there a way to check the version of the plug-in and is there a
way to check for available new-versions and upgrade ?


Hans Nieuwenhuis

PostPosted: Mon Apr 07, 2008 8:30 pm
by pbakker
Very interesting, since the beta version Hans-Peter uses has got no changes in the area of the way the report requests are dealt with toward the Jasper engine.

If a new version of the plugin will be released, it will be anounced.


PostPosted: Mon Apr 07, 2008 9:33 pm
by Hans Nieuwenhuis
Found out what the problem is and how it happened.

When i installed the Jasper plugin i simply downloaded the version from the Servoy site and installed it.

When i installed 2.0.5 of iReport i renamed the jasperreports.jar in the directory jasperPluginRMI to jasperreports_org.jar and then copied the file jasperreports-2.0.5.jar from the ireport directory and renamed it to jasperreports.jar

If you do this then yoy get the "topPen" error.

If you delete the file jasperreports_org.jar the problem is gone !!!!

PostPosted: Mon Apr 07, 2008 10:00 pm
by pbakker
Aha, yes, that sounds logical: Servoy loads all the jars in the dirs, regardless their name.

So, in your case, you had basically the old and new Jasper jars there and then either the new or the old one gets used.

Always remove old jars from the plugins (and subdirs), the lib dir and the beans dir...

If you wonder why it works this way when you have to specify the name in the jnlp file anyway: the jnlp file is used to send jars to the Client, when starting a Client. The issue you encountered is a conflict ServerSide, so the jnlp has nothing to do with it.

Glad the issue is solved.


Re: Jasper Reports / Ireports 2.0.5 supports Rtf / Html

PostPosted: Wed Apr 08, 2009 4:27 pm
by mike65
I'm trying to design a report with data and an image taken from a table built in Servoy 3.5.9.
I want insert an image into a print made with iReport 3.0.0?
While the report correctly displays all the data fields, I do not know how to display the column that contains the image.
I do not know how to show it and put it in print.
Can someone tell me how to do?

Re: Jasper Reports / Ireports 2.0.5 supports Rtf / Html

PostPosted: Wed Apr 08, 2009 11:00 pm
by Thomas Parry
The image from a database requires a little sleuthing on the iReport forum .. but her is my approach.

Try this:
Assume that the BLOB field/column in the database is called "product_image":
1. create a variable(give it a name such as "productImage"
2. specify the type to be
3. define the variable expression to use:
Code: Select all

4. specify an image to be placed on the design - do not specify any file location
5. for the image properties specify the expression class as
5. specify the image expression as the variable "productImage"
6. adjust other image properties to suit.

I tested this with iReport 3.5.0 :)


Re: Jasper Reports / Ireports 2.0.5 supports Rtf / Html

PostPosted: Thu Apr 09, 2009 11:00 am
by mike65
Just two things.
The Customer image in page-header is highlighted correctly, just after the 1st page, while customer data are shown correctly even in 1st page, why?
Jasper 3.0 works well, while version 3.5 does not show the database fields. The connection is ok! Why?
Thanks Thomas, you saved my life.

Re: Jasper Reports / Ireports 2.0.5 supports Rtf / Html

PostPosted: Thu Apr 09, 2009 9:43 pm
by Thomas Parry
I am not understanding your information.
For my test I used the sample servoy crm database udm and produced the pdf attached. I also have the jrxml for version 3.0.0 in case anyone wants to test drive it.