Why does iReport keep adding tags that aren't supported and then crashing? - jasper-reports

First, iReport is the worst reporting tool I've ever used.
Now to my question..... iReport keeps adding tags it doesn't support, which causes a bunch of errors.
tag
<band splitType="Stretch" />
Can some please tell me how to turn this auto coding off it's really driving me up the wall. It keeps screwing up my code.
Oh I'm using 3.5.2 and don't tell me to upgrade because I can't because of the version of jasper server.

I had this problem as well, but I changed the version I used back to 3.5.0 to match the version of jasper report server as well.
EDIT: In fact this is a known problem. The splitType functionality was introduced in 3.5.2, and this is incompatible with 3.5.0. You can see this in the Jasper server forums.
So your options are to use iReport 3.5.0 or to upgrade the jar jasperreports-3.5.0.jar to jasperreports-3.5.2.jar on the Tomcat server.

You can always use a newer version of IReport and set the compatibility to the version you use on the Jasper Server.
(Options/IReport/Compatibility)

Related

How to find the jasper report compiler version of a jasper server whose version is 7.2.0

I am trying to find the version of the jasper compiler used in our jasper server (v7.2.0), and I am absolutely stumped, as I cannot find it anywhere. What server file should I look at, or is there a default version of the jasper compiler for server v7.2.0?
Thanks ahead!
Find in you server:
Path: <path_install>/webapps/jasperserver-pro/WEB-INF/lib
The lib: jasperreports-x.x.x.jar
Example, my version compiler is jasperreports-6.11.0
Regards.

Updated JasperReports jasperserver to 6.1, but can't start it

I updated jasperreports from version 5.0 to 6.1. I ran the jasperreports update script, and it appeared to run successfully. I installed it to a new folder, following all of the update directions. I am running Tomcat and Postgresql.
However, I previously started jasperreports by running a script called:
./ctlscript.sh start
from the main Jasperreports folder in a bash shell. I am now using a different folder, and the file ctlscript.sh is not there.
Did I not update this correctly? Or am I supposed to copy that file from somewhere?
Is there some other way I should be starting jasper? What do I need to do to start the server application?
Thanks!
1st of all u refer to the jasperreports server or the jasper reports API? or for the iReport or Jasper Studio IDE's? Please rework your question... 6.1 has changed dramatically from the the 5.0 u used...so be more precise on your need.
I looked back at the installation log, and indeed there was a problem with the installation. I wound up starting fresh an ran the installation, not the upgrade, and it worked.

I am getting an error while importing BIRT report to Maximo: bmxaa5457e

I am getting an error while importing a BIRT report to Maximo.
The error is
bmxaa5457e - The report import process failed. Verify the specified information is correct before proceeding again.
Note that report is correct, I got a correct preview in Eclipse. There is nothing like images or other properties related to report.
This didn't work. Java 2 security checkbox is also unchecked.
What version of Eclipse BIRT are you using to design the reports and what version of BIRT does your Maximo support? The issue might be that you're creating reports in a newer version than your Maximo supports.

Is it possible to use two different versions of JasperServer with the same website?

Summary: is it possible to serve reports created with 2 different versions of iReports in the same web front end?
Background:
I have inherited a large number of (still-functioning) reports written using iReport 2.0.1 (migrating them all to a later version is probably not an option, unless anyone knows of a brilliant/quick solution). I want to increase our ongoing reporting functionality by creating new reports in a later version of iReport (at least 3.7.1, but ideally 4.x).
System Setup:
JBossAS 4.2.1 on Server A (with apache 2.x) with JasperReports 3.5.7 also running on Server A, responsible for reports 1-100
Question:
Is it reasonable/feasible to install JasperReports 4.x on Server B (knowing that it requires a different environment than earlier versions, & so cannot also run on Server A) and have (future) reports 101 and up, created using e.g. iReport 4.x, served JBoss on Server A but parsed by the JasperReports server running on Server B?
(It may not be relevant, but our database is Postgres 8.1.3)
Thanks!
There is a tool in the Jasper distribtion that can update your JRXML files to the latest version of the schema. If you're comfortable with Ant scripts try it out:
http://jasperreports.sourceforge.net/sample.reference/antupdate/index.html
I used it sucessfully when we upgraded from Jasper 1.3 to 4.6.
Yes, it should work.
Reports working in JR 3.5.7 should also work in JR 4.2.1 (or even 4.5.0). Backwards compatibility is very good. (But it's not magically good... so you'll need to test.) You can set iReport to save to older .jrxml versions. And you would need to be careful to not use features that were introduced after 3.5.7.
You should at least test the brilliant/quick solution of just running the 100 reports in the later version of JasperReports Server. You might be pleasantly surprised to find that they just work.

Using different versions of Crystal Reports on a same server

I have a few web applications running on the same server. Recently I added crystal reports for VS 2010. I thought to use new reports for several of projects but not all. Other projects uses the older version of crystal reports
So I modified the web.config of the required projects. I downloaded runtime on both my development machine and server. So now I have both versions of asseblies (v 10 and v 13) in GAC. I have .NET 4.0 on both macines as well.
It has worked on development machine
However, when I run the same projects on server it raises an error.
CS0433: The type 'CrystalDecisions.CrystalReports.Engine.ReportClass' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\10.5.3700.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll' and 'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\13.0.2000.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll'
I am wondering why it works on my development machine and does not on server ? Do I have to configure something on server to make it happen ? Or do I need to add in someting in web.config file ?
If someknow knows it, please let me know.
Thanks in advance for your help.
I had the same problem and fixed it by commenting/deleting assembly references which refer to version 10.5.... in web.config. In addition I had to change manually correct version to register assembly="CrystalDecision.... in the .aspx file where I use Crystal report components.