• system.openoffice and previewer configuration for Windows

  • 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.
 #21858  by rajawasthi
 
Hi jllort,

There is no error on conversion by command prompt, here is the command and result.
Code: Select all
C:\tomcat\bin\swftools>pdf2swf.exe  E:\geocoding-tutorial.pdf  -o E:\geocoding-tutorial.swf -f -T 9 -t -G -s storeallcharacters
NOTICE  processing PDF page 1 (612x792:0:0) (move:0:0)
NOTICE  File contains jpeg pictures
NOTICE  processing PDF page 2 (612x792:0:0) (move:0:0)
NOTICE  File contains links
NOTICE  processing PDF page 3 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 4 (612x792:0:0) (move:0:0)
NOTICE  File contains pbm pictures
NOTICE  processing PDF page 5 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 6 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 7 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 8 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 9 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 10 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 11 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 12 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 13 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 14 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 15 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 16 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 17 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 18 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 19 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 20 (612x792:0:0) (move:0:0)
NOTICE  processing PDF page 21 (612x792:0:0) (move:0:0)
NOTICE  Writing SWF file E:\geocoding-tutorial.swf
C:\tomcat\bin\swftools>
There is a file "geocoding-tutorial.swf " in E:\drive.
 #21883  by jllort
 
The error happens when you try to preview pdf no and you got 6.2.2 community version ?
I would like to see the server.log stack trace error at /log/catalina.log ( only the error ) and put here your system.pdf2swf configuration. Only to be sure you're trying with same file from command line and from openkm no ?
Finally I suggest upgrade latest openkm version at integration.openkm.com and here the steps for upgrading to that version http://wiki.openkm.com/index.php/Migrat ... 2_to_6.2.3
 #21890  by rajawasthi
 
Here are my server log and system.pdf2swf configuration:


In Openkm.cfg
==============
system.swftools.pdf2swf=C:/tomcat/bin/swftools/pdf2swf.exe -T 9 -f -t -G -s storeallcharacters ${fileIn} -o ${fileOut}

During configuration check on Administration tab
====================================
system.swftools.pdf2swf
OK - C:\tomcat\bin\swftools\pdf2swf.exe

Error in catalina.log is as:
Code: Select all
2013-03-31 07:29:09,340 [http-bio-0.0.0.0-8080-exec-5] ERROR com.openkm.servlet.frontend.ConverterServlet - 
com.openkm.core.ConversionException: 
	at com.openkm.util.DocConverter.pdf2swf(DocConverter.java:468)
	at com.openkm.servlet.frontend.ConverterServlet.toSWF(ConverterServlet.java:257)
	at com.openkm.servlet.frontend.ConverterServlet.service(ConverterServlet.java:127)
	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)
I will try to upgrade to 6.2.3 and let you know about the problem if any?
 #21908  by jllort
 
unclebobo try to upgrade to 6.2.3 too

OpenKM.cfg really has no effect what really has relevance is what is stored in system.pdf2swf ( ensure there're no strange character, line breaks etc... in the input, sometimes copy & paste do mistakes.
 #28014  by writeaditya.jain
 
hey plz help frnds...
i am using openkm 5.1.8 war with jboss 4.2.3 .
all my configuration are correct ...preview is working fine but my issue is that whenever i upload any excel files that has 10-15 colums so openkm divides it into 3 pdf pages lyk 5 colums on each page . i want to upload my excel sheet as it is doesnt matter if i need to zoom in preview to read the content but i want the proper structure of my file that means i do not want to break in into frames instead i want my complete excel sheet in one page so that data remains in its proper structure...
please anyone help as soon as possible...
thank you much in advance ....:)
 #28052  by jllort
 
please writeaditya.jain do not post the same question in several post at same time. Better in next issue you got create new post and we answeing there. Otherside your question is merged in other post that really has not relation with the initial problem and that cause confusion to other readers, thanks.

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.