After install all libraries, When you test run LibreOffice with command
/opt/alfresco-5.0.c/libreoffice/program/soffice.bin --nofirststartwizard --nologo --headless --accept=socket,host=localhost,port=8100
It will show some library is missing (libdbus-glib-1-2). Install it.
Then after you install all libraries and restart your alfresco if you still found transformer exception "connection failed: socket,host=localhost,port=8100,tcpNoDelay=1; com.sun.star.lang.IllegalArgumentException". So change your start up script of LibreOffice at
/opt/alfresco-5.0.c/libreoffice/scripts/libreoffice_ctl.sh
From
SOFFICE="$SOFFICEWRAPPER --nofirststartwizard --nologo --headless --accept=socket,host=127.0.0.1,port=$SOFFICE_PORT\;urp\;StarOffice.ServiceManager"
To
SOFFICE="$SOFFICEWRAPPER --nofirststartwizard --nologo --headless "--accept=socket,host=127.0.0.1,port=$SOFFICE_PORT\;urp\;StarOffice.ServiceManager""
(Adding double quote before --accept and end of line). Then restart alfresco again. The transformer exception will fix.
reference -- https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/configuration/document-preview-problem-was
ไม่มีความคิดเห็น:
แสดงความคิดเห็น