In LibreOffice 3.4 and above, the soffice startup parameters have been changed from "-" to "--".
Additionally, there are additional startup parameters available in LibreOffice 3.4 and above that will allow soffice.bin to better run in the background. These are:
These are in addition to the startup parameters already suggested in the DougDocX setup.pdf documentation, and summarized here, but with a "--" instead of the formerly used "-":
These options apply to both Linux and Windows versions of LibreOffice. So, for a Linux install, assuming that LibreOffice is installed at /opt/libreoffice3.4, the command line to run soffice.bin in the background would look like this:
/opt/libreoffice3.4/program/soffice.bin --accept=socket,host=127.0.0.1,port=8100;urp;StarOffice.ServiceManager --norestore --invisible --nolockcheck --headless --nologo --nofirststartwizard
You may need single-quotes arount the accept parameter, like this:
/opt/libreoffice3.4/program/soffice.bin --accept='socket,host=127.0.0.1,port=8100;urp;StarOffice.ServiceManager' --norestore --invisible --nolockcheck --headless --nologo --nofirststartwizard
If you are accessing the openoffice services across the network instead of on the same machine as the Tomcat server, the actual IP of the machine would be used instead of the 127.0.0.1 shown above. In this case, you'd also have to edit ddxreports.properties to tell the DougDocX web application where to find the service.
At this time, I have still not been successful using soffice.bin from LibreOffice 4.x distributions with DougDocX. However, soffice.bin and all the relevant jar files are present in LibreOffice 4.x, so it should work. If you have any insight on using the soffice in LibreOffice 4.x distributions, please comment here.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.