• OpenKM 1.5.9 document preview doesn't work

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #14376  by devanand_s
 
Hi,
I am using OKM 1.5.9 on Windows 2003x64.

I get the following error in server.log when I try to preview PDF file:
Code: Select all
2012-03-08 15:34:58,275 WARN  [com.openkm.util.ExecutionUtils] Abnormal program termination: 1
2012-03-08 15:34:58,275 WARN  [com.openkm.util.ExecutionUtils] STDERR: 
2012-03-08 15:34:58,275 ERROR [com.openkm.servlet.frontend.ConverterServlet] 
com.openkm.core.ConversionException: 
	at com.openkm.util.DocConverter.pdf2swf(DocConverter.java:528)
	at com.openkm.servlet.frontend.ConverterServlet.toSWF(ConverterServlet.java:223)
	at com.openkm.servlet.frontend.ConverterServlet.service(ConverterServlet.java:106)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
	at java.lang.Thread.run(Unknown Source)
Can someone let me know what is the issue.
Attachments
okm_config.JPG
okm_config.JPG (46.61 KiB) Viewed 4635 times
 #14414  by vkasgpta
 
credits for this solution go to azizraj at http://forum.openkm.com/viewtopic.php?f=4&t=5798
The problem is your path the path in the wiki is not complete. Use this, it worked on mine:
D:\..\pdf2swf.exe ${fileIn} ${fileOut}
where .. is the path to the pdf2swf FOLDER.

this works for pdf files, still figuring out docs and xls...

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.