Page 1 of 3

Anyone with a working previewer in Windows?

PostPosted:Wed Mar 07, 2012 2:08 pm
by sstrauss87
Hi,
I am struggling to get my previewer to work. I've tried many combinations but nothing seems to work. I was hoping someone with a working preview in windows could show me their values for :Openoffice.path, imagemagick, pdf2swf, ocr, anything else that I may need that I'm missing. Thank you for any help that you can give.
OpenKM 5.1.9
Windows 7
This is what the command prompt looks like when I try to view a file.
Code: Select all
10:51:31,635 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,640 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,645 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,685 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,690 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,695 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,700 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,720 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,725 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,730 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,735 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,740 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,745 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,750 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,755 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,774 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,779 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,784 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,788 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,793 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,798 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,804 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,810 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,815 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,820 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,826 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,838 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,844 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,850 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,855 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,862 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,868 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:31,874 WARN  [DTDEntityResolver] recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
10:51:43,402 INFO  [RepositoryImpl] Starting repository...
10:51:43,485 INFO  [LocalFileSystem] LocalFileSystem initialized at path C:\jboss-4.2.3.GA\repository\repository
10:51:43,870 INFO  [LocalFileSystem] LocalFileSystem initialized at path C:\jboss-4.2.3.GA\repository\version
10:51:45,376 INFO  [ConnectionRecoveryManager] Database: Apache Derby / 10.5.3.0 - (802917)
10:51:45,377 INFO  [ConnectionRecoveryManager] Driver: Apache Derby Embedded JDBC Driver / 10.5.3.0 - (802917)
10:51:46,195 INFO  [RepositoryImpl] initializing workspace 'default'...
10:51:46,196 INFO  [LocalFileSystem] LocalFileSystem initialized at path C:\jboss-4.2.3.GA\repository\workspaces\default
10:51:46,300 INFO  [ConnectionRecoveryManager] Database: Apache Derby / 10.5.3.0 - (802917)
10:51:46,301 INFO  [ConnectionRecoveryManager] Driver: Apache Derby Embedded JDB
C Driver / 10.5.3.0 - (802917)10:51:47,884 INFO  [SearchIndex] Index initialized: C:\jboss-4.2.3.GA\repository/repository/index Version: 3
10:51:47,994 INFO  [SearchIndex] Index initialized: C:\jboss-4.2.3.GA\repository\workspaces\default/index Version: 3
10:51:47,997 INFO  [RepositoryImpl] workspace 'default' initialized
10:51:47,997 INFO  [RepositoryImpl] Repository started
10:51:48,028 INFO  [SimpleSecurityManager] init: using JAAS LoginModule configuration for OpenKM
10:51:48,034 INFO  [RepositoryImpl] SecurityManager = class org.apache.jackrabbit.core.security.simple.SimpleSecurityManager
10:51:49,461 INFO  [ProcessPoolOfficeManager] ProcessManager implementation is WindowsProcessManager
10:51:49,806 INFO  [OfficeProcess] starting process with acceptString 'socket,host=127.0.0.1,port=2222,tcpNoDelay=1' and profileDir 'C:\Users\sstrauss\AppData\Local\Temp\.jodconverter_socket_host-127.0.0.1_port-2222'
10:51:50,296 INFO  [OfficeProcess] started process; pid = 3300
10:51:52,996 INFO  [OfficeConnection] connected: 'socket,host=127.0.0.1,port=2222,tcpNoDelay=1'
10:51:53,143 WARN  [FileLoader] Supplied path does not exist. Unable to add plugins from there.
10:51:53,154 WARN  [ExecutionUtils] Unable to read script: C:\jboss-4.2.3.GA\start.bsh
10:51:53,155 WARN  [ExecutionUtils] Unable to read jar: C:\jboss-4.2.3.GA\start.jar
10:52:00,431 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMNoteService6463846938008277918.wsdl
10:52:00,444 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMWorkflowService5092781454972031155.wsdl
10:52:00,452 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMPropertyGroupService5408457382444389654.wsdl
10:52:00,459 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMFolderService7090813704204028094.wsdl
10:52:00,462 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMNotificationService87780380559435564.wsdl
10:52:00,466 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMPropertyService6197974533207080465.wsdl
10:52:00,470 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMAuthService6335729640038812710.wsdl
10:52:00,476 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMMailService3699704673740188931.wsdl
10:52:00,485 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMDocumentService6379558966570373758.wsdl
10:52:00,492 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/jboss-4.2.3.G
A/server/default/data/wsdl/OpenKM.war/OKMSearchService8566276296960057569.wsdl
10:52:00,497 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/jboss-4.2.3.G
A/server/default/data/wsdl/OpenKM.war/OKMTestService342530730139955650.wsdl
10:52:00,503 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/jboss-4.2.3.G
A/server/default/data/wsdl/OpenKM.war/OKMRepositoryService8727555761886228386.wsdl
10:52:00,507 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMBookmarkService1431900254019104112.wsdl

