plese set office home to /usr/lib64/libreoffice AND TRY AGAIN
On Fri, Jan 31, 2014 at 4:44 PM, Walter Neumann < [email protected]> wrote: > Now the error is: > Exception in thread "main" java.lang.IllegalStateException: invalid > officeHome: it doesn't contain soffice.bin: /usr/lib64/libreoffice/program > So jodconverter does not find soffice.bin. > In /usr/bin there is not soffice.bin, only a slink soffice to > /usr/lib64/libreoffice/program/soffice. But in > /usr/lib64/libreoffice/program there is soffice.bin (readable and > executable for all) - maybe a wrong version?? > Walter > > > Am 2014-01-31 09:50, schrieb Maxim Solodovnik: > > you need to add space character > Unable to access jarfile /usr/openmeetings/jodconverter/jodconverter- > core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4. > jar/usr/openmeetings/webapps/openmeetings/upload/files/ > 81f673d5af3739639aeeede8dd4c37e2.odt > > Unable to access jarfile /usr/openmeetings/jodconverter/jodconverter- > core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar > /usr/openmeetings/webapps/openmeetings/upload/files/ > 81f673d5af3739639aeeede8dd4c37e2.odt > > > > On Fri, Jan 31, 2014 at 3:39 PM, Walter Neumann < > [email protected]> wrote: > >> Yes, you are right, the version is 0.9.2. But pdf-files work fine and >> many other too. Only openoffice files don't work. >> Walter >> >> >> Am 2014-01-31 02:55, schrieb 小野圭二: >> >>> Hi Walter, >>> >>> I doubt your pdf2swf implement. >>> I had experimented like your issue before. >>> At that time, it recovered with re-implementing it which version was >>> latest. >>> Could you check it with pdf2swf -V ? >>> If it shows ver.0.9.2, i bet it dose not work. >>> >>> >>> 2014-01-31 Maxim Solodovnik <[email protected]>: >>> >>> the error is because of "," (comma symbol) in it, try this: >>>> >>>> java -Doffice.home=/usr/bin -cp >>>> >>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/juh-3.2.1.jar >>>> -cp >>>> >>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/ridl-3.2.1.jar >>>> -cp >>>> >>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/jurt-3.2.1.jar >>>> -cp >>>> >>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/commons-cli-1.1.jar >>>> -cp >>>> >>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/commons-io-1.4.jar >>>> -cp >>>> >>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/json-20090211.jar >>>> -cp >>>> >>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/unoil-3.2.1.jar >>>> -cp >>>> >>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar >>>> -jar >>>> >>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar/usr/openmeetings/webapps/openmeetings/upload/files/81f673d5af3739639aeeede8dd4c37e2.odt >>>> >>>> /usr/openmeetings/webapps/openmeetings/upload/files/81f673d5af3739639aeeede8dd4c37e2/81f673d5af3739639aeeede8dd4c37e2.pdf >>>> >>>> >>>> On Fri, Jan 31, 2014 at 1:08 AM, Walter Neumann >>>> <[email protected]> wrote: >>>> >>>>> Hello, >>>>> with the command sudo update-alternatives --config java >>>>> I could define oracle java as default. But the errors are the same. >>>>> What else could it be? >>>>> Thank you for advices. >>>>> Walter >>>>> >>>>> >>>>> Am 2014-01-29 17:20, schrieb Maxim Solodovnik: >>>>> >>>>> You can use update-alternatives command, here is an example: >>>>> >>>>> sudo update-alternatives --install "/usr/bin/java" "java" >>>>> /opt/jdk1.6.0_29/bin/java 1 >>>>> sudo update-alternatives --config java >>>>> >>>>> >>>>> On Wed, Jan 29, 2014 at 10:32 PM, Walter Neumann >>>>> <[email protected]> wrote: >>>>> >>>>>> Thank you for the quick reply. On the server is Oracle java installed >>>>>> (7u17) and open jdk (1.6.0). If I remove open jdk with yum, then will >>>>>> be >>>>>> removed 50 packages too (libreoffice for example). Must I all this >>>>>> remove >>>>>> and reinstall the needed packages? Or is there another way?# >>>>>> Thanks again >>>>>> Walter >>>>>> >>>>>> >>>>>> .Am 2014-01-29 14:12, schrieb Maxim Solodovn >>>>>> >>>>>> Could you please try with Oracle JDK? >>>>>> >>>>>> >>>>>> On Wed, Jan 29, 2014 at 8:08 PM, Walter Neumann >>>>>> <[email protected]> wrote: >>>>>> >>>>>>> Hello Maxim, thank you for your effort. It is always the sambe >>>>>>> result: >>>>>>> Unrecognized option: -cp, >>>>>>> Could not create the Java virtual machine >>>>>>> The java version is: >>>>>>> java version "1.6.0_28" >>>>>>> OpenJDK Runtime Environment (IcedTea6 1.13.0pre) >>>>>>> (rhel-1.66.1.13.0.el6-x86_64) >>>>>>> OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode) >>>>>>> It seems to be a java issue? >>>>>>> Walter >>>>>>> >>>>>>> >>>>>>> Am 2014-01-29 10:07, schrieb Maxim Solodovnik: >>>>>>> >>>>>>> Please try to run following command from command line on server: >>>>>>> >>>>>>> java -Doffice.home=/usr/bin -cp >>>>>>> >>>>>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/juh-3.2.1.jar >>>>>>> -cp, >>>>>>> >>>>>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/ridl-3.2.1.jar >>>>>>> -cp >>>>>>> >>>>>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/jurt-3.2.1.jar >>>>>>> -cp >>>>>>> >>>>>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/commons-cli-1.1.jar >>>>>>> -cp >>>>>>> >>>>>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/commons-io-1.4.jar >>>>>>> -cp >>>>>>> >>>>>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/json-20090211.jar >>>>>>> -cp >>>>>>> >>>>>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/unoil-3.2.1.jar >>>>>>> -cp >>>>>>> >>>>>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar >>>>>>> -jar >>>>>>> >>>>>>> /usr/openmeetings/jodconverter/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar/usr/openmeetings/webapps/openmeetings/upload/files/81f673d5af3739639aeeede8dd4c37e2.odt >>>>>>> >>>>>>> /usr/openmeetings/webapps/openmeetings/upload/files/81f673d5af3739639aeeede8dd4c37e2/81f673d5af3739639aeeede8dd4c37e2.pdf >>>>>>> >>>>>>> What is the result? >>>>>>> What is the result if "-Doffice.home=/usr/bin" parameter is removed? >>>>>>> >>>>>>> >>>>>>> On Tue, Jan 28, 2014 at 5:02 PM, Maxim Solodovnik < >>>>>>> [email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> You need to install openiffice via yum groupinstall + headless >>>>>>>> module. >>>>>>>> >>>>>>>> Will try to check your logs later ... >>>>>>>> >>>>>>>> On Jan 28, 2014 4:47 PM, "Walter Neumann" >>>>>>>> <[email protected]> wrote: >>>>>>>> >>>>>>>>> OM 2.2, libreoffice from the CentOS 6 repository, jodconverter 3.0 >>>>>>>>> beta 4. I can import any files, but not openoffice documents. >>>>>>>>> Path to jodconverter is set correctly. Path to office I tried >>>>>>>>> without >>>>>>>>> path and with "/usr/bin" (where are the binaries of OO) and with >>>>>>>>> "/usr/lib" >>>>>>>>> (where are the libraries of OO). Does it works with all versions of >>>>>>>>> libreoffice? >>>>>>>>> Openmeetings.logs is attached. >>>>>>>>> Thank you for help. >>>>>>>>> Walter >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> WBR >>>>>>> Maxim aka solomax >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> WBR >>>>>> Maxim aka solomax >>>>>> >>>>>> >>>>>> >>>>> >>>>> -- >>>>> WBR >>>>> Maxim aka solomax >>>>> >>>>> >>>>> >>>> >>>> -- >>>> WBR >>>> Maxim aka solomax >>>> >>> >> > > > -- > WBR > Maxim aka solomax > > > -- WBR Maxim aka solomax
