• [SOLVED] Open-Office Preview with OpenKM ver > 6.0.1

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
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.
 #19558  by techexpress
 
I configured OpenKM ver 6.0.1 version and all is working , I can export any OOO DOC to pdf.
I download the 6.2.2 version on the integration , change the OpenKM.cfg from none to update
delete forder
$TOMCAT_HOME/webapps/OpenKM
$TOMCAT_HOME/work/Catalina/localhost
and restart OpenKM
it didn't start I check log and see this error:
Code: Select all
2012-11-28 17:10:51,853 [pool-2-thread-1] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/opt/okmpro/tomcat/OpenKM.xml]
2012-11-28 17:10:51,858 [pool-2-thread-1] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from URL [file:/opt/okmpro/tomcat/OpenKM.xml]; nested exception is java.io.FileNotFoundException: /opt/okmpro/tomcat/OpenKM.xml (No such file or directory)
i find OpenKM.xml in a subdirectory , and copy it to /opt/okmpro/tomcat/
Now Open KM start but I can see jpeg file or pdf file in the preview tab but not .doc or .odt files

I have this error :
Code: Select all
012-11-28 17:19:57,257 [http-bio-0.0.0.0-8080-exec-6] ERROR com.openkm.servlet.frontend.ConverterServlet - Error in application/vnd.oasis.opendocument.text to PDF conversion
com.openkm.core.ConversionException: Error in application/vnd.oasis.opendocument.text to PDF conversion
I put all the log before the error , I know all the log is very important to find the error .
I have same problem with Pro evaluation version 6.2.4
OS is CentOS 6.3 x64
java jre 1.6.37
Open Office 3.4.1
Why Open Office didn't work know with new version ?
Attachments
catalina.log
(21.01 KiB) Downloaded 291 times
Last edited by techexpress on Fri Nov 30, 2012 11:51 pm, edited 1 time in total.
 #19573  by shaardu
 
Hey you have got the typical open office problem, what happened is that you have not stopped an instance of openoffice previously, hence its not able to preview.

The solution for this is that you open "task manager", stop open office manually. Now start the server! it should work...It worked for me this way in community version..
from next time, use stop.bat to stop else same problem ll occur..

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.