Hi,

I have a fresh install of xwiki 6.2.1 (Centos 7, tomcat7). I have installed
and setup Libreoffice 4.3 for document conversion. Everything is working
fine and xwiki starts libreoffice correctly.

However, I'm unable to convert any document using the office importer. I
tried doc, ppt, etc.. with no luck. In catalina.out I get the following
error:











*Caused by: org.xwiki.officeimporter.converter.OfficeConverterException:
Error while performing conversion.    at
org.xwiki.officeimporter.internal.converter.DefaultOfficeConverter.convert(DefaultOfficeConverter.java:116)
~[xwiki-platform-legacy-office-importer-6.2.1.jar:na]    at
org.xwiki.officeimporter.internal.builder.DefaultXHTMLOfficeDocumentBuilder.build(DefaultXHTMLOfficeDocumentBuilder.java:94)
~[xwiki-platform-legacy-office-importer-6.2.1.jar:na]    ... 62 common
frames omittedCaused by:
org.artofsolving.jodconverter.office.OfficeException: could not load
document: test.doc    at
org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(AbstractConversionTask.java:99)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]    at
org.artofsolving.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:59)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]    at
org.artofsolving.jodconverter.office.PooledOfficeManager$2.run(PooledOfficeManager.java:80)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]    at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
~[na:1.7.0_67]    at
java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_67]
... 3 common frames omitted*

Related to this issue, if I upload a document to a page, the "view" option
is enable but when I click I get this message and a blank page:

*$services.officeviewer.view($attachmentReference) *

Following is the xwiki.properties options enabled:




*openoffice.serverType=0openoffice.serverPort=8100openoffice.autoStart=trueopenoffice.homePath=/opt/libreoffice4.3/*

And the soffice process:

*tomcat   11935 11889  0 14:27 ?        00:00:00
/opt/libreoffice4.3/program/soffice.bin
-accept=socket,host=127.0.0.1,port=8100;urp;
-env:UserInstallation=file:///var/cache/tomcat/temp/.jodconverter_socket_host-127.0.0.1_port-8100
-headless -nocrashreport -nodefault -nofirststartwizard -nolockcheck
-nologo -norestore*

I have done this kind of configuration for xwiki 5 and 6.1 using
Libreoffice 4.0 with no problems. Is there anything I'm missing here? It's
a problem related to this version?

Kind regards
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to