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 <[email protected]>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
