Difference between revisions of "OpenOffice configuration issues"

From OpenKM Documentation
Jump to: navigation, search
m
Line 11: Line 11:
  
 
* '''system.openoffice.server'''
 
* '''system.openoffice.server'''
 +
 +
Inside the path define at '''system.openoffice.path''' you should see a directory called '''program''', where can see '''soffice.bin''' file. This file is used by OpenKM to start the OpenOffice / LibreOffice service.
  
 
OpenOffice / LibreOffice service by default listen at port 2002. If you have this port occuped by another application or service, use the '''system.property.port''' configuration option to select another one. Keep on mind that in Linux / Unix system only user '''root''' can attach a program to a port number below 1024.
 
OpenOffice / LibreOffice service by default listen at port 2002. If you have this port occuped by another application or service, use the '''system.property.port''' configuration option to select another one. Keep on mind that in Linux / Unix system only user '''root''' can attach a program to a port number below 1024.
  
 
If you have a OpenOffice / LibreOffice instance running when you start JBoss / OpenKM, the service won't start properly and when you close your OpenOffice / LibreOffice instance you would not use it to convert an MS Office / OpenOffice document to PDF, or generate a document preview.
 
If you have a OpenOffice / LibreOffice instance running when you start JBoss / OpenKM, the service won't start properly and when you close your OpenOffice / LibreOffice instance you would not use it to convert an MS Office / OpenOffice document to PDF, or generate a document preview.

Revision as of 17:55, 10 March 2012

Set these properties:

  • system.openoffice.path

You don't need to set these properties:

  • system.openoffice.port
  • system.openoffice.tasks

You should not set this property:

  • system.openoffice.server

Inside the path define at system.openoffice.path you should see a directory called program, where can see soffice.bin file. This file is used by OpenKM to start the OpenOffice / LibreOffice service.

OpenOffice / LibreOffice service by default listen at port 2002. If you have this port occuped by another application or service, use the system.property.port configuration option to select another one. Keep on mind that in Linux / Unix system only user root can attach a program to a port number below 1024.

If you have a OpenOffice / LibreOffice instance running when you start JBoss / OpenKM, the service won't start properly and when you close your OpenOffice / LibreOffice instance you would not use it to convert an MS Office / OpenOffice document to PDF, or generate a document preview.