Difference between revisions of "OpenOffice configuration issues"

From OpenKM Documentation
Jump to: navigation, search
Line 15: Line 15:
  
 
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.
 +
 +
As eported by [http://forum.openkm.com/memberlist.php?mode=viewprofile&u=8610 vkasgpta], LogMeIn uses the same 2002 port so this will conflict with the OpenOffice / LibreOffice service. See [http://forum.openkm.com/viewtopic.php?f=4&t=5798&p=14464 Anyone with a working previewer in Windows?] forum thread for more info.
  
 
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 08:17, 11 April 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.

As eported by vkasgpta, LogMeIn uses the same 2002 port so this will conflict with the OpenOffice / LibreOffice service. See Anyone with a working previewer in Windows? forum thread for more info.

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.