How can I use OpenOffice in server mode as a multithreaded service?

前端 未结 6 1292
孤街浪徒
孤街浪徒 2020-12-04 20:13

What is the experience of working with OpenOffice in server mode? I know OpenOffice is not multithreaded and now I need to use its services in our server.
What can I do

6条回答
  •  忘掉有多难
    2020-12-04 20:51

    OpenOffice can be used in headless mode, but it has not been built to handle a lot of requests in a stressfull production environment.

    Using OpenOffice in headless mode has several issues:

    • The process might die/become unavailable.
    • There are several memory leaks issues.
    • Opening several OpenOffice "workers" does not scale as expected, and needs some tweaking to really have different open proccesses (having several OpenOffice copies, several services, running under different users.)

    As suggested, jodconverter can be used to access the OpenOffice process.

    http://code.google.com/p/jodconverter/wiki/GettingStarted

提交回复
热议问题