The JodConverterServices
component is used to convert documents into different office formats. This component is enabled by default. The
configuration of this component is found in
/core/core-configuration/src/main/webapp/WEB-INF/conf/wcm-core/core-services-configuration.xml
.
<component>
<key>org.exoplatform.services.cms.jodconverter.JodConverterService</key>
<type>org.exoplatform.services.cms.jodconverter.impl.JodConverterServiceImpl</type>
<init-params>
<value-param>
<name>port</name>
<value>${jodconverter.portNumbers}</value>
</value-param>
<value-param>
<name>officeHome</name>
<value>${jodconverter.officeHome}</value>
</value-param>
<value-param>
<name>taskQueueTimeout</name>
<value>${jodconverter.taskQueueTimeout}</value>
</value-param>
<value-param>
<name>taskExecutionTimeout</name>
<value>${jodconverter.taskExecutionTimeout}</value>
</value-param>
<value-param>
<name>maxTasksPerProcess</name>
<value>${jodconverter.maxTasksPerProcess}</value>
</value-param>
<value-param>
<name>retryTimeout</name>
<value>${jodconverter.retryTimeout}</value>
</value-param>
</init-params>
</component>
Details:
Value-param:
Name | Type | Value | Description |
---|---|---|---|
port |
Integer
| ${jodconverter.portNumbers} | The number of ports to connect with the office server. |
officeHome |
String
| ${jodconverter.officeHome} | The absolute path to the office home on the current local computer. |
taskQueueTimeout |
Long
| ${jodconverter.taskExecutionTimeout} | The maximum living time of a task in the conversation queue. |
taskExecutionTimeout |
Long
| ${jodconverter.taskExecutionTimeout} | The maximum time to process a task. |
maxTasksPerProcess |
Integer
| ${jodconverter.maxTasksPerProcess} | The maximum number of tasks are processed. |
retryTimeout |
Long
| ${jodconverter.retryTimeout} | The interval time to try to restart the office services in case they unexpectedly stop. |