10:52:00,691 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
10:52:01,023 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
10:52:01,069 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
10:52:01,083 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBos
s_4_2_3_GA date=200807181439)] Started in 1m:12s:507ms
10:52:50,969 WARN  [ExecutionUtils] Abnormal program termination: 1
10:52:50,970 WARN  [ExecutionUtils] STDERR:
10:52:50,970 ERROR [ConverterServlet]
com.openkm.core.ConversionException:
        at com.openkm.util.DocConverter.pdf2swf(DocConverter.java:528)
        at com.openkm.servlet.frontend.ConverterServlet.toSWF(ConverterServlet.java:226)
        at com.openkm.servlet.frontend.ConverterServlet.service(ConverterServlet.java:106)
        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(Thread.java:662)
This is what my settings look like:

Thanks for any help!

Re: Anyone with a working previewer in Windows?

PostPosted:Thu Mar 08, 2012 1:12 pm
by sstrauss87
Hey thanks for the reply! :D This has been driving me nuts. After I made that change it appears that pdf's are now viewable, however, word documents still give me the conversion generation error, any ideas?

Re: Anyone with a working previewer in Windows?

PostPosted:Fri Mar 09, 2012 9:30 am
by jllort
If you can not preview .doc files there's a problem on soffice service. openoffice is the application which converts .doc to pdf and then you preview pdf files. Which is your openoffice or libreoffice configuration path.

Re: Anyone with a working previewer in Windows?

