As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
2009-05-28 10:27:24,976 INFO [STDOUT] 10:27:24,976 User:System WARN [alfresco.util.OpenOfficeConnectionTester] No se pudo establecer la conexión a OpenOffice
# yum -y install openoffice.org-base openoffice.org-core openoffice.org-writer\ xorg-x11-server-Xvfb
!/bin/sh # # soffice # # chkconfig: 345 98 11 # description: Starts and stops the soffice non-interactive document transformation # Source function library. . /etc/rc.d/init.d/functions XVFB=/usr/bin/Xvfb SOFFICE=/usr/lib64/openoffice.org2.0/program/soffice.bin SOFFICE_TMP=/tmp/ KILLER=/usr/bin/killall case "$1" in start) # # Start Soffice # echo -n "Starting Xvfb for SOFFICE: " $XVFB :1 -screen 0 800x600x16 -fbdir /tmp > /dev/null 2>&1 & sleep 3s echo_success echo echo -n "Arrancando SOFFICE: " $SOFFICE -invisible -accept="socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo \ -nofirststartwizard -headless -display :1 > /dev/null 2>&1 & echo_success echo ;; stop) # # Stop Soffice # echo -n "Parando SOFFICE: " $KILLER -q -s TERM soffice.bin echo_success echo echo -n "Stopping Xvfb for SOFFICE: " $KILLER -s TERM Xvfb echo_success echo ;; *) echo "soffice {stop|start}" exit 1;; esac exit 0
2009-05-28 10:27:24,976 INFO [STDOUT] 10:27:24,976 User:System WARN [alfresco.util.OpenOfficeConnectionTester] No se pudo establecer la conexión a OpenOffice
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> <beans> <bean id="openOfficeStartupBootstrap" class="org.alfresco.util.exec.RuntimeExecBootstrapBean" > <property name="startupCommands"> <list> <ref bean="openOfficeStartupCommand" /> </list> </property> <property name="failOnError"> <value>false</value> </property> </bean> <bean id="openOfficeStartupCommand" class="org.alfresco.util.exec.RuntimeExec"> <property name="commandsAndArguments"> <map> <entry key=".*"> <list> <value>${ooo.exe}</value> <value>-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager</value> <value>-env:UserInstallation=file:///${ooo.user}</value> <value>-nologo</value> <value>-headless</value> <value>-nofirststartwizard</value> <value>-nocrashrep</value> <value>-norestore</value> </list> </entry> </map> </property> <property name="waitForCompletion"> <value>false</value> </property> <property name="errorCodes"> <value>2</value> </property> </bean> </beans> ~
User:System ERROR [web.context.ContextLoader] Context initialization failed net.sf.jooreports.openoffice.connection.OpenOfficeException: connection failed: socket,host=localhost,port=8100,tcpNoDelay=1; com.sun.star.lang.DisposedException: com.sun.star.io.IOException: java.net.SocketException: Socket closed