You need to install ALL packages of oo not just oo-core and oo-headless ... if you want to be able to import XLS you need to install the oo-calc package ... if you want to import ppt and odp you need to install the "draw" package (and I think the one for fonts) and so on.
It can be handy to install also the ms-corefonts package. Sebastian 2011/12/22 Maxim Solodovnik <solomax...@gmail.com>: > surprisingly openoffice-headless is not enough > After long time debug I found openoffice should be installed, otherwise > conversion using jod does not work > > > On Thu, Dec 22, 2011 at 16:03, seba.wag...@gmail.com <seba.wag...@gmail.com> > wrote: >> >> No you don't need. >> There is a package openoffice-headless >> >> Since version 3.x.x there is no need for any XVFB or other framebuffer >> to run OpenOffice as a service. >> >> Sebastian >> >> 2011/12/22 Maxim Solodovnik <solomax...@gmail.com>: >> > I guess openoffice.org should install xvfb since it it GUI application >> > ang >> > it wont work without X server (the real server or xvfb ) >> > >> > >> > On Thu, Dec 22, 2011 at 15:49, Conrad Beckert >> > <conrad_videokonfer...@gmx.de> >> > wrote: >> >> >> >> It seems to work without it. >> >> >> >> Conrad >> >> -------- Original-Nachricht -------- >> >> > Datum: Thu, 22 Dec 2011 15:26:52 +0700 >> >> > Von: Maxim Solodovnik <solomax...@gmail.com> >> >> > An: openmeetings-user@incubator.apache.org >> >> > Betreff: Re: OpenOffice upload fails >> >> >> >> > On Ubuntu server you additionally need to install xvfb >> >> > >> >> > >> >> > On Thu, Dec 22, 2011 at 15:20, Conrad Beckert >> >> > <conrad_videokonfer...@gmx.de>wrote: >> >> > >> >> > > Hallo Maxim, >> >> > > >> >> > > your tip did the trick. Its a little bit more though: The >> >> > > OpenOffice >> >> > > server is necessary (which is consistent with the documentation). >> >> > > What's >> >> > > needed is the package openoffice.org - a running OOo. (as to be >> >> > > proven >> >> > by >> >> > > starting it - on an X if you're on an Ubuntu server without >> >> > > graphics) >> >> > > >> >> > > Thanks for the help >> >> > > Conrad >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > -------- Original-Nachricht -------- >> >> > > > Datum: Thu, 22 Dec 2011 09:25:36 +0700 >> >> > > > Von: Maxim Solodovnik <solomax...@gmail.com> >> >> > > > An: openmeetings-user@incubator.apache.org >> >> > > > Betreff: Re: OpenOffice upload fails >> >> > > >> >> > > > On Ubuntu you need to install openoffice/libreoffice not >> >> > > > openoffice-headless >> >> > > > This might be the problem >> >> > > > >> >> > > > On Thu, Dec 22, 2011 at 04:01, Conrad Beckert >> >> > > > <conrad_videokonfer...@gmx.de>wrote: >> >> > > > >> >> > > > > Uploading an Openoffice file to the whiteboard fails with a >> >> > > > > couple >> >> > of >> >> > > > > error messages that dont seem to help very much: >> >> > > > > >> >> > > > > >> >> > > > > Name: exitValue >> >> > > > > Value: 1 >> >> > > > > Name: command >> >> > > > > Value: [java, -cp, >> >> > > > > "/opt/red5/webapps/openmeetings/jod/commons-cli-1.2.jar" -cp >> >> > > > > "/opt/red5/webapps/openmeetings/jod/commons-io-1.4.jar" -cp >> >> > > > > "/opt/red5/webapps/openmeetings/jod/jodconverter-2.2.2.jar" -cp >> >> > > > > "/opt/red5/webapps/openmeetings/jod/jodconverter-cli-2.2.2.jar" >> >> > > > > -cp >> >> > > > > "/opt/red5/webapps/openmeetings/jod/juh-3.0.1.jar" -cp >> >> > > > > "/opt/red5/webapps/openmeetings/jod/jurt-3.0.1.jar" -cp >> >> > > > > "/opt/red5/webapps/openmeetings/jod/ridl-3.0.1.jar" -cp >> >> > > > > "/opt/red5/webapps/openmeetings/jod/slf4j-api-1.5.6.jar" -cp >> >> > > > > "/opt/red5/webapps/openmeetings/jod/slf4j-jdk14-1.5.6.jar" -cp >> >> > > > > "/opt/red5/webapps/openmeetings/jod/unoil-3.0.1.jar" -cp >> >> > > > > "/opt/red5/webapps/openmeetings/jod/xstream-1.3.1.jar", -jar, >> >> > > > > /opt/red5/webapps/openmeetings/jod/jodconverter-cli-2.2.2.jar, >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > /opt/red5/webapps/openmeetings/uploadtemp/files/249da4992d1132178f29c3523e9b7abf.odt, >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > /opt/red5/webapps/openmeetings/upload/files/249da4992d1132178f29c3523e9b7abf/249da4992d1132178f29c3523e9b7abf.pdf] >> >> > > > > Name: error >> >> > > > > Value: Dec 21, 2011 9:41:55 PM >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.artofsolving.jodconverter.openoffice.connection.AbstractOpenOfficeConnection >> >> > > > > connectINFO: connectedDec 21, 2011 9:41:55 PM >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.artofsolving.jodconverter.openoffice.connection.AbstractOpenOfficeConnection >> >> > > > > disposingINFO: disconnectedException in thread "main" >> >> > > > > >> >> > > >> >> > > >> >> > > com.artofsolving.jodconverter.openoffice.connection.OpenOfficeException: >> >> > > > > conversion failed: could not load input document at >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter.loadAndExport(OpenOfficeDocumentConverter.java:131) >> >> > > > > at >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter.convertInternal(OpenOfficeDocumentConverter.java:120) >> >> > > > > at >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.artofsolving.jodconverter.openoffice.converter.AbstractOpenOfficeDocumentConverter.convert(AbstractOpenOfficeDocumentConverter.java:104) >> >> > > > > at >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.artofsolving.jodconverter.openoffice.converter.AbstractOpenOfficeDocumentConverter.convert(AbstractOpenOfficeDocumentConverter.java:74) >> >> > > > > at com.artofsolvin >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > g.jodconverter.openoffice.converter.AbstractOpenOfficeDocumentConverter.convert(AbstractOpenOfficeDocumentConverter.java:70) >> >> > > > > at >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.artofsolving.jodconverter.cli.ConvertDocument.convertOne(ConvertDocument.java:154) >> >> > > > > at >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.artofsolving.jodconverter.cli.ConvertDocument.main(ConvertDocument.java:133)Caused >> >> > > > > by: com.sun.star.lang.IllegalArgumentException: URL seems to be >> >> > > > > an >> >> > > > > unsupported one. at >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:182) >> >> > > > > at >> >> > com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:148) >> >> > > > > at >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:344) >> >> > > > > at >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:313) >> >> > > > > at >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:101) >> >> > > > > at >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:652) >> >> > > > > at >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory. >> >> > > > > java:154) at >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:136) >> >> > > > > at $Proxy5.loadComponentFromURL(Unknown Source) at >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter.loadDocument(OpenOfficeDocumentConverter.java:150) >> >> > > > > at >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter.loadAndExport(OpenOfficeDocumentConverter.java:127) >> >> > > > > ... 6 more >> >> > > > > Name: process >> >> > > > > Value: doJodConvert >> >> > > > > Name: exitValue >> >> > > > > Value: 0 >> >> > > > > Name: command >> >> > > > > Value: >> >> > > > > Name: completeName >> >> > > > > Value: >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > /opt/red5/webapps/openmeetings/uploadtemp/files/249da4992d1132178f29c3523e9b7abf >> >> > > > > Name: error >> >> > > > > Value: >> >> > > > > Name: fileExplorerItemId >> >> > > > > Value: 9 >> >> > > > > Name: process >> >> > > > > Value: >> >> > > > > Name: exitValue >> >> > > > > Value: 0 >> >> > > > > Name: process >> >> > > > > Value: generateXMLDocument >> >> > > > > Name: exitValue >> >> > > > > Value: 1 >> >> > > > > Name: command >> >> > > > > Value: [/usr/bin/convert, -thumbnail, 80, >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > /opt/red5/webapps/openmeetings/upload/files/249da4992d1132178f29c3523e9b7abf/249da4992d1132178f29c3523e9b7abf.pdf, >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > /opt/red5/webapps/openmeetings/upload/files/249da4992d1132178f29c3523e9b7abf/_thumb_page-%04d.jpg] >> >> > > > > Name: error >> >> > > > > Value: convert: unable to open image >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > `/opt/red5/webapps/openmeetings/upload/files/249da4992d1132178f29c3523e9b7abf/249da4992d1132178f29c3523e9b7abf.pdf': >> >> > > > > No such file or directory @ blob.c/OpenBlob/2480.convert: >> >> > > > > missing >> >> > > > > an >> >> > > > image >> >> > > > > filename >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > `/opt/red5/webapps/openmeetings/upload/files/249da4992d1132178f29c3523e9b7abf/_thumb_page-%04d.jpg' >> >> > > > > @ convert.c/ConvertImageCommand/2838. >> >> > > > > Name: process >> >> > > > > Value: generateBatchThumbByWidth >> >> > > > > Name: exitValue >> >> > > > > Value: 0 >> >> > > > > Name: process >> >> > > > > Value: processPDF >> >> > > > > Name: exitValue >> >> > > > > Value: 1 >> >> > > > > Name: command >> >> > > > > Value: [/usr/bin/pdf2swf, -s, insertstop, -s, poly2bitmap, -i, >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > /opt/red5/webapps/openmeetings/upload/files/249da4992d1132178f29c3523e9b7abf/249da4992d1132178f29c3523e9b7abf.pdf, >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > /opt/red5/webapps/openmeetings/upload/files/249da4992d1132178f29c3523e9b7abf/249da4992d1132178f29c3523e9b7abf.swf] >> >> > > > > Name: error >> >> > > > > Value: Error: Couldn't open file >> >> > > > > >> >> > > > >> >> > > >> >> > >> >> > >> >> > '/opt/red5/webapps/openmeetings/upload/files/249da4992d1132178f29c3523e9b7abf/249da4992d1132178f29c3523e9b7abf.pdf' >> >> > > > > Name: process >> >> > > > > Value: generateSwf >> >> > > > > >> >> > > > > >> >> > > > > Obviously it fails in the first step. >> >> > > > > >> >> > > > > I have Openmeetings 1.9.1 on an Ubuntu Oneric server, MySQL as >> >> > > database. >> >> > > > > Besides of that nothing special. >> >> > > > > >> >> > > > > It works fine to to post PDFs and PDF to the whiteboard but no >> >> > > > > ODTs. >> >> > > > > >> >> > > > > >> >> > > > > For installation I followed the howto posted in the >> >> > > > > openmeetings >> >> > wiki >> >> > > > and >> >> > > > > copyed the start/stop script into my /etc/init.d >> >> > > > > >> >> > > > > OpenOffice is up and running: >> >> > > > > sudo netstat -nap|grep office >> >> > > > > tcp 0 0 127.0.0.1:8100 0.0.0.0:* >> >> > > > > LISTEN 854/soffice.bin >> >> > > > > unix 2 [ ACC ] STREAM HÖRT 3951 >> >> > > > 854/soffice.bin >> >> > > > > >> >> > > > > >> >> > > > > /tmp/OSL_PIPE_0_SingleOfficeIPC_44e0c34da8623980ccf9f8299a62e4fb >> >> > > > > >> >> > > > > even as root: >> >> > > > > 0 S 0 768 1 0 80 0 - 1024 wait ? >> >> > > > > 00:00:00 >> >> > > > soffice >> >> > > > > 0 S 0 854 768 0 80 0 - 99057 poll_s ? >> >> > > > > 00:00:00 >> >> > > > > soffice.bin >> >> > > > > >> >> > > > > >> >> > > > > >> >> > > > > >> >> > > > > What's wrong. Thank you for your help >> >> > > > > >> >> > > > > Conrad >> >> > > > > >> >> > > > > >> >> > > > > >> >> > > > >> >> > > > >> >> > > > -- >> >> > > > WBR >> >> > > > Maxim aka solomax >> >> > > >> >> > >> >> > >> >> > >> >> > -- >> >> > WBR >> >> > Maxim aka solomax >> > >> > >> > >> > >> > -- >> > WBR >> > Maxim aka solomax >> >> >> >> -- >> Sebastian Wagner >> http://www.openmeetings.de >> http://incubator.apache.org/openmeetings/ >> http://www.webbase-design.de >> http://www.wagner-sebastian.com >> seba.wag...@gmail.com > > > > > -- > WBR > Maxim aka solomax -- Sebastian Wagner http://www.openmeetings.de http://incubator.apache.org/openmeetings/ http://www.webbase-design.de http://www.wagner-sebastian.com seba.wag...@gmail.com