You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Emmanuel BILLOT <em...@ac-orleans-tours.fr> on 2013/05/30 17:55:47 UTC
invalid officehome
Hi,
Convert does not work with OpenOffice or TXT docs.
Interfaces says nothing, and when using command line, i get
java -Doffice.home=/usr/lib64/libreoffice/program/ -cp
/data/openmeetings/jodconverter-core-3.0-beta-4/lib/ridl-3.2.1.jar -cp
/data/openmeetings/jodconverter-core-3.0-beta-4/lib/unoil-3.2.1.jar -cp
/data/openmeetings/jodconverter-core-3.0-beta-4/lib/commons-io-1.4.jar
-cp /data/openmeetings/jodconverter-core-3.0-beta-4/lib/juh-3.2.1.jar
-cp /data/openmeetings/jodconverter-core-3.0-beta-4/lib/jurt-3.2.1.jar
-cp
/data/openmeetings/jodconverter-core-3.0-beta-4/lib/json-20090211.jar
-cp
/data/openmeetings/jodconverter-core-3.0-beta-4/lib/commons-cli-1.1.jar
-cp
/data/openme^Cings/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar
-jar
/data/openmeetings/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar
/data/openmeetings/webapps/openmeetings/uploadtemp/files/8ef1230c33a214b73b02e0ef534c4334.txt
/data/openmeetings/webapps/openmeetings/upload/files/8ef1230c33a214b73b02e0ef534c4334/8ef1230c33a214b73b02e0ef534c4334.pdf
Exception in thread "main" java.lang.IllegalStateException: invalid
officeHome: it doesn't contain soffice.bin: /usr/lib64/libreoffice/program
at
org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:167)
at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:111)
[root@webconf-test openmeetings]# [INFO] [NioProcessor-14]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action
userservice.refreshSession
Several articles on google speak about it but no solution.
What could be wrong ?
--
Emmanuel BILLOT
CATEL - Dpt. Système et Réseaux
Rectorat - Académie d'Orléans-Tours
10, rue Molière - 45000 Orléans
Tél : 02 38 79 45 57
Re: OpenMeetings 2.1.1 public Interview Room
Posted by Maxim Solodovnik <so...@gmail.com>.
Fixed in both 2.1.1 and 3.0.0
Thanks!
On Fri, May 31, 2013 at 1:32 PM, Maxim Solodovnik <so...@gmail.com>wrote:
> Hello George,
> I'll disable hiding users since it seems to be the easiest solution
> Thanks for the report!
>
>
> On Fri, May 31, 2013 at 12:05 PM, George Kirkham <gk...@co2crc.com.au>wrote:
>
>> Hi,****
>>
>> ** **
>>
>> Has anyone entered the “public Interview Room”, selected “Choose the user
>> for this video” on the left side video and then selected their video and
>> audio, then minimised the “Users” area on the left ? ****
>>
>> ** **
>>
>> When I do this my video stays where it was, but the area showing the two
>> areas where the video will be displayed moves to the left.****
>>
>> ** **
>>
>> The same thing happens for the right size video window, once the video
>> stream is initiated the video stream stays at the position it started,
>> whether you minimise or restore the (left hand side) “Users” section
>> window area.****
>>
>> ** **
>>
>> Thanks,****
>>
>> ** **
>>
>> George Kirkham****
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>
--
WBR
Maxim aka solomax
Re: OM 2.1.1 - Installing OM2.x On Debian64 - Headless.pdf
(Debian Squeeze) - Updated 29/7/2012
Posted by mw...@eledia.de.
Hello George, Hello Stephen,
the latest version of the openmeeting tutorial for debian squeeze (64bit)
you can find here in the list of om-tutorials:
https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+for+installing+OpenMeetings+and+Tools
or directly here:
https://cwiki.apache.org/confluence/download/attachments/27838216/Installing+OM2.x+On+Debian64+-+Headless.pdf?version=18&modificationDate=1360327950000
In that tutorial version some of your suggestions are allready fixed.
The binarie-path of apache-ant is old, thats right. The 1.8.4 is not
available anymore.
@Stephen: For ffmpeg I am using the version 1.1.5 right now. And it works
fine with om 2.1.1. But have you ever tried the latest version of ffmpeg
1.2.1 "Magic"?
Thank you,
Michael
> Stephen,
>
>
>
> I recently built a Debian 64 bit Server using the âInstalling OM2.x On
> Debian64 - Headless.pdf
> <https://cwiki.apache.org/OPENMEETINGS/tutorials-related-to-openmeetings.data/Installing%20OM2.x%20On%20Debian64%20-%20Headless.pdf>
> (Debian Squeeze) - Updated 29/7/2012â instructions.
>
>
>
> Are there more recent Debian instructions that I should have been using ?
>
>
>
> https://cwiki.apache.org/OPENMEETINGS/tutorials-related-to-openmeetings.html
>
>
>
> I had difficulty copy text from the PDF, not sure why. I had no issues
> copying text from previously saved PDFs.
>
>
>
> I also found some things that might be missing (or I could have missed
> them), and a few things have changed (and of course will keep changing).
>
>
>
> Debian Multimedia has changed its address
>
> deb http://deb-multimedia.org squeeze main
>
>
>
> I had to add the Debian Multimedia Keyring (and the web site address has
> changed from what I last had)
>
>
>
> Now we add the key ring, and the reload the catalogue
>
> # apt-get install deb-multimedia-keyring
>
> # apt-get update
>
>
>
>
>
> I am not quite sure where to get the OpenMeetings 2.1.1 version from, but
> I used this url (the source is on the same page);
>
> wget
> https://builds.apache.org/job/Openmeetings%202.1/lastSuccessfulBuild/artifact/2.1/dist/apache-openmeetings-2.1.1.r1487794-30-05-2013_0922.tar.gz
>
>
>
> I found that this âsvn checkout
> https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/â
> returned the 3.0.0 version.
>
>
>
> # svn checkout
> https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/singlewebapp/
>
> svn: Repository moved permanently to
> 'https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp'; please
> relocate
>
>
>
> # svn checkout
> https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/
>
>
>
>
>
> I had to locate and add a mysql-converter from
> http://www.mysql.com/downloads/connector/j/
>
>
>
> tar -zxvf mysql-connector-java-5.1.25.tar.gz
>
> cp
> /usr/adm/mysql-connector-java-5.1.25/mysql-connector-java-5.1.25-bin.jar
> /usr/lib/red5/webapps/openmeetings/WEB-INF/lib/
>
>
>
> I was not sure which ANT version to use 1.8.4 or 1.9.1, however I used
> 1.9.1 and it worked very well. I had trouble finding an repository which
> still had 1.8.4 but was able to locate a site that did have it.
>
>
>
> # wget
> http://mirror.overthewire.com.au/pub/apache//ant/binaries/apache-ant-1.9.1-bin.tar.gz
>
>
>
> http://mirror.mel.bkb.net.au/pub/apache//ant/binaries/apache-ant-1.9.1-bin.tar.gz
> <http://mirror.mel.bkb.net.au/pub/apache/ant/binaries/apache-ant-1.9.1-bin.tar.gz>
>
>
>
> http://archive.apache.org/dist/ant/binaries/
>
>
>
> http://archive.apache.org/dist/ant/binaries/apache-ant-1.8.4-bin.tar.gz
>
>
>
> /usr/adm/om/singlewebapp# /usr/adm/apache-ant-1.9.1/bin/ant -Ddb=mysql
>
>
>
> dist:
>
>
>
> BUILD SUCCESSFUL
>
> Total time: 26 minutes 18 seconds
>
>
>
> I think that about sums up the few points that could be updated.
>
>
>
> I usually change port 5080 to 80 and forgot that if you do this you have
> to run the red5 script under a root user, not as nobody, which caused me a
> bit of frustration until I recalled needing to update the /etc/init.d/red5
> script to use root instead of nobody.
>
>
>
> Thanks,
>
>
>
> George Kirkham
>
>
OM 2.1.1 - Installing OM2.x On Debian64 - Headless.pdf (Debian Squeeze) - Updated 29/7/2012
Posted by George Kirkham <gk...@co2crc.com.au>.
Stephen,
I recently built a Debian 64 bit Server using the “Installing OM2.x On Debian64 - Headless.pdf <https://cwiki.apache.org/OPENMEETINGS/tutorials-related-to-openmeetings.data/Installing%20OM2.x%20On%20Debian64%20-%20Headless.pdf> (Debian Squeeze) - Updated 29/7/2012” instructions.
Are there more recent Debian instructions that I should have been using ?
https://cwiki.apache.org/OPENMEETINGS/tutorials-related-to-openmeetings.html
I had difficulty copy text from the PDF, not sure why. I had no issues copying text from previously saved PDFs.
I also found some things that might be missing (or I could have missed them), and a few things have changed (and of course will keep changing).
Debian Multimedia has changed its address
deb http://deb-multimedia.org squeeze main
I had to add the Debian Multimedia Keyring (and the web site address has changed from what I last had)
Now we add the key ring, and the reload the catalogue
# apt-get install deb-multimedia-keyring
# apt-get update
I am not quite sure where to get the OpenMeetings 2.1.1 version from, but I used this url (the source is on the same page);
wget https://builds.apache.org/job/Openmeetings%202.1/lastSuccessfulBuild/artifact/2.1/dist/apache-openmeetings-2.1.1.r1487794-30-05-2013_0922.tar.gz
I found that this “svn checkout https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/” returned the 3.0.0 version.
# svn checkout https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/singlewebapp/
svn: Repository moved permanently to 'https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp'; please relocate
# svn checkout https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/
I had to locate and add a mysql-converter from http://www.mysql.com/downloads/connector/j/
tar -zxvf mysql-connector-java-5.1.25.tar.gz
cp /usr/adm/mysql-connector-java-5.1.25/mysql-connector-java-5.1.25-bin.jar /usr/lib/red5/webapps/openmeetings/WEB-INF/lib/
I was not sure which ANT version to use 1.8.4 or 1.9.1, however I used 1.9.1 and it worked very well. I had trouble finding an repository which still had 1.8.4 but was able to locate a site that did have it.
# wget http://mirror.overthewire.com.au/pub/apache//ant/binaries/apache-ant-1.9.1-bin.tar.gz
http://mirror.mel.bkb.net.au/pub/apache//ant/binaries/apache-ant-1.9.1-bin.tar.gz <http://mirror.mel.bkb.net.au/pub/apache/ant/binaries/apache-ant-1.9.1-bin.tar.gz>
http://archive.apache.org/dist/ant/binaries/
http://archive.apache.org/dist/ant/binaries/apache-ant-1.8.4-bin.tar.gz
/usr/adm/om/singlewebapp# /usr/adm/apache-ant-1.9.1/bin/ant -Ddb=mysql
dist:
BUILD SUCCESSFUL
Total time: 26 minutes 18 seconds
I think that about sums up the few points that could be updated.
I usually change port 5080 to 80 and forgot that if you do this you have to run the red5 script under a root user, not as nobody, which caused me a bit of frustration until I recalled needing to update the /etc/init.d/red5 script to use root instead of nobody.
Thanks,
George Kirkham
Re: OpenMeetings 2.1.1 public Interview Room
Posted by Maxim Solodovnik <so...@gmail.com>.
Hello George,
I'll disable hiding users since it seems to be the easiest solution
Thanks for the report!
On Fri, May 31, 2013 at 12:05 PM, George Kirkham <gk...@co2crc.com.au>wrote:
> Hi,****
>
> ** **
>
> Has anyone entered the “public Interview Room”, selected “Choose the user
> for this video” on the left side video and then selected their video and
> audio, then minimised the “Users” area on the left ? ****
>
> ** **
>
> When I do this my video stays where it was, but the area showing the two
> areas where the video will be displayed moves to the left.****
>
> ** **
>
> The same thing happens for the right size video window, once the video
> stream is initiated the video stream stays at the position it started,
> whether you minimise or restore the (left hand side) “Users” section
> window area.****
>
> ** **
>
> Thanks,****
>
> ** **
>
> George Kirkham****
>
--
WBR
Maxim aka solomax
OpenMeetings 2.1.1 public Interview Room
Posted by George Kirkham <gk...@co2crc.com.au>.
Hi,
Has anyone entered the "public Interview Room", selected "Choose the
user for this video" on the left side video and then selected their
video and audio, then minimised the "Users" area on the left ?
When I do this my video stays where it was, but the area showing the two
areas where the video will be displayed moves to the left.
The same thing happens for the right size video window, once the video
stream is initiated the video stream stays at the position it started,
whether you minimise or restore the (left hand side) "Users" section
window area.
Thanks,
George Kirkham
Re : Re: Re : Re: invalid officehome
Posted by Billot <Em...@ac-orleans-tours.fr>.
OK i found what was wrong.
Open Office installation was incomplete.
In fact, there is no groupinstall for LibreOffice on our RedHat config, so necessary packages are :
libreoffice-base
libreoffice-calc
libreoffice-core
libreoffice-draw
libreoffice-graphicfilter
libreoffice-headless
libreoffice-impress
libreoffice-math
libreoffice-opensymbol-fonts
libreoffice-pdfimport
libreoffice-presenter-screen
libreoffice-ure
libreoffice-writer
BR,
Le 31/05/13, Maxim Solodovnik <so...@gmail.com> a écrit :
> Not sure :(
>
> Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one.
>
>
>
> On Fri, May 31, 2013 at 3:42 PM, Emmanuel BILLOT <em...@ac-orleans-tours.fr> wrote:
>
>
> >
> >
> >
> > > INFO: stopped
> > >
> > > Exception in thread "main" org.artofsolving.jodconverter.office.OfficeException: could not load document: j.txt
> > >
> >
> >
> > File rights are ok, what could be wrong ?
> >
> >
> >
> > --
> >
> > Emmanuel BILLOT
> >
> > CATEL - Dpt. Système et Réseaux
> >
> > Rectorat - Académie d'Orléans-Tours
> >
> > 10, rue Molière - 45000 Orléans
> >
> > Tél : 02 38 79 45 57
> >
> >
> >
> >
> >
>
>
>
>
>
> --
> WBR
> Maxim aka solomax
>
>
--
Emmanuel BILLOT
CATEL - Dpt. Système et Réseaux
Rectorat - Académie d'Orléans-Tours
10, rue Molière - 45000 Orléans
Tél : 02 38 79 45 57
Re: Re : Re: invalid officehome
Posted by Maxim Solodovnik <so...@gmail.com>.
Not sure :(
Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an
unsupported one.
On Fri, May 31, 2013 at 3:42 PM, Emmanuel BILLOT <
emmanuel.billot@ac-orleans-tours.fr> wrote:
>
> INFO: stopped
>> Exception in thread "main" org.artofsolving.jodconverter.**office.OfficeException:
>> could not load document: j.txt
>>
> File rights are ok, what could be wrong ?
>
>
> --
> Emmanuel BILLOT
> CATEL - Dpt. Système et Réseaux
> Rectorat - Académie d'Orléans-Tours
> 10, rue Molière - 45000 Orléans
> Tél : 02 38 79 45 57
>
>
--
WBR
Maxim aka solomax
Re: Re : Re: invalid officehome
Posted by Emmanuel BILLOT <em...@ac-orleans-tours.fr>.
> INFO: stopped
> Exception in thread "main"
> org.artofsolving.jodconverter.office.OfficeException: could not load
> document: j.txt
File rights are ok, what could be wrong ?
--
Emmanuel BILLOT
CATEL - Dpt. Système et Réseaux
Rectorat - Académie d'Orléans-Tours
10, rue Molière - 45000 Orléans
Tél : 02 38 79 45 57
Re : Re: invalid officehome
Posted by Billot <Em...@ac-orleans-tours.fr>.
Le 30/05/13, Maxim Solodovnik <so...@gmail.com> a écrit :
>
> Your officehome wrong :)
>
> You should have
>
> -Doffice.home=/usr/lib64/libre office/
>
> Instead of
>
> -Doffice.home=/usr/lib64/libre office/program/
>
>
Ok, i have a new error :
[root@webconf-test ~]# java -Doffice.home=/usr/lib64/libreoffice/ -cp /data/openmeetings/jodconverter-core-3.0-beta-4/lib/ridl-3.2.1.jar -cp /data/openmeetings/jodconverter-core-3.0-beta-4/lib/unoil-3.2.1.jar -cp /data/openmeetings/jodconverter-core-3.0-beta-4/lib/commons-io-1.4.jar -cp /data/openmeetings/jodconverter-core-3.0-beta-4/lib/juh-3.2.1.jar -cp /data/openmeetings/jodconverter-core-3.0-beta-4/lib/jurt-3.2.1.jar -cp /data/openmeetings/jodconverter-core-3.0-beta-4/lib/json-20090211.jar -cp /data/openmeetings/jodconverter-core-3.0-beta-4/lib/commons-cli-1.1.jar -cp /data/openme^Cings/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar -jar /data/openmeetings/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar /root/j.txt /data/openmeetings/webapps/openmeetings/upload/files/8ef1230c33a214b73b02e0ef534c4334/8ef1230c33a214b73b02e0ef534c4334.pdf
mai 30, 2013 9:51:32 PM org.artofsolving.jodconverter.office.ProcessPoolOfficeManager <init>
INFO: ProcessManager implementation is LinuxProcessManager
mai 30, 2013 9:51:32 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir '/tmp/.jodconverter_socket_host-127.0.0.1_port-2002'
mai 30, 2013 9:51:32 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: started process; pid = 23825
mai 30, 2013 9:51:33 PM org.artofsolving.jodconverter.office.OfficeConnection connect
INFO: connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
mai 30, 2013 9:51:33 PM org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
INFO: stopping
mai 30, 2013 9:51:33 PM org.artofsolving.jodconverter.office.OfficeConnection$1 disposing
INFO: disconnected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
mai 30, 2013 9:51:33 PM org.artofsolving.jodconverter.office.ManagedOfficeProcess doEnsureProcessExited
INFO: process exited with code 0
mai 30, 2013 9:51:33 PM org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
INFO: stopped
Exception in thread "main" org.artofsolving.jodconverter.office.OfficeException: could not load document: j.txt
at org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(AbstractConversionTask.java:92)
at org.artofsolving.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:59)
at org.artofsolving.jodconverter.office.PooledOfficeManager$2.run(PooledOfficeManager.java:80)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
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:177)
at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:143)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:335)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:304)
at com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:91)
at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:639)
at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:151)
at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:133)
at com.sun.proxy.$Proxy4.loadComponentFromURL(Unknown Source)
at org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(AbstractConversionTask.java:90)
... 8 more
>
>
> On May 30, 2013 10:56 PM, "Emmanuel BILLOT" <em...@ac-orleans-tours.fr> wrote:
>
> > Hi,
> >
> >
> >
> > Convert does not work with OpenOffice or TXT docs.
> >
> > Interfaces says nothing, and when using command line, i get
> >
> >
> > java -Doffice.home=/usr/lib64/libreoffice/program/ -cp /data/openmeetings/jodconverter-core-3.0-beta-4/lib/ridl-3.2.1.jar -cp /data/openmeetings/jodconverter-core-3.0-beta-4/lib/unoil-3.2.1.jar -cp /data/openmeetings/jodconverter-core-3.0-beta-4/lib/commons-io-1.4.jar -cp /data/openmeetings/jodconverter-core-3.0-beta-4/lib/juh-3.2.1.jar -cp /data/openmeetings/jodconverter-core-3.0-beta-4/lib/jurt-3.2.1.jar -cp /data/openmeetings/jodconverter-core-3.0-beta-4/lib/json-20090211.jar -cp /data/openmeetings/jodconverter-core-3.0-beta-4/lib/commons-cli-1.1.jar -cp /data/openme^Cings/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar -jar /data/openmeetings/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar /data/openmeetings/webapps/openmeetings/uploadtemp/files/8ef1230c33a214b73b02e0ef534c4334.txt /data/openmeetings/webapps/openmeetings/upload/files/8ef1230c33a214b73b02e0ef534c4334/8ef1230c33a214b73b02e0ef534c4334.pdf
> > Exception in thread "main" java.lang.IllegalStateException: invalid officeHome: it doesn't contain soffice.bin: /usr/lib64/libreoffice/program
> > at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:167)
> > at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:111)
> >
> > [root@webconf-test openmeetings]# [INFO] [NioProcessor-14] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action userservice.refreshSession
> >
> >
> >
> > Several articles on google speak about it but no solution.
> >
> >
> >
> > What could be wrong ?
> >
> >
> >
> > --
> >
> > Emmanuel BILLOT
> >
> > CATEL - Dpt. Système et Réseaux
> >
> > Rectorat - Académie d'Orléans-Tours
> >
> > 10, rue Molière - 45000 Orléans
> >
> > Tél : 02 38 79 45 57
> >
> >
> >
>
>
>
--
Emmanuel BILLOT
CATEL - Dpt. Système et Réseaux
Rectorat - Académie d'Orléans-Tours
10, rue Molière - 45000 Orléans
Tél : 02 38 79 45 57
Re: invalid officehome
Posted by Maxim Solodovnik <so...@gmail.com>.
Your officehome wrong :)
You should have
-Doffice.home=/usr/lib64/libre office/
Instead of
-Doffice.home=/usr/lib64/libre office/program/
On May 30, 2013 10:56 PM, "Emmanuel BILLOT" <
emmanuel.billot@ac-orleans-tours.fr> wrote:
> Hi,
>
> Convert does not work with OpenOffice or TXT docs.
> Interfaces says nothing, and when using command line, i get
>
> java -Doffice.home=/usr/lib64/**libreoffice/program/ -cp
> /data/openmeetings/**jodconverter-core-3.0-beta-4/**lib/ridl-3.2.1.jar
> -cp /data/openmeetings/**jodconverter-core-3.0-beta-4/**lib/unoil-3.2.1.jar
> -cp /data/openmeetings/**jodconverter-core-3.0-beta-4/**lib/commons-io-1.4.jar
> -cp /data/openmeetings/**jodconverter-core-3.0-beta-4/**lib/juh-3.2.1.jar
> -cp /data/openmeetings/**jodconverter-core-3.0-beta-4/**lib/jurt-3.2.1.jar
> -cp /data/openmeetings/**jodconverter-core-3.0-beta-4/**lib/json-20090211.jar
> -cp /data/openmeetings/**jodconverter-core-3.0-beta-4/**lib/commons-cli-1.1.jar
> -cp /data/openme^Cings/**jodconverter-core-3.0-beta-4/**
> lib/jodconverter-core-3.0-**beta-4.jar -jar /data/openmeetings/**
> jodconverter-core-3.0-beta-4/**lib/jodconverter-core-3.0-**beta-4.jar
> /data/openmeetings/webapps/**openmeetings/uploadtemp/files/**
> 8ef1230c33a214b73b02e0ef534c43**34.txt /data/openmeetings/webapps/**
> openmeetings/upload/files/**8ef1230c33a214b73b02e0ef534c43**34/**
> 8ef1230c33a214b73b02e0ef534c43**34.pdf
> Exception in thread "main" java.lang.**IllegalStateException: invalid
> officeHome: it doesn't contain soffice.bin: /usr/lib64/libreoffice/program
> at org.artofsolving.jodconverter.**office.**
> DefaultOfficeManagerConfigurat**ion.buildOfficeManager(**
> DefaultOfficeManagerConfigurat**ion.java:167)
> at org.artofsolving.jodconverter.**cli.Convert.main(Convert.java:*
> *111)
> [root@webconf-test openmeetings]# [INFO] [NioProcessor-14]
> org.red5.server.net.rtmp.**codec.RTMPProtocolDecoder - Action
> userservice.refreshSession
>
> Several articles on google speak about it but no solution.
>
> What could be wrong ?
>
> --
> Emmanuel BILLOT
> CATEL - Dpt. Système et Réseaux
> Rectorat - Académie d'Orléans-Tours
> 10, rue Molière - 45000 Orléans
> Tél : 02 38 79 45 57
>
>