วันพุธที่ 25 กุมภาพันธ์ พ.ศ. 2558

Fix LibreOffice Transformer on Alfresco 5.0.c community

By default fresh install of Alfresco 5.0.c does not pack require libraries for LibreOffice in the installer. You should install it manually by this instruction http://docs.alfresco.com/5.0/concepts/install-lolibfiles.html

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
Continue Reading...

Blogroll

About