Jump to content
We've recently updated our Privacy Statement, available here ×

Jasper report generation taking more time on openjdk compare to oracle jdk


chandu2k2004

Recommended Posts

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)

jsper_report_on_oracle_jdk.jpg.51238f42fcdaf16c3b9d99c418b7095c.jpg

Below is the time taken by report on oracle jdk6.(first column is time taken in seconds)

jsper_report_on_oracle_jdk.jpg.6aac0c0b5b20b75c03257770dd1fe02f.jpg

Thanks

Chandra

jsper_report_on_open_jdk.jpg.d23f990879dd68a9ae6a4e3fc35dcedb.jpg

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...