Friday, August 22, 2014

openmeetings exception: java.lang.Exception: Path to JOD Library folder does not exist openmeetings not able to upload document

If you are getting any such error as below while uploading any document like doc, docx, odp, xls, xlsx, ppt, pptx follow the steps below to resolve it.

===============================

key: processSWF
process: generateSwf
command: /usr/share/pdf2swf -s insertstop -s poly2bitmap -i -j 85 -s zoom=100 /usr/src/openmeetings/webapps/openmeetings/upload/files/7de20358e15fc70c1bb2a34b393e6333/7de20358e15fc70c1bb2a34b393e6333.pdf /usr/src/openmeetings/webapps/openmeetings/upload/files/7de20358e15fc70c1bb2a34b393e6333/7de20358e15fc70c1bb2a34b393e6333.swf 
exception: java.io.IOException: Cannot run program "/usr/share/pdf2swf": java.io.IOException: error=2, No such file or directory
error: Cannot run program "/usr/share/pdf2swf": java.io.IOException: error=2, No such file or directory
exitValue: java.io.IOException: Cannot run program "/usr/share/pdf2swf": java.io.IOException: error=2, No such file or directory
out: 
key: processThumb
process: generateBatchThumbByWidth
command: /usr/bin/convert -thumbnail 80 /usr/src/openmeetings/webapps/openmeetings/upload/files/7de20358e15fc70c1bb2a34b393e6333/7de20358e15fc70c1bb2a34b393e6333.pdf /usr/src/openmeetings/webapps/openmeetings/upload/files/7de20358e15fc70c1bb2a34b393e6333/_thumb_page-%04d.jpg 
exception: null
error: convert: unable to open image `/usr/src/openmeetings/webapps/openmeetings/upload/files/7de20358e15fc70c1bb2a34b393e6333/7de20358e15fc70c1bb2a34b393e6333.pdf': No such file or directory.
convert: missing an image filename `/usr/src/openmeetings/webapps/openmeetings/upload/files/7de20358e15fc70c1bb2a34b393e6333/_thumb_page-%04d.jpg'.
key: processOpenOffice
process: doJodConvert
command: null
exception: java.lang.Exception: Path to JOD Library folder does not exist
error: Path to JOD Library folder does not exist
exitValue: java.lang.Exception: Path to JOD Library folder does not exist
out: null
===============================

To import doc, docx, odp, xls, xlsx, ppt, pptx,  all files that you can open with OpenOffice to OpenMeetings and use them in the whiteboard you need OpenOffice or LibreOffice installed the machine that runs OpenMeetings.


Installation of JODConverter means: You have download the ZIP binary from their website and then configure in Apache OpenMeetings Administration > Configuration the config key jod.path to point to the "lib" directory of the unpacked JODConverter binary. There is no restart of OpenMeetings required.


  • SSH server as root user
  • cd /usr/share
  • you can download the jodconverter zip file from the link 
  • wget http://jodconverter.googlecode.com/files/jodconverter-core-3.0-beta-4-dist.zip
  • unzip jodconverter-core-3.0-beta-4-dist.zip
In the unzip files find the library file or simply lib directory and set the path of jod.path to point to that lib directory and save, Location of lib could be  /usr/share/jodconverter-core-3.0-beta-4/lib

my configurations were as below.

jod.path      /usr/share/jodconverter-core-3.0-beta-4/lib


7 comments:

Sandra said...

WOW Jem of a resolution saved me keep up the great work :-)

fedrick said...

WOW Resolved my issue........would you like to maintain my open-meetings server for me ????

Unknown said...

Hii Fedrick I do not provide managed support at the moment but if face any issue at you server you can let me know ill be glad to help you :)

Unknown said...

Thank-You Sandra ..... :-)

Anonymous said...

Good resolution

Anonymous said...

I have install swftool but pdf2swf missing in usr/local/bin. that's why i am getting pdf2swf error . how to install pdf2swf library.? when i run ./configure ,in my log i show error like disabling pdf2swf . kindly help me how to insall pdf2swf library

Unknown said...

and what about jodconverter ????? is it there and configured properly ????

Post a Comment

Do Write about the Blog and Welcome to the world where open source is every thing :-)