You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Conrad Beckert <co...@gmx.de> on 2011/12/21 22:01:41 UTC

OpenOffice upload fails

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



Re: OpenOffice upload fails

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
Hi Joseph,

to get the basic installation running all you need is to download
unpack the ZIP and run it.
There is actually not so much more that can be done to improve it.

To set up the a server with all 3th party components like FFMPEG,
ImageMagick et cetera ... if you are not familiar with any of those
tools I guess it will be difficult to install .. but I guess nothing
on our list is kind of exotic theses days.

You are welcome to send an email at: service@openmeetings.de in case
you need a commercial offering for an installation service.


Sebastian



2011/12/22 Joseph Karwat <jk...@jellnet.com>:
> My hosting company has been trying to install OpenMeetings 1.9 for the past
> two weeks and could not get it to work properly. They tried several
> operating systems.  From following this discussion it's obvious that the
> install process for OpenMeetings is far too complicated.  I'd like to use OM
> for my project but the cost in time and money to get it to the point where
> one can evaluate it for a project is just too high.  I believe you really
> need to address this issue if you want OM to have any kind of major
> following.  Can anyone help?
>
> Joseph Karwat | CEO | 415-462-0263 | www.jellnet.com |
> JELL NETWORKS, INC.
> Enterprise Command & Control For Online Meetings
>
>
> -----Original Message-----
> From: seba.wagner@gmail.com [mailto:]
> Sent: Thursday, December 22, 2011 1:09 AM
> To: openmeetings-user@incubator.apache.org
> Subject: Re: OpenOffice upload fails
>
> 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 <so...@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.wagner@gmail.com
> <se...@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 <so...@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
>>> > <co...@gmx.de>
>>> > wrote:
>>> >>
>>> >> It seems to work without it.
>>> >>
>>> >> Conrad
>>> >> -------- Original-Nachricht --------
>>> >> > Datum: Thu, 22 Dec 2011 15:26:52 +0700
>>> >> > Von: Maxim Solodovnik <so...@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
>>> >> > <co...@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 <so...@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
>>> >> > > > <co...@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/249da4992d1132178f29c3523e9b
> 7abf.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.AbstractOpenOfficeConnec
> tion
>>> >> > > > > connectINFO: connectedDec 21, 2011 9:41:55 PM
>>> >> > > > >
>>> >> > > >
>>> >> > >
>>> >> >
>>> >> >
>>> >> >
> com.artofsolving.jodconverter.openoffice.connection.AbstractOpenOfficeConnec
> tion
>>> >> > > > > disposingINFO: disconnectedException in thread "main"
>>> >> > > > >
>>> >> > >
>>> >> > >
>>> >> > >
> com.artofsolving.jodconverter.openoffice.connection.OpenOfficeException:
>>> >> > > > > conversion failed: could not load input document  at
>>> >> > > > >
>>> >> > > >
>>> >> > >
>>> >> >
>>> >> >
>>> >> >
> com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConvert
> er.loadAndExport(OpenOfficeDocumentConverter.java:131)
>>> >> > > > >   at
>>> >> > > > >
>>> >> > > >
>>> >> > >
>>> >> >
>>> >> >
>>> >> >
> com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConvert
> er.convertInternal(OpenOfficeDocumentConverter.java:120)
>>> >> > > > > at
>>> >> > > > >
>>> >> > > >
>>> >> > >
>>> >> >
>>> >> >
>>> >> >
> com.artofsolving.jodconverter.openoffice.converter.AbstractOpenOfficeDocumen
> tConverter.convert(AbstractOpenOfficeDocumentConverter.java:104)
>>> >> > > > > at
>>> >> > > > >
>>> >> > > >
>>> >> > >
>>> >> >
>>> >> >
>>> >> >
> com.artofsolving.jodconverter.openoffice.converter.AbstractOpenOfficeDocumen
> tConverter.convert(AbstractOpenOfficeDocumentConverter.java:74)
>>> >> > > > >  at com.artofsolvin
>>> >> > > > >
>>> >> > > >
>>> >> > >
>>> >> >
>>> >> >
>>> >> >
> g.jodconverter.openoffice.converter.AbstractOpenOfficeDocumentConverter.conv
> ert(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(ProxyF
> actory.
>>> >> > > > >  java:154)      at
>>> >> > > > >
>>> >> > > >
>>> >> > >
>>> >> >
>>> >> >
>>> >> >
> com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFa
> ctory.java:136)
>>> >> > > > >  at $Proxy5.loadComponentFromURL(Unknown Source) at
>>> >> > > > >
>>> >> > > >
>>> >> > >
>>> >> >
>>> >> >
>>> >> >
> com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConvert
> er.loadDocument(OpenOfficeDocumentConverter.java:150)
>>> >> > > > >    at
>>> >> > > > >
>>> >> > > >
>>> >> > >
>>> >> >
>>> >> >
>>> >> >
> com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConvert
> er.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/249da4992d1132178f29c3523e9b
> 7abf
>>> >> > > > > 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/249da4992d1132178f29c3523e9b7ab
> f/249da4992d1132178f29c3523e9b7abf.pdf':
>>> >> > > > > No such file or directory @ blob.c/OpenBlob/2480.convert:
>>> >> > > > > missing
>>> >> > > > > an
>>> >> > > > image
>>> >> > > > > filename
>>> >> > > > >
>>> >> > > >
>>> >> > >
>>> >> >
>>> >> >
>>> >> >
> `/opt/red5/webapps/openmeetings/upload/files/249da4992d1132178f29c3523e9b7ab
> f/_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/249da4992d1132178f29c3523e9b7ab
> f/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.wagner@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.wagner@gmail.com
>



-- 
Sebastian Wagner
http://www.openmeetings.de
http://incubator.apache.org/openmeetings/
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

RE: OpenOffice upload fails

Posted by Joseph Karwat <jk...@jellnet.com>.
My hosting company has been trying to install OpenMeetings 1.9 for the past
two weeks and could not get it to work properly. They tried several
operating systems.  From following this discussion it's obvious that the
install process for OpenMeetings is far too complicated.  I'd like to use OM
for my project but the cost in time and money to get it to the point where
one can evaluate it for a project is just too high.  I believe you really
need to address this issue if you want OM to have any kind of major
following.  Can anyone help?

Joseph Karwat | CEO | 415-462-0263 | www.jellnet.com |  
JELL NETWORKS, INC. 
Enterprise Command & Control For Online Meetings


-----Original Message-----
From: seba.wagner@gmail.com [mailto:] 
Sent: Thursday, December 22, 2011 1:09 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: OpenOffice upload fails

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 <so...@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.wagner@gmail.com
<se...@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 <so...@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
>> > <co...@gmx.de>
>> > wrote:
>> >>
>> >> It seems to work without it.
>> >>
>> >> Conrad
>> >> -------- Original-Nachricht --------
>> >> > Datum: Thu, 22 Dec 2011 15:26:52 +0700
>> >> > Von: Maxim Solodovnik <so...@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
>> >> > <co...@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 <so...@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
>> >> > > > <co...@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/249da4992d1132178f29c3523e9b
7abf.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.AbstractOpenOfficeConnec
tion
>> >> > > > > connectINFO: connectedDec 21, 2011 9:41:55 PM
>> >> > > > >
>> >> > > >
>> >> > >
>> >> >
>> >> >
>> >> >
com.artofsolving.jodconverter.openoffice.connection.AbstractOpenOfficeConnec
tion
>> >> > > > > disposingINFO: disconnectedException in thread "main"
>> >> > > > >
>> >> > >
>> >> > >
>> >> > >
com.artofsolving.jodconverter.openoffice.connection.OpenOfficeException:
>> >> > > > > conversion failed: could not load input document  at
>> >> > > > >
>> >> > > >
>> >> > >
>> >> >
>> >> >
>> >> >
com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConvert
er.loadAndExport(OpenOfficeDocumentConverter.java:131)
>> >> > > > >   at
>> >> > > > >
>> >> > > >
>> >> > >
>> >> >
>> >> >
>> >> >
com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConvert
er.convertInternal(OpenOfficeDocumentConverter.java:120)
>> >> > > > > at
>> >> > > > >
>> >> > > >
>> >> > >
>> >> >
>> >> >
>> >> >
com.artofsolving.jodconverter.openoffice.converter.AbstractOpenOfficeDocumen
tConverter.convert(AbstractOpenOfficeDocumentConverter.java:104)
>> >> > > > > at
>> >> > > > >
>> >> > > >
>> >> > >
>> >> >
>> >> >
>> >> >
com.artofsolving.jodconverter.openoffice.converter.AbstractOpenOfficeDocumen
tConverter.convert(AbstractOpenOfficeDocumentConverter.java:74)
>> >> > > > >  at com.artofsolvin
>> >> > > > >
>> >> > > >
>> >> > >
>> >> >
>> >> >
>> >> >
g.jodconverter.openoffice.converter.AbstractOpenOfficeDocumentConverter.conv
ert(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(ProxyF
actory.
>> >> > > > >  java:154)      at
>> >> > > > >
>> >> > > >
>> >> > >
>> >> >
>> >> >
>> >> >
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFa
ctory.java:136)
>> >> > > > >  at $Proxy5.loadComponentFromURL(Unknown Source) at
>> >> > > > >
>> >> > > >
>> >> > >
>> >> >
>> >> >
>> >> >
com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConvert
er.loadDocument(OpenOfficeDocumentConverter.java:150)
>> >> > > > >    at
>> >> > > > >
>> >> > > >
>> >> > >
>> >> >
>> >> >
>> >> >
com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConvert
er.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/249da4992d1132178f29c3523e9b
7abf
>> >> > > > > 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/249da4992d1132178f29c3523e9b7ab
f/249da4992d1132178f29c3523e9b7abf.pdf':
>> >> > > > > No such file or directory @ blob.c/OpenBlob/2480.convert:
>> >> > > > > missing
>> >> > > > > an
>> >> > > > image
>> >> > > > > filename
>> >> > > > >
>> >> > > >
>> >> > >
>> >> >
>> >> >
>> >> >
`/opt/red5/webapps/openmeetings/upload/files/249da4992d1132178f29c3523e9b7ab
f/_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/249da4992d1132178f29c3523e9b7ab
f/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.wagner@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.wagner@gmail.com