PostPosted:Sat Mar 10, 2012 9:34 am
by vkasgpta
thx aziz! your solution for the pdf worked for me too!! :D
i cant see docs and xls like my friend either :(

my path is
D:\jboss-4.2.3.GA\lib\openoffice

port: 2222
thread setting: 5
i even set up the openoffice service too hoping that was the issue, but did not work...

Re: Anyone with a working previewer in Windows?

PostPosted:Mon Mar 12, 2012 8:56 am
by pavila

Re: Anyone with a working previewer in Windows?

PostPosted:Tue Mar 13, 2012 7:02 am
by vkasgpta
azizraj wrote:Hi Everybody,

Can you please upload your openkm.cfg details also,

These are my configuration, I noticed we need to put the path till openoffice.x\program because the executables lie in there:

Openkm.cfg:
Code: Select all
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=none
system.swftools.pdf2swf=C:\progs\SWFTools\pdf2swf.exe ${fileIn} ${fileOut}
system.openoffice=on
system.openoffice.path=C:\Program Files (x86)\OpenOffice.org 3\program
system.openoffice.tasks=5
system.openoffice.port=2222
chat.enabled=on
chat.autologin=off
Sorry for the late reply, was trying to work on a hunch... i have not set imagemagick, thought activating that would fix the problem but i do not think i set it properly... so anyways heres my openkm.cfg:
Code: Select all
#
# Since OpenKM 5.1 this file is only used for Hibernate configuration.
# To change configuration parameters, use Administration -> Configuration
#
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=none
yea i know its got nothing ><
all of my settings are through the software so im putting the settings here... xD
Code: Select all
application.url	String 	http://localhost:8080/OpenKM/index.jsp 	Edit   Delete
cache.home	String 	D:\jboss-4.2.3.GA\cache 	Edit   Delete
default.admin.role	String 	AdminRole 	Edit   Delete
default.lang	String 		Edit   Delete
default.script	Text 	print("UserId: "+session.getUserID()); print("EventType: "+eventType); print("EventNode: "+eventNode.getPath()); print("ScriptNode: "+scriptNode.getPath()); 	Edit   Delete
default.user.role	String 	UserRole 	Edit   Delete
experimental.mobile.context	String 	mobile 	Edit   Delete
experimental.plugin.debug	Boolean 	Inactive 	Edit   Delete
experimental.text.extraction	Boolean 	Inactive 	Edit   Delete
kea.automatic.keyword.extraction.number	Integer 	0 	Edit   Delete
kea.automatic.keyword.extraction.restriction	Boolean 	Inactive 	Edit   Delete
kea.model.file	String 		Edit   Delete
kea.stopwords.file	String 		Edit   Delete
kea.thesaurus.base.url	String 		Edit   Delete
kea.thesaurus.owl.file	String 		Edit   Delete
kea.thesaurus.skos.file	String 		Edit   Delete
kea.thesaurus.tree.childs	Text 		Edit   Delete
kea.thesaurus.tree.root	Text 		Edit   Delete
kea.thesaurus.vocabulary.serql	Text 		Edit   Delete
logo.login	File 		Edit   Delete
logo.mobile	File 		Edit   Delete
logo.report	File 		Edit   Delete
logo.text	String 	  	Edit   Delete
max.file.size	Long 	64 	Edit   Delete
max.search.results	Integer 	261006 	Edit   Delete
notification.message.body	Text 	<b>Document: </b><a href="${documentUrl}">${documentPath}</a><br/><b>User: </b>${userId}<br/><b>Message: </b>${notificationMessage}<br/> 	Edit   Delete
notification.message.subject	Text 	OpenKM - NOTIFICATION - ${documentName} 	Edit   Delete
notify.twitter.password	String 		Edit   Delete
notify.twitter.status	Text 	OpenKM - ${documentUrl} - ${documentPath} - ${userId} - ${eventType} 	Edit   Delete
notify.twitter.user	String 		Edit   Delete
principal.adapter	String 	com.openkm.principal.DatabasePrincipalAdapter 	Edit   Delete
principal.database.filter.inactive.users	Boolean 	Active 	Edit   Delete
principal.ldap.mail.attribute	String 		Edit   Delete
principal.ldap.mail.search.base	String 		Edit   Delete
principal.ldap.mail.search.filter	String 		Edit   Delete
principal.ldap.referral	String 		Edit   Delete
principal.ldap.role.attribute	String 		Edit   Delete
principal.ldap.role.search.base	String 		Edit   Delete
principal.ldap.role.search.filter	String 		Edit   Delete
principal.ldap.roles.by.user.attribute	String 		Edit   Delete
principal.ldap.roles.by.user.search.base	String 		Edit   Delete
principal.ldap.roles.by.user.search.filter	String 		Edit   Delete
principal.ldap.security.credentials	String 		Edit   Delete
principal.ldap.security.principal	String 		Edit   Delete
principal.ldap.server	String 		Edit   Delete
principal.ldap.user.attribute	String 		Edit   Delete
principal.ldap.user.search.base	String 		Edit   Delete
principal.ldap.user.search.filter	String 		Edit   Delete
principal.ldap.users.by.role.attribute	String 		Edit   Delete
principal.ldap.users.by.role.search.base	String 		Edit   Delete
principal.ldap.users.by.role.search.filter	String 		Edit   Delete
registered.text.extractors	Text 	org.apache.jackrabbit.extractor.PlainTextExtractor org.apache.jackrabbit.extractor.MsWordTextExtractor org.apache.jackrabbit.extractor.MsExcelTextExtractor org.apache.jackrabbit.extractor.MsPowerPointTextExtractor org.apache.jackrabbit.extractor.OpenOfficeTextExtractor org.apache.jackrabbit.extractor.RTFTextExtractor org.apache.jackrabbit.extractor.HTMLTextExtractor org.apache.jackrabbit.extractor.XMLTextExtractor org.apache.jackrabbit.extractor.PngTextExtractor org.apache.jackrabbit.extractor.MsOutlookTextExtractor com.openkm.extractor.PdfTextExtractor com.openkm.extractor.AudioTextExtractor com.openkm.extractor.ExifTextExtractor com.openkm.extractor.CuneiformTextExtractor com.openkm.extractor.SourceCodeTextExtractor com.openkm.extractor.MsOffice2007TextExtractor 	Edit   Delete
repository.config	String 	D:\jboss-4.2.3.GA\repository.xml 	Edit   Delete
repository.home	String 	D:\jboss-4.2.3.GA\repository 	Edit   Delete
restrict.file.extension	String 	*~,*.bak 	Edit   Delete
restrict.file.mime	Boolean 	Inactive 	Edit   Delete
schedule.dashboard.refresh	Long 	30 	Edit   Delete
schedule.mail.importer	Long 	0 	Edit   Delete
schedule.repository.info	Long 	1440 	Edit   Delete
schedule.session.keepalive	Long 	15 	Edit   Delete
subscription.message.body	Text 	<b>Document: </b><a href="${documentUrl}">${documentPath}</a><br/><b>User: </b>${userId}<br/><b>Event: </b>${eventType}<br/><b>Comment: </b>${subscriptionComment}<br/> 	Edit   Delete
subscription.message.subject	Text 	OpenKM - ${eventType} - ${documentPath} 	Edit   Delete
system.antivir	String 		Edit   Delete
system.apache.request.header.fix	Boolean 	Inactive 	Edit   Delete
system.demo	Boolean 	Inactive 	Edit   Delete
system.document.name.mismatch.check	Boolean 	Inactive 	Edit   Delete
system.dwg2dxf	String 		Edit   Delete
system.ghostscript.ps2pdf	String 		Edit   Delete
system.imagemagick.convert	String 	D:\jboss-4.2.3.GA\lib\image 	Edit   Delete
system.keyword.lowercase	Boolean 	Active 	Edit   Delete
system.login.lowercase	Boolean 	Inactive 	Edit   Delete
system.maintenance	Boolean 	Inactive 	Edit   Delete
system.ocr	String 	D:\jboss-4.2.3.GA\lib\tess 	Edit   Delete
system.openoffice.dictionary	String 		Edit   Delete
system.openoffice.path	String 	D:\jboss-4.2.3.GA\lib\openoffice\ 	Edit   Delete
system.openoffice.port	Integer 	2222 	Edit   Delete
system.openoffice.server	String 		Edit   Delete
system.openoffice.tasks	Integer 	5 	Edit   Delete
system.pdf.force.ocr	Boolean 	Inactive 	Edit   Delete
system.previewer	String 	zviewer 	Edit   Delete
system.readonly	Boolean 	Inactive 	Edit   Delete
system.swftools.pdf2swf	String 	D:\jboss-4.2.3.GA\lib\pdf2swf\pdf2swf.exe ${fileIn} ${fileOut} 	Edit   Delete
system.webdav.fix	Boolean 	Inactive 	Edit   Delete
system.webdav.server	Boolean 	Inactive 	Edit   Delete
update.info	Boolean 	Active 	Edit   Delete
user.assign.document.creation	Boolean 	Inactive 	Edit   Delete
user.item.cache	Boolean 	Active 	Edit   Delete
user.keywords.cache	Boolean 	Inactive 	Edit   Delete
validator.password	String 	com.openkm.validator.password.NoPasswordValidator 	Edit   Delete
validator.password.max.length	Integer 	16 	Edit   Delete
validator.password.min.digits	Integer 	0 	Edit   Delete
validator.password.min.length	Integer 	6 	Edit   Delete
validator.password.min.lowercase	Integer 	0 	Edit   Delete
validator.password.min.uppercase	Integer 	0 	Edit   Delete
validator.password.mini.special	Integer 	0 	Edit   Delete
workflow.run.config.form	String 	run_config 	Edit   Delete
workflow.start.task.auto.run	Boolean 	Active 	Edit   Delete
zoho.api.key	String 		Edit   Delete
zoho.password	String 		Edit   Delete
zoho.secret.key	String 		Edit   Delete
zoho.user	String 		Edit   Delete

Re: Anyone with a working previewer in Windows?

PostPosted:Tue Mar 13, 2012 7:05 am
by vkasgpta
i am not able to understand something... in registry i read i had to enter in port 8100:
-nofirststartwizard -nologo -headless -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager

but in openkm i have to set 2222 / 2002, none of which work...

Re: Anyone with a working previewer in Windows?

PostPosted:Tue Mar 13, 2012 7:27 am
by vkasgpta
pavila wrote:Please, take a look at http://wiki.openkm.com/index.php/OpenOf ... ion_issues.
thanks for the wiki pavila!
i followed it accordingly... i think its a port conflict causing this... just not sure how... the command shows no abnormality...
Code: Select all
 TCP    127.0.0.1:1054         127.0.0.1:2002         ESTABLISHED
 TCP    127.0.0.1:2002         127.0.0.1:1054         ESTABLISHED
 TCP    127.0.0.1:5152         0.0.0.0:0              LISTENING
 TCP    127.0.0.1:8100         0.0.0.0:0              LISTENING

Re: Anyone with a working previewer in Windows?

PostPosted:Tue Mar 13, 2012 6:55 pm
by pavila
8)

