Page 2 of 2

Re: system.openoffice and previewer configuration for Windo

PostPosted:Wed Mar 27, 2013 7:34 am
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.

Re: system.openoffice and previewer configuration for Windo

PostPosted:Fri Mar 29, 2013 5:15 pm
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

Re: system.openoffice and previewer configuration for Windo

PostPosted:Sun Mar 31, 2013 7:37 am
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?

Re: system.openoffice and previewer configuration for Windo

PostPosted:Mon Apr 01, 2013 2:22 am
by unclebobo
Having the exact same issue here.

Re: system.openoffice and previewer configuration for Windo

PostPosted:Mon Apr 01, 2013 9:33 am
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.

Unable to convert and preview excel sheet in its original fo

PostPosted:Tue Mar 04, 2014 10:46 am
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 ....:)

Re: system.openoffice and previewer configuration for Windo

PostPosted:Sat Mar 08, 2014 9:28 am
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.

Re: system.openoffice and previewer configuration for Windo

PostPosted:Tue Mar 18, 2014 11:30 am
by bipin


file preview not show i try all tools so pl help

Re: system.openoffice and previewer configuration for Windo

PostPosted:Wed Mar 19, 2014 7:37 pm
by jllort
Have you read it http://wiki.openkm.com/index.php/Previsualization

Take in mind after configuring openoffice path must restart application and be sure is executing without errors at startup ( see catalina.log files looking for some startup error ).

Re: system.openoffice and previewer configuration for Windo

PostPosted:Wed Apr 09, 2014 9:35 am
by bipin
all preview software installation path give to openkm folder is compulsory or not..
pl reply..

Re: system.openoffice and previewer configuration for Windo

PostPosted:Fri Apr 11, 2014 10:02 am
by jllort
Yes, without thirdparty installation software and configure correctly path in openkm administration, you'll not get preview running