AnsweredAssumed Answered

libreoffice extension not working

Question asked by mkpelletier on Oct 24, 2014
Latest reply on Sep 22, 2015 by me678
I have scoured the forums and the internet looking for a solution to this, but have found none.  I am running the latest Alfresco 5.0b, on Debian Wheezy.  Interestingly, out of the "box" the script to start libreoffice is specified incorrectly in LIBREOFFICE_SCRIPT=$INSTALLDIR/libreoffice/scripts/

As was noted in this thread:, the script is actually called  The user needs to rename the script for things to function properly.  It is a bit troubling that this problem is still present in 5.0.  Anyway, now I can verify that Libreoffice actually starts with alfresco.

However, the misnamed script is only half the problem.  Now I am getting the following:

12:39:45,019 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-bio-8443-exec-2] Exception from executeScript - redirecting to status template error: connection failed: socket,host=localhost,port=8100,tcpNoDelay=1;
net.sf.jooreports.openoffice.connection.OpenOfficeException: connection failed: socket,host=localhost,port=8100,tcpNoDelay=1;
   at net.sf.jooreports.openoffice.connection.AbstractOpenOfficeConnection.connect(
   at org.alfresco.util.OpenOfficeConnectionTester.testAndConnect(
   at org.alfresco.util.OpenOfficeConnectionTester.checkConnection(
   at org.alfresco.util.OpenOfficeConnectionTester.onBootstrap(
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(
   at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(
   at org.apache.catalina.core.StandardContext.listenerStart(
   at org.apache.catalina.core.StandardContext.startInternal(
   at org.apache.catalina.util.LifecycleBase.start(
   at org.apache.catalina.core.ContainerBase.addChildInternal(
   at org.apache.catalina.core.ContainerBase.addChild(
   at org.apache.catalina.core.StandardHost.addChild(
   at org.apache.catalina.startup.HostConfig.deployWAR(
   at org.apache.catalina.startup.HostConfig$
   at java.util.concurrent.Executors$ Source)
   at Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$ Source)
   at Source)

Does anyone have a clue on how to fix this?  I have even tried looking into the possibility of disabling ipv6, but that does not seem to fix the issue.

Thanks in advance for the help!

EDIT: It looks as though this happens with MySQL, but not the default postgresql. Any ideas?