Page 1 of 1

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

PostPosted:Wed Nov 28, 2012 10:32 pm
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 ?

Re: Open-Office Preview with OpenKM ver > 6.0.1

PostPosted:Fri Nov 30, 2012 5:31 am
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..

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

PostPosted:Fri Nov 30, 2012 11:52 pm
by techexpress
Yes you're right I just restart the server and all is OK
Thank'S