AnsweredAssumed Answered

a connection to OpenOffice could not be established

Question asked by stoutg on Aug 15, 2007
Latest reply on Sep 10, 2007 by mliwski
I am using Alfresco community 2.0.0 on Tomcat 5.5.20 on Suse 10.
When I start the tomcat server everything seems to go fine except OpenOffice could be connected to Alfresco.  We need OpenOffice in order to do some image transformations.  My catalina.out is
    CompilerOracle: exclude org/apache/lucene/index/IndexReader$1 doBody
    CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger mergeIndexes
    CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger mergeDeletions
    Aug 14, 2007 3:22:27 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.5.0-sun-1.5.0_update10/jre/lib/i386/server:/usr/lib/jvm/java-1.5.0-sun-1.5.0_update10/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0_update10/jre/../lib/i386
    Aug 14, 2007 3:22:28 PM org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Aug 14, 2007 3:22:28 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 3846 ms
    Aug 14, 2007 3:22:29 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Aug 14, 2007 3:22:29 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
    Aug 14, 2007 3:22:29 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Aug 14, 2007 3:22:34 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive alfresco.war
    15:24:10,106 WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
    15:24:18,590 WARN  [alfresco.util.OpenOfficeConnectionTester] A connection to OpenOffice could not be established.
    15:24:40,349 INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /alfresco_data
    15:24:43,561 INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
    15:24:43,889 INFO  [admin.patch.PatchExecuter] No patches were required.
    15:24:43,937 INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
    15:24:45,781 INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_10-b03; maximum heap size 506.313MB
    15:24:45,783 INFO  [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.0.0 (build-185) schema 38 - Installed version 2.0.0 (build-185) schema 38
    Aug 14, 2007 3:24:55 PM org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Aug 14, 2007 3:24:56 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Aug 14, 2007 3:24:56 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/177  config=null
    Aug 14, 2007 3:24:57 PM org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    Aug 14, 2007 3:24:57 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 148645 ms
I have the start_oo.sh file in my tomcat home directory and it is executable.  It contains the line
    /usr/bin/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard &
I have run this line from the command prompt and it worked, I got a process ID and could see it running using "ps -ef", but for some reason something doesn't work when the Alfresco startup script calls it.

Any help would be greatly appreciated.  Thanks

Outcomes