Hi all
I'm using Open KM version 5.1.7 . I'm not able to preview the PDF files . Getting the error "There was a problem with Conversion Generation . Please Contact your Open KM Administrator ." I have attached the screenshot of the same. I have installed pdf2swf software . And i'm getting preview unavailable for other files such as txt files , jpeg files , MS word extra... Could you any help on this ASAP .
Open Config file :
I'm using Open KM version 5.1.7 . I'm not able to preview the PDF files . Getting the error "There was a problem with Conversion Generation . Please Contact your Open KM Administrator ." I have attached the screenshot of the same. I have installed pdf2swf software . And i'm getting preview unavailable for other files such as txt files , jpeg files , MS word extra... Could you any help on this ASAP .
Open Config file :
Code: Select all
And the error log says :#ssystem.ocr=/usr/bin/cuneiform
#system.openoffice.path=/usr/lib/openoffice.org3
#system.imagemagick.convert=/usr/bin/convert
#system.pdf2swf=/usr/bin/pdf2swf
#system.antivir=/usr/bin/clamscan
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=create
#application.url=http://localhost:8080/OpenKM/com.openkm.frontend.Main/index.jsp
#system.openoffice.path=C:\Program Files\OpenOffice.org 3
Code: Select all
11:47:48,163 ERROR [ConverterServlet] IO exception executing command: system.swftools.pdf2swf=/usr/bin/pdf2swf -T 9 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\2\okm4408765731622699519.pdf -o C:\OpenKM\OpenKM\jboss-4.2.3.GA\cache\swf\52613082-8e91-4a7f-bfc4-6abf20b98472.swf
com.openkm.core.ConversionException: IO exception executing command: system.swftools.pdf2swf=/usr/bin/pdf2swf -T 9 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\2\okm4408765731622699519.pdf -o C:\OpenKM\OpenKM\jboss-4.2.3.GA\cache\swf\52613082-8e91-4a7f-bfc4-6abf20b98472.swf
at com.openkm.util.DocConverter.pdf2swf(DocConverter.java:516)
at com.openkm.servlet.frontend.ConverterServlet.service(ConverterServlet.java:162)
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) Caused by: java.io.IOException: Cannot run program "system.swftools.pdf2swf=/usr/bin/pdf2swf": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at com.openkm.util.ExecutionUtils.runCmdImpl(ExecutionUtils.java:192)
at com.openkm.util.ExecutionUtils.runCmd(ExecutionUtils.java:171)
at com.openkm.util.DocConverter.pdf2swf(DocConverter.java:510)
... 21 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 25 more
Attachments
Previewtxt.JPG (113.87 KiB) Viewed 10060 times
Preview.JPG (132.06 KiB) Viewed 10060 times