chandu2k2004 Posted July 22, 2019 Share Posted July 22, 2019 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)ThanksChandra Link to comment Share on other sites More sharing options...
C-Box Posted July 24, 2019 Share Posted July 24, 2019 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 More sharing options...
chandu2k2004 Posted July 24, 2019 Author Share Posted July 24, 2019 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.0Ant-Version: Apache Ant 1.7.1Created-By: 17.1-b03 (Sun Microsystems Inc.)Built-By: JaspersoftName: net/sf/jasperreports/engine/Specification-Title: JasperReports LibrarySpecification-Version: 3.7.6Specification-Vendor: JaspersoftImplementation-Title: net.sf.jasperreports.engineImplementation-Version: 3.7.6Implementation-Vendor: Jaspersoftjasperreports-3.7.6.jar (https://mvnrepository.com/artifact/net.sf.jasperreports/jasperreports/3.7.6)Manifest-Version: 1.0Archiver-Version: Plexus ArchiverCreated-By: Apache MavenBuild-Jdk: 1.6.0_22Built-By: JaspersoftName: net/sf/jasperreports/engine/Implementation-Title: net.sf.jasperreports.engineImplementation-Vendor: JaspersoftImplementation-Version: 3.7.6Specification-Title: JasperReports LibrarySpecification-Vendor: JaspersoftSpecification-Version: 3.7.6 ThanksChandra Link to comment Share on other sites More sharing options...
C-Box Posted July 25, 2019 Share Posted July 25, 2019 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 + regardsC-Box Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now