Should OpenOffice be running?

Should OpenOffice be running?

Postby andreas » Tue Feb 02, 2010 1:26 pm

Hello Kaspars,

I have started soffice at the background with your command to test it with telnet localhost 8100. It works fine.
My installation is on a dedicated server for OpenERP and Postgres and clients are running either the gtk-client or use their browser.
The server is without any Xserver only console.
I have installed openoffice.org with apt-get and all the other requirements.
OpenERP connects fine to soffice at port 8100 and produce pdf or odt.

But if I kill the soffice background process it does not work any more.
Is this normal or I have installed something wrong?
(I have the PYTHONPATH variable at my openerp-server script)
And if this normal then I must also add the soffice command at my openerp-server start script so that I know it's running all the time. (Or better yet make a startup script for soffice only and put it at init.d)

Thank you for your input,
Best regards
Andreas
andreas
 
Posts: 3
Joined: Mon Feb 01, 2010 11:53 pm

Re: Should OpenOffice be running?

Postby Normunds » Tue Feb 02, 2010 1:55 pm

We separated OpenOffice startup and run environment from reporting engine. If you would like to use OpenOffice as a service in production, you should create separate startup/stop scripts for it in particular OS.
Basic's : if you use odt as printing output, then job is done by relatorio and you do not need OpenOffice running. If you want to use pdf or other formats, then you should launch OpenOffice somewhere as a service, and point in configuration an ip adress and port where to connect, because all conversions are being made by OpenOffice.
Normunds
 
Posts: 35
Joined: Tue May 12, 2009 10:34 am

Re: Should OpenOffice be running?

Postby sraps » Tue Feb 02, 2010 2:03 pm

Hello,
Running OpenOffice.org is needed only to have PDF output. ODT/ODS output is being produced solely by OpenERP module and does not require OpenOffice.org process.

Although there may be dependencies on OOo libraries to start OpenERP up. It is a field of work to isolate OOo completely, so there would not be any need to even install OOo on server.

Yes, if you want to have PDF output, you would need to start OOo instance somewhere on your system or network. Yes it could be run even on network.

As I have mentioned in this forum, we have tested OpenERP on Linux and OOo running on Windows system accessible over network. Even with different versions etc. It would make some impact on performance, but if you tweak your hardware/software combination, you may come to acceptable results.


Kaspars
sraps
 
Posts: 403
Joined: Mon May 04, 2009 10:04 pm


Return to Aeroo Reports & OpenOffice.org Reporting Engine

cron
Copyright © 2001 Alistek Ltd., ALL RIGHTS RESERVED