Page 1 of 1
Only PDF Preview is working.
PostPosted:Thu May 12, 2016 2:17 pm
by Jay1243
Hi ,
Ive been trying to set up openKM and so far ive only manage to make the PDF preview work. Im currently on Windows 7 and got OpenKM 6.3. I both tried openoffice 3.x and 4.x and neither seem to show the preview. Im currently able to download all file in PDF but still no preview.
Right now when im going on a document of any type (.doc .xls .txt .odt) and trying to preview, its only a blank preview except for PDF files who show up properly.
Here's a picture of config for pfd2swf and open office:
http://imgur.com/FgVaffl
system.openoffice.tasks is 200 ( I also tried it with 5 like some thread and forum talked about)
system.openoffice.port is 2002 (Tried 2222 also)
Im kinda out of idea right now... anyone got some ?
EDIT: Everything is working on google chrome but the uploader isnt supported by chrome anymore, My issue only appear on Firefox. As For IE, same as Firefox (Only PDF preview is working).
Re: Only PDF Preview is working.
PostPosted:Sat May 14, 2016 8:00 am
by jllort
Your OpenKM is installed under Linux or Windows ?
Re: Only PDF Preview is working.
PostPosted:Mon May 16, 2016 12:10 pm
by Jay1243
Its on Windows 7, i dowloaded the ccommunity version of 6.3.1 For Windows. ( Openkm-6.3.1-community-windows-installer.exe (Windows) )
Re: Only PDF Preview is working.
PostPosted:Wed May 18, 2016 8:46 am
by jllort
Did you installed openoffice and configured ( the parameter system.openoffice.path ? )
Take a look at your catalina.log file ( at the end of the startup process ) where the soffice service should be started
Re: Only PDF Preview is working.
PostPosted:Wed May 18, 2016 12:12 pm
by Jay1243
Yeah i did, like i said i both tried openoffice 4.x and 3.x to see if there was any difference. My current path is
system.openoffice.path : OK - C:\OpenOffice\program\soffice.bin
for the Catalina files,
Code: Select all2016-05-18 08:05:46,253 [OfficeProcessThread-0] INFO org.artofsolving.jodconverter.office.OfficeProcess- starting process with acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir 'C:\openkm-6.3.1-community\tomcat\temp\.jodconverter_socket_host-127.0.0.1_port-2002'
2016-05-18 08:05:46,374 [OfficeProcessThread-0] INFO org.artofsolving.jodconverter.office.OfficeProcess- started process; pid = 4312
2016-05-18 08:05:57,462 [OfficeProcessThread-0] WARN org.artofsolving.jodconverter.office.ManagedOfficeProcess- office process died with exit code 81; restarting it
2016-05-18 08:05:57,522 [OfficeProcessThread-0] INFO org.artofsolving.jodconverter.office.OfficeProcess- starting process with acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir 'C:\openkm-6.3.1-community\tomcat\temp\.jodconverter_socket_host-127.0.0.1_port-2002'
2016-05-18 08:05:57,562 [OfficeProcessThread-0] INFO org.artofsolving.jodconverter.office.OfficeProcess- started process; pid = 4980
2016-05-18 08:06:00,897 [OfficeProcessThread-0] INFO org.artofsolving.jodconverter.office.OfficeConnection- connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
2016-05-18 08:06:00,897 [localhost-startStop-1] INFO com.openkm.extension.core.ExtensionManager- Initialize and load plugins...
Re: Only PDF Preview is working.
PostPosted:Fri May 20, 2016 9:41 am
by jllort
Something not pleasant in your log "2016-05-18 08:05:57,462 [OfficeProcessThread-0] WARN org.artofsolving.jodconverter.office.ManagedOfficeProcess- office process died with exit code 81; restarting it"
Which is your java version ? I see in some internet openoffice posts, could be some problems using openJDK. I suggest using Oracle Java JDK.
Re: Only PDF Preview is working.
PostPosted:Fri May 20, 2016 12:35 pm
by Jay1243
this is my current java version : Java Platform, Enterprise Edition 6 SDK Update 4 (with JDK 7u11) which is from Oracle
Re: Only PDF Preview is working.
PostPosted:Sat May 21, 2016 6:44 am
by jllort
Ensure before starting OpenKM there no office application running ( take a look at your processes looking for some openoffice application running, for example tool kit or similar ).
Re: Only PDF Preview is working.
PostPosted:Mon May 23, 2016 9:52 pm
by gwaitsi