Page 1 of 1

convert to PDF error

PostPosted:Wed Jun 10, 2020 1:31 pm
by isbarak
I am running openKM ver 6.3.9 build e57b626 community edition with community extension. The server is windows server 2012R2
I have installed Apache openOffice on the server
when performing convert to pdf of a word document I get an error:"
Code: Select all
OKM-002033(convertToPdf): OKM-002033
error in application/vnd.openxmlformats-officedocument.wordprocessingml.document to PDF conversion
I have two warnings in the catalina.log:
Code: Select all
10-Jun-2020 15:28:26.801 WARNING [localhost-startStop-1] net.xeoh.plugins.base.impl.classpath.loader.FileLoader.loadFrom Supplied path does not exist. Unable to add plugins from there.
10-Jun-2020 15:28:26.989 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [C:\Users\Administrator.SFDOM\tomcat-8.5.34\webapps\OpenKM.war] has finished in [100,193] ms
10-Jun-2020 15:28:26.989 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Users\Administrator.SFDOM\tomcat-8.5.34\webapps\ROOT]
10-Jun-2020 15:28:26.989 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to 'true' did not find a matching property.
any advice?



Re: convert to PDF error

PostPosted:Wed Jun 10, 2020 2:21 pm
by isbarak
I figured it out
path should be:
system.openoffice.path String C:\Program Files (x86)\OpenOffice 4

Re: convert to PDF error

PostPosted:Tue Jun 16, 2020 11:48 am
by jllort
Yes, that was the point. Libreoffice is used to convert office documents to PDF. If the path is not right configured OpenKM can not starting the service in the startup process and then is not able to transform these document to PDF.