Page 1 of 1
Installation preview doc,docx,pdf,...
PostPosted:Sun Apr 10, 2011 11:31 am
by jllort
Re: installation preview doc,docx,pdf,...
PostPosted:Mon Apr 11, 2011 10:08 pm
by jllort
To preview any kind of file must have SWFTools installed, property system.pdf2swf
To preview doc, odt documents etc.. you must have installed open office and configured system.openoffice.path
And finally if you want to preview images must have imagemagick installed and configured system.convert
All parameteres are on OpenKM.cfg, if you're on windows must be windows paths, and after make any change in cfg file remember that must restarting the jboss aplication server
Re: installation preview doc,docx,pdf,...
PostPosted:Fri May 20, 2011 9:05 pm
by joako
As per the other thread, when this is configured it is imported into the database.
So to cofigure after you make a configuration error, it is done inside OpenKM app in the "Administration" section!
Will save alot of hair on people!
Re: installation preview doc,docx,pdf,...
PostPosted:Wed May 25, 2011 9:49 am
by juliaugong
I have installed SWFTools, and openOffice, and set the property,
and after I started the jboss, I found the soffice process, but I still can't preview any files, include txt, can you help me. it shows:
There was a problem with conversion generation, Please, contact your OpenKM Administrator.
Re: installation preview doc,docx,pdf,...
PostPosted:Thu May 26, 2011 10:48 am
by pavila
Post the part of the JBoss log related to the error.
Re: installation preview doc,docx,pdf,...
PostPosted:Mon Jul 04, 2011 9:15 pm
by mahoodle
I had the same problem, the last part of server log is
Code: Select allCaused by: java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The system cannot find the file specified
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
Any one can help me, thanks in advance.
Re: Installation preview doc,docx,pdf,...
PostPosted:Wed Jan 15, 2014 4:08 pm
by Mc_blue10
Did you find any solution for this problem?
Re: installation preview doc,docx,pdf,...
PostPosted:Fri Jan 17, 2014 3:56 pm
by FordPrefect
mahoodle wrote:I had the same problem, the last part of server log is
Code: Select allCaused by: java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The system cannot find the file specified
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
Any one can help me, thanks in advance.
From your log messages I make the guess that it should point to the path "C:\Program Files\<path to OpenOffice executable>", or in other words "Program Files" contains a space character. This is a common pitfall in many IT systems. Do you have a chance to escape the space, e.g. "Program\ Files", or put quotes around the whole path?
Sorry in case I misinterpreted, I have no clue about how to solve your original question.
Re: Installation preview doc,docx,pdf,...
PostPosted:Sat Jan 18, 2014 10:25 am
by jllort
Hi mahoodle
Which is your configuration openkoffice configuration path ?