Hi,
i'm using OpenKM 6.3.0 with Windows 2008 R2. Everything works great except the preview of Office-files. E.g. for Word-files i get the message "Conversion: Error in application/msword to PDF conversion". Same with other Office-files. Here is a snippet of the log file:
- First i installed Libreoffice, then i tried it with OpenOffice (actually 4.1.0) , the problem occurs with both offices
- i changed the path of system.openoffice.path. First i installed LibreOffice and OpenOffice to "C:\Program files (x86)\...", then i installed it to a directory w/o blanks in the pathname
==> "Check config" says that the path is ok:
- tried it with other ports
- installed a service that runs OpenOffice
- read all the "Error in preview"-topics in the forum, tried all recommended solutions, but none of them works in my system
So now i'm really clueless ... maybe someone can help me out? Please let me know if you need more informatiosn. First of all here are the relevant settings of my OpenKM-configuration:
Thomas
i'm using OpenKM 6.3.0 with Windows 2008 R2. Everything works great except the preview of Office-files. E.g. for Word-files i get the message "Conversion: Error in application/msword to PDF conversion". Same with other Office-files. Here is a snippet of the log file:
Code: Select all
What i tried:2014-07-18 11:22:54,266 [http-bio-0.0.0.0-8080-exec-2] ERROR com.openkm.servlet.frontend.ConverterServlet- Error in application/msword to PDF conversion
com.openkm.core.ConversionException: Error in application/msword to PDF conversion
at com.openkm.util.DocConverter.doc2pdf(DocConverter.java:330)
at com.openkm.servlet.frontend.ConverterServlet.toPDF(ConverterServlet.java:246)
at com.openkm.servlet.frontend.ConverterServlet.toSWF(ConverterServlet.java:300)
at com.openkm.servlet.frontend.ConverterServlet.service(ConverterServlet.java:145)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
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:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: this OfficeManager is currently stopped
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.execute(ProcessPoolOfficeManager.java:70)
at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:78)
at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:69)
at com.openkm.util.DocConverter.convert(DocConverter.java:273)
at com.openkm.util.DocConverter.doc2pdf(DocConverter.ja
- First i installed Libreoffice, then i tried it with OpenOffice (actually 4.1.0) , the problem occurs with both offices
- i changed the path of system.openoffice.path. First i installed LibreOffice and OpenOffice to "C:\Program files (x86)\...", then i installed it to a directory w/o blanks in the pathname
==> "Check config" says that the path is ok:
Code: Select all
- i opened the port 2002 on the Windows firewallsystem.swftools.pdf2swf
OK - C:\SWFTools\pdf2swf.exe
system.imagemagick.convert
OK - C:\ImageMagick-6.8.9-Q16\convert.exe
system.ocr
Not configured
system.openoffice.path
OK - C:\OpenOffice4\program\soffice.bin
- tried it with other ports
- installed a service that runs OpenOffice
- read all the "Error in preview"-topics in the forum, tried all recommended solutions, but none of them works in my system
So now i'm really clueless ... maybe someone can help me out? Please let me know if you need more informatiosn. First of all here are the relevant settings of my OpenKM-configuration:
Code: Select all
Best regardssystem.openoffice.dictionary String Edit Delete
system.openoffice.path String C:\OpenOffice4 Edit Delete
system.openoffice.port Integer 2002 Edit Delete
system.openoffice.server String Edit Delete
system.openoffice.tasks Integer 200 Edit Delete
system.pdf.force.ocr Boolean Inactive Edit Delete
system.previewer Select flexpaper Edit Delete
system.profiling Boolean Inactive Edit Delete
system.readonly Boolean Inactive Edit Delete
system.swftools.pdf2swf String C:\SWFTools\pdf2swf.exe -f -T 9 -t -s storeallcharacters ${fileIn} -o ${fileOut} Edit
Thomas