Closed rjay1018 closed 4 years ago
@hiren-serpentcs
Hi @rjay1018 Thanks for reporting the issue
Looking at the log file, it seems like the error is while the jasper server is trying to start or there's some error while compiling the report. Can you please share the java log located in jasper_reports/java/jasperserver.log
My Log Error
Connection refused (111, 'Connection refused') 2020-07-19 09:04:37,958 19667 ERROR test odoo.addons.jasper_reports.JasperReports.jasper_server: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused') 2020-07-19 09:04:38,960 19667 ERROR test odoo.addons.jasper_reports.JasperReports.jasper_server: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused') 2020-07-19 09:04:39,962 19667 ERROR test odoo.addons.jasper_reports.JasperReports.jasper_server: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused') 2020-07-19 09:04:40,963 19667 ERROR test odoo.addons.jasper_reports.JasperReports.jasper_server: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused') 2020-07-19 09:04:41,965 19667 ERROR test odoo.addons.jasper_reports.JasperReports.jasper_server: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused') 2020-07-19 09:04:42,967 19667 ERROR test odoo.addons.jasper_reports.JasperReports.jasper_server: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused') 2020-07-19 09:04:43,968 19667 ERROR test odoo.addons.jasper_reports.JasperReports.jasper_server: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused') 2020-07-19 09:04:44,120 19667 DEBUG ? odoo.service.server: cron0 polling for jobs 2020-07-19 09:04:44,123 19667 INFO test odoo.addons.base.models.ir_cron: Starting job
Post process payment transactions
. 2020-07-19 09:04:44,132 19667 DEBUG test odoo.modules.registry: Multiprocess signaling check: [Registry - 20 -> 20] [Cache - 244 -> 244] 2020-07-19 09:04:44,134 19667 DEBUG test odoo.addons.base.models.ir_cron: cron.object.execute('test', 1, '*', 'Post process payment transactions', 362) 2020-07-19 09:04:44,140 19667 DEBUG test odoo.addons.base.models.ir_cron: 0.005s (cron Post process payment transactions, server action 362 with uid 1) 2020-07-19 09:04:44,166 19667 INFO test odoo.addons.base.models.ir_cron: JobPost process payment transactions
done. 2020-07-19 09:04:44,969 19667 ERROR test odoo.addons.jasper_reports.JasperReports.jasper_server: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused') 2020-07-19 09:04:45,119 19667 DEBUG ? odoo.service.server: cron1 polling for jobs 2020-07-19 09:04:45,477 19667 INFO test werkzeug: 127.0.0.1 - - [19/Jul/2020 09:04:45] "POST /longpolling/poll HTTP/1.1" 200 - 25 0.078 50.063 2020-07-19 09:04:45,554 19667 DEBUG test odoo.modules.registry: Multiprocess signaling check: [Registry - 20 -> 20] [Cache - 244 -> 244] 2020-07-19 09:04:45,971 19667 ERROR test odoo.addons.jasper_reports.JasperReports.jasper_server: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused') 2020-07-19 09:04:46,638 19667 DEBUG test odoo.modules.registry: Multiprocess signaling check: [Registry - 20 -> 20] [Cache - 244 -> 244] 2020-07-19 09:04:46,647 19667 INFO test werkzeug: 127.0.0.1 - - [19/Jul/2020 09:04:46] "GET /service-worker.js HTTP/1.1" 404 - 11 0.004 0.006 2020-07-19 09:04:46,972 19667 ERROR test odoo.addons.jasper_reports.JasperReports.jasper_server: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused') 2020-07-19 09:04:47,974 19667 ERROR test odoo.addons.jasper_reports.JasperReports.jasper_server: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused') 2020-07-19 09:04:48,975 19667 ERROR test odoo.addons.jasper_reports.JasperReports.jasper_server: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused') 2020-07-19 09:04:48,975 19667 INFO test odoo.addons.jasper_reports.JasperReports.jasper_report_config: ELAPSED: 0.669089 2020-07-19 09:04:48,980 19667 INFO test werkzeug: 127.0.0.1 - - [19/Jul/2020 09:04:48] "POST /report/jasper/eprescription_jasper/1 HTTP/1.1" 200 - 51 0.048 40.137 2020-07-19 09:04:49,049 19667 DEBUG test odoo.modules.registry: Multiprocess signaling check: [Registry - 20 -> 20] [Cache - 244 -> 244] 2020-07-19 09:04:49,053 19667 DEBUG test odoo.api: call clinic.eprescription(1,).read(['name', 'client_photo', '__last_update', 'partner_id', 'phone', 'client_email', 'consulation_date', 'source', 'sent', 'prescription', 'employee_id', 'emp_phone', 'prc_number', 'ptr_number', 's2_license', 'valid_until', 'user_id', 'doc_signature', 'message_follower_ids', 'activity_ids', 'message_ids', 'message_attachment_count', 'display_name'])After a few moment, it prints the PDF but it seems corrupted.