conversion failed: could not load input document

953 views
Skip to first unread message

Kévin Patault

unread,
Sep 24, 2014, 5:06:32 AM9/24/14
to jodcon...@googlegroups.com
Hello, I am facing a problem wih JodConverter, I get this stack on Tomcat logs without "caused by" :

SEVERE: Servlet.service() for servlet [DocumentConverterServlet] in context with path [/converter] threw exception
com.artofsolving.jodconverter.openoffice.connection.OpenOfficeException: conversion failed: could not load input document
        at com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter.loadAndExport(OpenOfficeDocumentConverter.java:134)
        at com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter.convertInternal(OpenOfficeDocumentConverter.java:120)
        at com.artofsolving.jodconverter.openoffice.converter.AbstractOpenOfficeDocumentConverter.convert(AbstractOpenOfficeDocumentConverter.java:104)
        at com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter.convertInternal(OpenOfficeDocumentConverter.java:88)
        at com.artofsolving.jodconverter.openoffice.converter.AbstractOpenOfficeDocumentConverter.convert(AbstractOpenOfficeDocumentConverter.java:82)
        at com.artofsolving.jodconverter.web.DocumentConverterServlet.doPost(DocumentConverterServlet.java:71)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:1780)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)

It works on another machine with the same file.

Thanks for your help.


Kévin Patault

unread,
Sep 24, 2014, 9:14:02 AM9/24/14
to jodcon...@googlegroups.com
I solved my problem by using OpenOffice instead of LibreOffice but no idea where the problem is...

Klemen Živkovič

unread,
Sep 26, 2014, 5:03:17 AM9/26/14
to jodcon...@googlegroups.com
Probably you misconfigured libreoffice path - there must be some setting there - have you checked it?
Also I think latest LibreOffice doesn't have unoil.jar - that may be the cause...

--
You received this message because you are subscribed to the Google Groups "JODConverter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jodconverter...@googlegroups.com.
To post to this group, send email to jodcon...@googlegroups.com.
Visit this group at http://groups.google.com/group/jodconverter.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages