[xwiki-users] Redhat Xwiki 5.4 Office server configuration
Does anyone have a document on configuring xwiki.properties, and installing openoffice in order to have the office importer function working on redhat? It works straight out of the box on Ubuntu, however really struggling here with rhel. # Settings for the OpenOffice server instance consumed by the OfficeImporter component #------------------------------------------------------------------------------------- #-# [Since 1.9M2] #-# Type of the openoffice server instance used by officeimporter component. #-# 0 - Internally managed server instance. (Default) #-# 1 - Externally managed (local) server instance. # openoffice.serverType=0 #-# [Since 1.9M2] #-# Port number used for connecting to the openoffice server instance. #-# Default port is 8100 # openoffice.serverPort=8100 #-# [Since 1.9M2] #-# If the openoffice server should be started / connected upon XE start. #-# Default value is false # openoffice.autoStart=false #-# [Since 1.8RC3] #-# Path to openoffice installation (serverType:0 only). #-# If no path is provided, a default value will be calculated based on the operating environment. # openoffice.homePath=/opt/openoffice4 #-# [Since 1.8RC3] #-# Path to openoffice execution profile (serverType:0 only). #-# If no path is provided, a default value will be calculated based on the operating environment. # openoffice.profilePath=/home/user/.openoffice.org/3 RPM rpm -qa | grep -i openoffice openoffice-en-GB-base-4.0.0-9702.i586 openoffice-base-4.0.0-9702.i586 openoffice-images-4.0.0-9702.i586 openoffice-ooofonts-4.0.0-9702.i586 openoffice-brand-draw-4.0.0-9702.i586 openoffice-en-GB-help-4.0.0-9702.i586 openoffice-core03-4.0.0-9702.i586 openoffice-ogltrans-4.0.0-9702.i586 openoffice-xsltfilter-4.0.0-9702.i586 openoffice-brand-math-4.0.0-9702.i586 openoffice-en-GB-4.0.0-9702.i586 openoffice-en-GB-draw-4.0.0-9702.i586 openoffice-en-GB-res-4.0.0-9702.i586 openoffice-core02-4.0.0-9702.i586 openoffice-core07-4.0.0-9702.i586 openoffice-writer-4.0.0-9702.i586 openoffice-javafilter-4.0.0-9702.i586 openoffice-pyuno-4.0.0-9702.i586 openoffice-brand-base-4.0.0-9702.i586 openoffice-brand-impress-4.0.0-9702.i586 openoffice-core01-4.0.0-9702.i586 openoffice-en-GB-calc-4.0.0-9702.i586 openoffice-en-GB-math-4.0.0-9702.i586 openoffice-calc-4.0.0-9702.i586 openoffice-core06-4.0.0-9702.i586 openoffice-math-4.0.0-9702.i586 openoffice-graphicfilter-4.0.0-9702.i586 openoffice-ooolinguistic-4.0.0-9702.i586 openoffice-4.0.0-9702.i586 openoffice-brand-en-GB-4.0.0-9702.i586 openoffice-ure-4.0.0-9702.i586 openoffice-en-GB-impress-4.0.0-9702.i586 openoffice-core05-4.0.0-9702.i586 openoffice-gnome-integration-4.0.0-9702.i586 openoffice-core04-4.0.0-9702.i586 openoffice-brand-writer-4.0.0-9702.i586 openoffice-impress-4.0.0-9702.i586 openoffice-en-GB-writer-4.0.0-9702.i586 openoffice-draw-4.0.0-9702.i586 openoffice-onlineupdate-4.0.0-9702.i586 openoffice-brand-calc-4.0.0-9702.i586 -- View this message in context: http://xwiki.475771.n2.nabble.com/Redhat-Xwiki-5-4-Office-server-configurati... Sent from the XWiki- Users mailing list archive at Nabble.com.
Did you solve this? I'm using CentOS and ended up adding startup instructions for headless office in /etc/rc.d/rc.local
Date: Fri, 7 Feb 2014 10:46:02 -0800 From: [email protected] To: [email protected] Subject: [xwiki-users] Redhat Xwiki 5.4 Office server configuration
Does anyone have a document on configuring xwiki.properties, and installing openoffice in order to have the office importer function working on redhat? It works straight out of the box on Ubuntu, however really struggling here with rhel.
Hello, The trick to make OpenOffice/LibreOffice work with your server is to : 1. Found the "soffice" binary. The location depends on the way you choose to install it. I'm not really aware of YUM way to do it, so I can't help, but a find command will. 2. Run this binary with the same user you use to run XWiki (it can be tomcat, tomcat6...). This one has to have a home directory ("usermod -d" to set it). 3. Nothing should be written in stdout. If your binary write something and exits, you surely have a dependency issue, which shouldn't be too difficult to fix with the help of that error message. 4. Look that you have a ".openoffice" directory (hidden) created in this directory. "libreoffice" for the well known fork. 5. Set your variables in xwiki.properties according to what you find in steps 1 (for openoffice.homePath) and 4 (for openoffice.profilePath). 6. set the autostart to true and restart the wiki. You can now control it directly from the according admin section. Examples of variables: openoffice.homePath=/opt/openoffice4
openoffice.profilePath=/home/tomcat/.openoffice.org/3
OR openoffice.homePath=/usr/lib/libreoffice/
openoffice.profilePath=/home/tomcat/libreoffice/3
NOTE : Libreoffice or Openoffice 4 don't work with old versions of XWiki (3.x), you may need to use OpenOffice 3.2. Hope it helps. Guillaume Fenollar XWiki SAS 2014-02-20 9:40 GMT+01:00 Aye Jaye <[email protected]>:
Did you solve this? I'm using CentOS and ended up adding startup instructions for headless office in /etc/rc.d/rc.local
Date: Fri, 7 Feb 2014 10:46:02 -0800 From: [email protected] To: [email protected] Subject: [xwiki-users] Redhat Xwiki 5.4 Office server configuration
Does anyone have a document on configuring xwiki.properties, and installing openoffice in order to have the office importer function working on redhat? It works straight out of the box on Ubuntu, however really struggling here with rhel.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
Aye Jaye -
Guillaume Fenollar -
majerus1223