Re: Anyone with a working previewer in Windows?

PostPosted:Tue Mar 20, 2012 6:03 am
by vkasgpta
hi aziz,

tried that but still had the error. After adding \program\ the check in the config shows issues:

system.openoffice.path
Can't read or execute: D:\jboss-4.2.3.GA\lib\openoffice\program\program\soffice.bin

oh well im scrapping this idea of activating the previewer. Going to wait for the next release when openkm can edit the docs before working on it :)
for now ill just force everyone to use office add in instead of the web ui

thank you for your assistance though :)

Re: Anyone with a working previewer in Windows?

PostPosted:Fri Apr 06, 2012 6:21 am
by vkasgpta
Problem Solved!

Pavila was right there was a port conflict with LogMeIn.
Disabling LogMeIn did not seem to work after closing the service and all related applications running, restarted OpenKM and the problem was still there after that...
Afew days later however when i tried after having LogMeIn disabled, the previewer worked!
Guess the server just needed time to get used to the new settings...
I enabled LogMeIn after that and both are working.

Thx Pavila :)

Re: Anyone with a working previewer in Windows?

PostPosted:Wed Apr 11, 2012 7:17 am
by pavila
I have updated the mini-article with your last information about LogMeIn.

Anyone with a correct preview of excel sheet in Windows?

PostPosted:Fri Mar 07, 2014 6:53 am
by writeaditya.jain
hey please help.
whwenever i upload my excel sheet in openkm . it automaticaly gets divided into frames and same is previewed but i dont need to break my excel single sheet file into colums so is their any way to upload excel sheet in its original format.

Re: Anyone with a working previewer in Windows?

PostPosted:Sat Apr 05, 2014 1:33 pm
by bipin
i was try all types of setting for preview but problem is same so please suggest proper path for preview PDF,JPG,DOC,XLS..
i am use windows base OS.

Re: Anyone with a working previewer in Windows?

PostPosted:Sun Apr 06, 2014 5:12 pm
by jllort
Seeing your screenshot I suspect you've wrotten wrong the command line, should be pdf2swf.exe not sgpdf2swgf.exe ( remove sg from the beggining ).