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>
~
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.