Hi
OpenKM Version: 6.2.4 (build: 8088) Community Edition
OS Platform: CentOS 6.4 64-bit
OpenKM Installation: Used 'Wizard Method' (Java included in installation according to documentation)
Installation Path: /opt/openkm
Using Libreoffice
Config Check:
I am just trying it out to see how it works. And so far it has been a little frustrating.
I am trying to get the document preview working.
I have tested with: a simple text file, .jpeg file, .pdf, and a .odf file.
In all instances I am getting a failure.
In the browser:
So now I am a little bit stuck. I have been going through the forums trying a bunch of different things and nothing seems to have resolved the issue.
At one point I actually broke the installation completely and had to start again
Any advice on what I can try next?
Thank you
OpenKM Version: 6.2.4 (build: 8088) Community Edition
OS Platform: CentOS 6.4 64-bit
OpenKM Installation: Used 'Wizard Method' (Java included in installation according to documentation)
Installation Path: /opt/openkm
Using Libreoffice
Config Check:
Code: Select all
I'm new to OpenKM.system.swftools.pdf2swf
OK - /usr/bin/pdf2swf
system.imagemagick.convert
OK - /usr/bin/convert
system.ocr
Not configured
system.openoffice.path
OK - /usr/lib64/libreoffice/program/soffice.bin
I am just trying it out to see how it works. And so far it has been a little frustrating.
I am trying to get the document preview working.
I have tested with: a simple text file, .jpeg file, .pdf, and a .odf file.
In all instances I am getting a failure.
In the browser:
Code: Select all
Log file:
The system has generated an error
Conversion:
Code: Select all
I've tried using /usr/bin/pdf2swf and /usr/bin/convert to do conversion directly from the command line and they work as expected.2013-08-28 15:49:42,720 [http-bio-0.0.0.0-8080-exec-10] WARN com.openkm.util.ExecutionUtils - Abnormal program termination: 1
2013-08-28 15:49:42,720 [http-bio-0.0.0.0-8080-exec-10] WARN com.openkm.util.ExecutionUtils - CommandLine: [/usr/bin/pdf2swf]
2013-08-28 15:49:42,720 [http-bio-0.0.0.0-8080-exec-10] WARN com.openkm.util.ExecutionUtils - STDERR:
2013-08-28 15:49:42,720 [http-bio-0.0.0.0-8080-exec-10] ERROR com.openkm.servlet.frontend.ConverterServlet -
com.openkm.core.ConversionException:
at com.openkm.util.DocConverter.pdf2swf(DocConverter.java:475)
at com.openkm.servlet.frontend.ConverterServlet.toSWF(ConverterServlet.java:281)
at com.openkm.servlet.frontend.ConverterServlet.service(ConverterServlet.java:144)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662
So now I am a little bit stuck. I have been going through the forums trying a bunch of different things and nothing seems to have resolved the issue.
At one point I actually broke the installation completely and had to start again
Any advice on what I can try next?
Thank you
