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/unoi
l-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/comm
ons-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/comm
ons-io-1.4.jar, -cp,
/usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/jodc
onverter-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/jodc
onverter-core-3.0-beta-4.jar,
/usr/lib/red5/webapps/openmeetings/uploadtemp/files/adaefb3a343cd0a4bdc6
e449aed7c0bf.ppt,
/usr/lib/red5/webapps/openmeetings/upload/files/adaefb3a343cd0a4bdc6e449
aed7c0bf/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.b
uildOfficeManager(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/adaefb3a343cd0a4bdc6e449
aed7c0bf/adaefb3a343cd0a4bdc6e449aed7c0bf.pdf,
/usr/lib/red5/webapps/openmeetings/upload/files/adaefb3a343cd0a4bdc6e449
aed7c0bf/_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/adaefb3a343cd0a4bdc6e449
aed7c0bf/adaefb3a343cd0a4bdc6e449aed7c0bf.pdf,
/usr/lib/red5/webapps/openmeetings/upload/files/adaefb3a343cd0a4bdc6e449
aed7c0bf/adaefb3a343cd0a4bdc6e449aed7c0bf.swf]

Name: error

Value: Error: Couldn't open file
'/usr/lib/red5/webapps/openmeetings/upload/files/adaefb3a343cd0a4bdc6e44
9aed7c0bf/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?

Reply via email to