AnsweredAssumed Answered

OpenOffice not starting - CentOS 5.3 - Alfresco 3Stable

Question asked by signal on May 12, 2009
Latest reply on May 12, 2009 by signal
I have just completed installing Alfresco on CentOS 5.3, and have only one issue.  It is saying my openoffice is not starting.

22:54:26,464 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be e
stablished.

I have moved openoffice-startup-context.xml to /var/lib/tomcat5/shared/classes/alfresco/extension/bootstrap/

I then edited /var/lib/tomcat5/webapps/alfresco/WEB-INF/classes/alfresco/repository.properties with the following values:

# External executable locations
# ooo.exe=soffice
ooo.exe=/usr/lib/openoffice.org/program/soffice
ooo.user=${dir.root}/oouser
# img.root=./ImageMagick
# img.dyn=${img.root}/lib
# img.exe=${img.root}/bin/convert
# swf.exe=./bin/pdf2swf
img.exe=/usr/bin/convert
swf.exe=/usr/bin/pdf2swf

I see alot of people talk about editing /var/lib/tomcat5/shared/classes/alfresco/extension/custom-repository.properties
however, mine did not have a "external executable locations" section, and being new to Alfresco, I wasn't sure if they had just moved the location of this info
around.

As you can see my soffice does exist:
[root@server2 alfresco]# ls -al /usr/lib/openoffice.org/program/soffice
-rwxr-xr-x 1 root root 3894 Jan 22 12:00 /usr/lib/openoffice.org/program/soffice

I have confirmed that after Alfresco is running there is no soffice running in the background.

There are alot of posts on this, but none that I have seen that are helpful to fix my issue.  I am starting Alfresco by launching tomcat, so I am not using a separate shell script, nor am I using start_oo.sh etc.  I mostly followed the instructions at:

http://wiki.alfresco.com/wiki/Installing_Alfresco_Community_WAR_on_Centos_5

As an aside, should I be editing values in /var/lib/tomcat5/webapps/alfresco/WEB-INF/classes/alfresco/repository.properties or should I only be editing /var/lib/tomcat5/shared/classes/alfresco/extension/custom-repository.properties?

Thanks for any help,

Brian

Outcomes