Hi,
We have recently moved from oracle jdk 6 to open jdk 7. And we have observed generating pdf using jasper taking long time on openjdk compare to oracle jdk.
we are using jasperreports-javaslow-3.7.6.jar library.
Is anybody having same issue? Any suggestions please.
Below is the time taken by report on openjdk7. (first column is time taken in seconds)
Below is the time taken by report on oracle jdk6.(first column is time taken in seconds)
Thanks
Chandra
3 Answers:
What should be a "jasperreports-javaslow-3.7.6.jar" ????
Is this just a rename of the orginal jasperReports library 3.7.6 by JasperSoft vendor because it's slow performance or is it a customized version of the library by someone else with changed code?!?
regards
C-Box
Hi, It looks like build by Jaspersoft. See below.
Is it cause slow performace? Do i need to upgrade? Please suggest. I see original jasperreport library it is also build by jaspersoft.
jasperreports-javaflow-3.7.6.jar (I am using) - https://sourceforge.net/projects/jasperreports/files/archive/jasperreports/JasperReports%203.7.6/
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 17.1-b03 (Sun Microsystems Inc.)
Built-By: Jaspersoft
Name: net/sf/jasperreports/engine/
Specification-Title: JasperReports Library
Specification-Version: 3.7.6
Specification-Vendor: Jaspersoft
Implementation-Title: net.sf.jasperreports.engine
Implementation-Version: 3.7.6
Implementation-Vendor: Jaspersoft
jasperreports-3.7.6.jar (https://mvnrepository.com/artifact/net.sf.jasperreports/jasperreports/3.7.6)
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Build-Jdk: 1.6.0_22
Built-By: Jaspersoft
Name: net/sf/jasperreports/engine/
Implementation-Title: net.sf.jasperreports.engine
Implementation-Vendor: Jaspersoft
Implementation-Version: 3.7.6
Specification-Title: JasperReports Library
Specification-Vendor: Jaspersoft
Specification-Version: 3.7.6
Thanks
Chandra
Okay it was just a spelling error in your initial post... "jasperreports-javaflow-3.7.6.jar" ... :-)
So this is a version of the library that doesn't use Threads for rendering SubReports.... this is important for EJB application server usage, as be definition the application should not start new threads by itself within a deployed EJP context. (so just as far as I know, we used that version in JBoss 4.x some years ago, but we did not have any performance issues with that, but also used normal oracle java versions)
But I doubt, that this is the cause of your slowness.... updating to a newer version of JasperReport could help... just give it a try. 3.7.6 is a bit very old fashioned.
Why do you switch to Open JDK7 actually?
hth + regards
C-Box