12-20-2012 10:31 AM
Hello,
I try : Automation chain ConvertToPdf.
Automation chain->Conversion->Convert To Pdf works perfectly on Mac OS X without any configuration, except installation of OpenOffice 3.
I got a problem with Nuxeo 5.6 installed on Centos 5.8 :
/>
conversion to pdf doesn't work.
The message is:
/>
ERROR [org.nuxeo.ecm.platform.preview.restlet.PreviewRestlet] could not build preview for missing blob at default
org.nuxeo.ecm.platform.preview.api.PreviewException: Converter any2pdf is not available
I read:
/>
http://forum.nuxeo.com/?t=msg&goto=8821&&srch=centos+any2pdf#msg_8821
/>
http://forum.nuxeo.com/t/5124/
/>
http://doc.nuxeo.com/display/ADMINDOC56/Installing+and+setting+up+related+software
/>
http://community.nuxeo.com/5.3/books/nuxeo-book/html/admin-imaging.html
/>
http://community.nuxeo.com/5.3/books/nuxeo-book/html/admin-openoffice.html
/>
https://jira.nuxeo.com/browse/NXP-7177
/>
http://forum.nuxeo.com/t/2962/
/>
...
Modifications :
+nuxeo.conf
/>
jod.office.home=/usr/lib64/openoffice.org3/
/>
jod.jpipe.lib.path=/usr/lib64/openoffice.org/ure/lib/
/>
+openofficectl
/>
OOO_HOME=/usr/lib64/openoffice.org3/program/
/>
PIDFILE=/var/run/nuxeo/openoffice-headless.pid
/>
+try some extension points described in old nuxeo version pour imagetopdf
OpenOffice is already running this way:
/>
$ /usr/lib64/openoffice.org3/soffice.bin -accept="socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -norestore -nofirststartwizard -nologo -headless
installed:
/>
I'm running out of ideas. Someone could help me?
Thanks in advance for your help
09-13-2013 11:49 AM
We success with:
installation of libwpd-tools => wpd2text and openoffice is running
Then we inspired with : http://answers.nuxeo.com/questions/4797/configuring-preview-with-libreoffice
nuxeo.conf
jod.connection.protocol=SOCKET
jod.max.tasks.per.process=200
jod.task.execution.timeout=120000
jod.task.queue.timeout=30000
jod.office.home=/[OURPATH]/lib64/openoffice.org3/
jod.jpipe.lib.path=/[OURPATH]/lib64/openoffice.org/ure/lib/
jod.template.profile.dir=
restart nuxeo
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.