I've made it to work with PDFs but I can't get doc/docx previews working.
I have OO installed
I have OO installed
Code: Select all
openoffice.org-base.i386 1:3.1.1-19.5.el5_5.1 installed
openoffice.org-calc.i386 1:3.1.1-19.5.el5_5.1 installed
openoffice.org-core.i386 1:3.1.1-19.5.el5_5.1 installed
openoffice.org-draw.i386 1:3.1.1-19.5.el5_5.1 installed
openoffice.org-graphicfilter.i386 1:3.1.1-19.5.el5_5.1 installed
openoffice.org-headless.i386 1:3.1.1-19.5.el5_5.1 installed
openoffice.org-impress.i386 1:3.1.1-19.5.el5_5.1 installed
openoffice.org-javafilter.i386 1:3.1.1-19.5.el5_5.1 installed
openoffice.org-math.i386 1:3.1.1-19.5.el5_5.1 installed
openoffice.org-ure.i386 1:3.1.1-19.5.el5_5.1 installed
openoffice.org-writer.i386 1:3.1.1-19.5.el5_5.1 installed
openoffice.org-xsltfilter.i386 1:3.1.1-19.5.el5_5.1 installed
Code: Select all
Started by:
[root@dev jboss-4.2.3.GA]# netstat -nap | grep office
tcp 0 0 127.0.0.1:8100 0.0.0.0:* LISTEN 3223/soffice.bin
unix 2 [ ACC ] STREAM LISTENING 11746 3223/soffice.bin /tmp/OSL_PIPE_0_SingleOfficeIPC_b919ef148f655fcebc4bf633c062a098
Code: Select all
OpenKM.cfg:
[root@dev jboss-4.2.3.GA]# cat /etc/init.d/soffice
#!/bin/bash
# chkconfig: 345 20 80
# description: init.d script for headless openoffice.org (2.3+ for RHEL5 32bit)
#
# processname: soffice
#
# source function library
. /etc/rc.d/init.d/functions
RETVAL=0
SOFFICE_PATH='/usr/lib/openoffice.org3/program'
SOFFICE_ARGS='-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager -headless -nofirststartwizard -nologo'
SOFFICE_PIDFILE=/var/run/soffice.bin.pid
start_soffice() {
echo -n $"Starting OpenOffice.org"
$SOFFICE_PATH/soffice.bin $SOFFICE_ARGS >/dev/null 2>&1 &
[ $? -eq 0 ] && echo_success || echo_failure
pidof soffice.bin > $SOFFICE_PIDFILE
echo
}
start() {
start_soffice
}
stop() {
echo -n $"Stopping OpenOffice"
killproc soffice
echo
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo $"Usage: $0 {start|stop|restart}"
esac
Code: Select all
[root@dev jboss-4.2.3.GA]# cat OpenKM.cfg
# Default configuration values
#
# repository.config=repository.xml
# repository.home=repository
# system.user=system
# default.user.role=UserRol
# default.admin.role=AdminRol
# principal.adapter=com.openkm.core.UsersRolesPrincipalAdapter
# max.file.size=5
# max.search.results=25
# system.demo=off
system.openoffice=/usr/lib/openoffice.org3
system.pdf2swf=/usr/local/bin/pdf2swf
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=none
Code: Select all
OpenKM is running on HTTPS:8443, started with drwxrwxrwx 4 root root 4096 Dec 21 15:27 cache
Code: Select all
Am I missing something?bin/run.sh -b 0.0.0.0
Last edited by andi.teodorescu on Wed Dec 22, 2010 1:45 pm, edited 2 times in total.