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