Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

jasper_reports not work for multiprocessing mode (--workers)

By
Kitti Upariphutthiphong
on 6/13/14, 2:30 PM 2,542 views

When OpenERP is NOT working in Multiprocessing Mode, then everything works fine, but if OpenERP is working with Multiprocessing Mode (using --workers parameter), then no Jasper report works.

Following is the error I got in log file,

 

2014-06-13 17:54:17,667 4229 INFO SAHASAMIT werkzeug: 127.0.0.1 - - [13/Jun/2014 17:54:17] "POST /web/action/load HTTP/1.1" 200 -
2014-06-13 17:54:17,806 4229 INFO SAHASAMIT openerp.addons.jasper_reports.jasper_report: Requested report: '/home/kittiu/workspace/openerp_monta/monta-addons/jrxml_reports/custom_reports/monta_tax_invoice_full.jrxml'
2014-06-13 17:54:17,809 4229 INFO SAHASAMIT openerp.addons.jasper_reports.jasper_report: Temporary data file: '/tmp/tmp9yvgda'
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
2014-06-13 17:54:18,850 4229 ERROR SAHASAMIT openerp.addons.jasper_reports.JasperReports.JasperServer: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused')
2014-06-13 17:54:19,852 4229 ERROR SAHASAMIT openerp.addons.jasper_reports.JasperReports.JasperServer: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused')
2014-06-13 17:54:20,854 4229 ERROR SAHASAMIT openerp.addons.jasper_reports.JasperReports.JasperServer: EXCEPTION: [Errno 111] Connection refused (111, 'Connection refused')

 

I have tried change to java 1.6, setting JAVA_HOME as suggested on some site, but nothing seem to work yet.

I'm facing the same error. Did you fix it ?

Versão Integral, Anabela Damas
on 9/4/14, 10:01 AM

Nop, I don't. Sorry...

Ecosoft Co. LTD, Kitti Upariphutthiphong
on 9/4/14, 1:49 PM

Checking soon.

Serpent Consulting Services Pvt. Ltd.
on 9/22/15, 1:23 AM
0
Anabela Damas
On 9/5/14, 6:53 AM

Hi , using this source everything works fine for me: https://code.launchpad.net/~jasper-reports-commiters/openobject-jasper-reports/7.0

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 6/13/14, 2:30 PM
Seen: 2542 times
Last updated: 10/11/16, 1:46 AM