pest Posted July 11, 2012 Share Posted July 11, 2012 hi,i have the following problem.we have reports in our jasperreport server ce 4.5.0 which generate several outputs (depending on the input-control) once a week.But for one report the jobs generate outputs several times, so that there will be the following (in this case 3) pdf files generated by ONE job output_report_a-201207090300.pdf output_report_a-201207090305.pdf output_report_a-201207090320.pdfand emails will be sent 3 times too for this job all in all we have 7 jobs for this report 1 jobs will be generated once 1 jobs will be generated twice 5 jobs will be generated 3 times all jobs for other reports works fine and as aspected Code: Link to comment Share on other sites More sharing options...
jshawley Posted July 12, 2012 Share Posted July 12, 2012 I am having this exact same issues as well. Does anyone have any idea why the reports will be created so many times? Link to comment Share on other sites More sharing options...
gdmoreno Posted July 12, 2012 Share Posted July 12, 2012 It's interesting that you're getting this error in your stack trace: "com.jaspersoft.jasperserver.api.JSException: jsexception.report.resource.already.exists.no.overwrite"In the output settings screen (the second step when scheduling jobs), did you activate the "sequential file names" option? I would try that, and leave the default value, which appears as "(default)".The error suggests that the server is trying to write a report but then doesn't because it found the same report name already there. By adding the sequential file names option, you're at least getting rid of that possibility. Link to comment Share on other sites More sharing options...
jshawley Posted July 12, 2012 Share Posted July 12, 2012 I have reports that have been setup in both ways, and we saw no difference. This report is a longer running report, if that has any difference. I had see a bug in 4.0 that cause this, but it appeared that this had been fixed in the releases past 4.0. Link to comment Share on other sites More sharing options...
kcd Posted July 17, 2012 Share Posted July 17, 2012 org.quartz.jobStore.misfireThreshold and org.quartz.jobStore.clusterCheckinInterval appear to be very short (3 and 15 minutes)http://community.jaspersoft.com/questions/541168/missing-duplicate-reports-being-sent Link to comment Share on other sites More sharing options...
pest Posted July 23, 2012 Author Share Posted July 23, 2012 thanks this works Post Edited by pest at 07/23/2012 08:06 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