Re: OpenOffice upload fails

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
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 <so...@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.wagner@gmail.com <se...@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 <so...@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
>> > <co...@gmx.de>
>> > wrote:
>> >>
>> >> It seems to work without it.
>> >>
>> >> Conrad
>> >> -------- Original-Nachricht --------
>> >> > Datum: Thu, 22 Dec 2011 15:26:52 +0700
>> >> > Von: Maxim Solodovnik <so...@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
>> >> > <co...@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 <so...@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
>> >> > > > <co...@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.wagner@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.wagner@gmail.com

Re: OpenOffice upload fails

Posted by Maxim Solodovnik <so...@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.wagner@gmail.com
<se...@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 <so...@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_videokonferenz@gmx.de>
> > wrote:
> >>
> >> It seems to work without it.
> >>
> >> Conrad
> >> -------- Original-Nachricht --------
> >> > Datum: Thu, 22 Dec 2011 15:26:52 +0700
> >> > Von: Maxim Solodovnik <so...@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
> >> > <co...@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 <so...@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
> >> > > > <co...@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.wagner@gmail.com
>



-- 
WBR
Maxim aka solomax

Re: OpenOffice upload fails

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
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 <so...@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 <co...@gmx.de>
> wrote:
>>
>> It seems to work without it.
>>
>> Conrad
>> -------- Original-Nachricht --------
>> > Datum: Thu, 22 Dec 2011 15:26:52 +0700
>> > Von: Maxim Solodovnik <so...@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
>> > <co...@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 <so...@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
>> > > > <co...@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.wagner@gmail.com

Re: OpenOffice upload fails

Posted by Maxim Solodovnik <so...@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
<co...@gmx.de>wrote:

> It seems to work without it.
>
> Conrad
> -------- Original-Nachricht --------
> > Datum: Thu, 22 Dec 2011 15:26:52 +0700
> > Von: Maxim Solodovnik <so...@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
> > <co...@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 <so...@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
> > > > <co...@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

Re: OpenOffice upload fails

Posted by Conrad Beckert <co...@gmx.de>.
It seems to work without it.

Conrad
-------- Original-Nachricht --------
> Datum: Thu, 22 Dec 2011 15:26:52 +0700
> Von: Maxim Solodovnik <so...@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
> <co...@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 <so...@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
> > > <co...@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

Re: OpenOffice upload fails

Posted by Maxim Solodovnik <so...@gmail.com>.
On Ubuntu server you additionally need to install  xvfb


On Thu, Dec 22, 2011 at 15:20, Conrad Beckert
<co...@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 <so...@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
> > <co...@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

Re: OpenOffice upload fails

Posted by Conrad Beckert <co...@gmx.de>.
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 <so...@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
> <co...@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

Re: OpenOffice upload fails

Posted by Maxim Solodovnik <so...@gmail.com>.
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
<co...@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