George thank you for the reply, I have installed the openmeeting in debian without any problem but when I try to installed it in Centos5 I have problems with paths etc. If I leave empty the field "office.path" I'm getting the error "officeHome not set and could not be auto-detected" during file conversion.
Also I have make a soft link to /usr/local/bin/ in pdf2swf as I found it in /usr/bin without result. I think on Monday I'm going to reinstall careful the project as I cannot understand what is wrong :-( Thanks again for all the replies, Dimosthenis On Sat, Jul 7, 2012 at 2:47 PM, George Kirkham <[email protected]>wrote: > Dimosthenis,**** > > ** ** > > From your log output, invalid officeHome: it doesn't contain soffice.bin: > /usr/lib64/openoffice.org3/program”, I wonder what you have in the > Configuration settings for “office.path” ? I do not put anything in here > as OpenMeetings can usually find the correct path. On my Ubuntu (32 bit) > OpenMeetings server, I have libreoffice installed and the below “find” > shows the path, not that I have this defined in OpenMeetings, since it > finds the path itself.**** > > ** ** > > /# find / -name soffice.bin**** > > /usr/lib/libreoffice/program/soffice.bin**** > > root@chat:/#**** > > ** ** > > ** ** > > Does a “ls -al /usr/lib64/openoffice.org3/program/soffice.bin” show the > file “soffice.bin” in this path? **** > > ** ** > > Just to check, if you do a find on pdf2swf, is it located in the path > “/usr/local/bin/” ?**** > > ** ** > > # find / -name pdf2swf**** > > /usr/local/bin/pdf2swf**** > > ** ** > > ** ** > > Thanks,**** > > ** ** > > George Kirkham**** > > ** ** > > ** ** > > ** ** > > *From:* Dimosthenis Trichakis [mailto:[email protected]] > *Sent:* Saturday, 7 July 2012 9:16 PM > *To:* [email protected] > *Subject:* Re: "invalid officeHome" error.**** > > ** ** > > I correct the directory for the converter and now I'm getting:**** > > ** ** > > Name: out**** > > Value: **** > > Name: exitValue**** > > Value: 1**** > > Name: command**** > > Value: [java, -Doffice.home=/usr/lib64/openoffice.org3/program/, -cp, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/json-20090211.jar, > -cp, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/unoil-3.2.1.jar, > -cp, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/juh-3.2.1.jar, > -cp, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/commons-cli-1.1.jar, > -cp, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/ridl-3.2.1.jar, > -cp, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/commons-io-1.4.jar, > -cp, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar, > -cp, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/jurt-3.2.1.jar, > -jar, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar, > /usr/lib/red5/webapps/openmeetings/uploadtemp/files/adaefb3a343cd0a4bdc6e449aed7c0bf.ppt, > /usr/lib/red5/webapps/openmeetings/upload/files/adaefb3a343cd0a4bdc6e449aed7c0bf/adaefb3a343cd0a4bdc6e449aed7c0bf.pdf] > **** > > Name: error**** > > Value: Exception in thread "main" java.lang.IllegalStateException: invalid > officeHome: it doesn't contain soffice.bin: > /usr/lib64/openoffice.org3/program**** > > at > org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:167) > **** > > at > org.artofsolving.jodconverter.cli.Convert.main(Convert.java:111)**** > > ** ** > > Name: process**** > > Value: doJodConvert**** > > Name: exitValue**** > > Value: 0**** > > Name: command**** > > Value: **** > > Name: completeName**** > > Value: adaefb3a343cd0a4bdc6e449aed7c0bf.ppt**** > > Name: error**** > > Value: **** > > Name: fileExplorerItemId**** > > Value: 14**** > > Name: process**** > > Value: **** > > Name: exitValue**** > > Value: 0**** > > Name: process**** > > Value: generateXMLDocument**** > > Name: out**** > > Value: **** > > Name: exitValue**** > > Value: 127**** > > Name: command**** > > Value: [/usr/lib/convert, -thumbnail, 80, > /usr/lib/red5/webapps/openmeetings/upload/files/adaefb3a343cd0a4bdc6e449aed7c0bf/adaefb3a343cd0a4bdc6e449aed7c0bf.pdf, > /usr/lib/red5/webapps/openmeetings/upload/files/adaefb3a343cd0a4bdc6e449aed7c0bf/_thumb_page-%04d.jpg] > **** > > Name: error**** > > Value: /usr/lib/convert: error while loading shared libraries: > libMagickCore.so.5: cannot open shared object file: No such file or > directory**** > > ** ** > > Name: process**** > > Value: generateBatchThumbByWidth**** > > Name: out**** > > Value: **** > > Name: exitValue**** > > Value: 1**** > > Name: command**** > > Value: [/usr/bin/pdf2swf, -s, insertstop, -s, poly2bitmap, -i, -j, 85, -s, > zoom=72, > /usr/lib/red5/webapps/openmeetings/upload/files/adaefb3a343cd0a4bdc6e449aed7c0bf/adaefb3a343cd0a4bdc6e449aed7c0bf.pdf, > /usr/lib/red5/webapps/openmeetings/upload/files/adaefb3a343cd0a4bdc6e449aed7c0bf/adaefb3a343cd0a4bdc6e449aed7c0bf.swf] > **** > > Name: error**** > > Value: Error: Couldn't open file > '/usr/lib/red5/webapps/openmeetings/upload/files/adaefb3a343cd0a4bdc6e449aed7c0bf/adaefb3a343cd0a4bdc6e449aed7c0bf.pdf' > **** > > ** ** > > Name: process**** > > Value: generateSwf**** > > ** ** > > ** ** > > ** ** > > The library libMagickCore.so.5 exist in the same directory:**** > > [root@comms lib]# find / -name libMagickCore.so.5**** > > /usr/lib/libMagickCore.so.5**** > > [root@comms ~]# find / -name convert**** > > /usr/lib/convert**** > > ** ** > > Any help please?**** >
