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 ?
Nop, I don't. Sorry...
Checking soon.