JayVora-SerpentCS / Jasperreports_odoo

Jasper Reports Engine for Odoo
http://www.serpentcs.com
81 stars 140 forks source link

[Errno 111] Connection refused (111, 'Connection refused') #108

Closed MounirKammoun closed 4 years ago

MounirKammoun commented 4 years ago

With odoo 12 CE, when I print any jasper report in odoo, I get a blank page. in the log I have the following error:

4911 ERROR odoo12 odoo.addons.jasper_reports.JasperReports.jasper_server: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused')

I use ubuntu 18.04 LTS. openjdk version "1.8.0_242" OpenJDK Runtime Environment (build 1.8.0_242-8u242-b08-0ubuntu3~18.04-b08) OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode) Jasper server 5.5 is up and running on the same server as odoo.

netsat shows the following: Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:5432 0.0.0.0: LISTEN 17858/postgres.bin tcp 0 0 0.0.0.0:8069 0.0.0.0: LISTEN 17915/python3 tcp 0 0 0.0.0.0:8072 0.0.0.0: LISTEN 17884/python3 tcp 0 0 127.0.0.53:53 0.0.0.0: LISTEN 869/systemd-resolve tcp6 0 0 :::5432 ::: LISTEN 17858/postgres.bin tcp6 0 0 :::8888 ::: LISTEN 9540/java tcp6 0 0 :::443 ::: LISTEN 17943/httpd.bin tcp6 0 0 127.0.0.1:8005 ::: LISTEN 9540/java tcp6 0 0 :::40199 ::: LISTEN 9540/java tcp6 0 0 :::8009 ::: LISTEN 9540/java tcp6 0 0 :::10991 ::: LISTEN 9540/java tcp6 0 0 :::80 ::: LISTEN 17943/httpd.bin

Please advise.

JayVora-SerpentCS commented 4 years ago

@hiren-serpentcs

MounirKammoun commented 4 years ago

should I change anything in my setup?

JayVora-SerpentCS commented 4 years ago

Can you make sure you started jasper server separately ?

MounirKammoun commented 4 years ago

Yes I did. I verify it as well with ctlscript.sh status. Also, in netstat we can see port 8888 used by jasper report.

Télécharger Outlook pour Androidhttps://aka.ms/ghei36


From: Serpent Consulting Services Pvt. Ltd. notifications@github.com Sent: Sunday, March 22, 2020 11:52:14 AM To: JayVora-SerpentCS/Jasperreports_odoo Jasperreports_odoo@noreply.github.com Cc: MounirKammoun mounir_kammoun@hotmail.com; Author author@noreply.github.com Subject: Re: [JayVora-SerpentCS/Jasperreports_odoo] [Errno 111] Connection refused (111, 'Connection refused') (#108)

Can you make sure you started jasper server separately ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/JayVora-SerpentCS/Jasperreports_odoo/issues/108#issuecomment-602180048, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO3NRMQENLJE7DJ5E2452U3RIXUV5ANCNFSM4LOASOMQ.

MounirKammoun commented 4 years ago

the ctlscript.sh gives tomcat already running Also, I can access to jasperserver in the browser localhost:8888/jasperserver/login.html

MounirKammoun commented 4 years ago

Kindly, did you had the chance to check this issue? thank you

MounirKammoun commented 4 years ago

I fix it. I was using OpenJDK8 when I have to use OpenJDK11. Thank you SerpentCS team for this module.