JBoss.orgCommunity Documentation

Office server

eXo Platform allows users to view various types of documents directly in the Sites Explorer through the office server. To do so, the office application must be available in your local device first.

Then, JODConverter will use the default values below to start the office server.

You can customize the default values by adding the properties below in the configuration.properties file:

# JODConverter 3.0
wcm.jodconverter.portnumbers=8100,8101,8102,8103,8104
wcm.jodconverter.officehome=/usr/lib/libreoffice
wcm.jodconverter.taskqueuetimeout=30000
wcm.jodconverter.taskexecutiontimeout=120000
wcm.jodconverter.maxtasksperprocess=200
wcm.jodconverter.retrytimeout=120000
Key Default value Description
wcm.jodconverter.portnumbers 2002List of ports, separated by commas, those used by each JODConverter processing thread. The number of office instances is equal to the number of ports.
wcm.jodconverter.officehomeSee here The absolute path to the office home on the current local device. It means that the office needs to be installed in the local device before using it.
wcm.jodconverter.taskqueuetimeout 30000 The maximum living time of a task in the conversation queue. The task will be removed out of the queue if the waiting time is longer than taskQueueTimeout.
wcm.jodconverter.taskexecutiontimeout 120000 The maximum time to process a task. If the processing time of a task is longer than taskExecutionTimeout, this task will be aborted and the next task is processed.
wcm.jodconverter.maxtasksperprocess 200 The maximum number of tasks are processed.
wcm.jodconverter.retrytimeout120000 The interval time to try to restart the office services after an unexpected crash.

The default office home

"/opt/openoffice.org3"
"/opt/libreoffice"
"/usr/lib/openoffice"
"/usr/lib/libreoffice"
"<SYSTEM_PROGRAMFILES>/OpenOffice.org 3"
"<SYSTEM_PROGRAMFILES>/LibreOffice 3"
"/Applications/OpenOffice.org.app/Contents"
"/Applications/LibreOffice.app/Contents"