Cool, glad you solved it this way, I couldn’t see any other solution anyway :)
Thanks for posting back
-Vincent
On 17 Nov 2014 at 22:17:42, Keith Peden
(kpeden@standardstech.com(mailto:kpeden@standardstech.com)) wrote:
I have solved this issue with an increased timeout (once I restarted jetty, etc.!).
Thanks for listening!
Keith
From: Keith Peden [mailto:kpeden@standardstech.com]
Sent: Sunday, November 16, 2014 6:56 AM
To: 'vincent(a)massol.net'net'; 'XWiki Users'
Subject: RE: [xwiki-users] Office Importer not supporting a Word doc
Thanks Vincent for the quick response and good advice. OO opened the file okay and
exported it (Save as .html) within 2-3 seconds. And that file opened okay also. So no
problem there.
Below is the log. I can forward the word document. If someone has a moment to take a look
and make sure I am on the right track, I’d appreciate it! Increasing the timeout did not
appear to help, but then again, I not sure the increase really worked.
Thanks!
Keith
2014-11-14 15:28:06,340 [main] INFO o.x.s.s.i.EmbeddedSolrInstance - Starting embedded
Solr server...
2014-11-14 15:28:06,347 [main] INFO o.x.s.s.i.EmbeddedSolrInstance - Using Solr home
directory: [C:\Users\Keith Peden\AppData\XWiki\6.2.3\data\solr]
2014-11-14 15:28:13,892 [coreLoadExecutor-4-thread-1] WARN o.a.s.r.ManagedResource - No
stored data found for /rest/managed
2014-11-14 15:28:13,893 [coreLoadExecutor-4-thread-1] WARN o.a.s.r.ManagedResource - No
registered observers for /rest/managed
2014-11-14 15:28:16,110 [main] INFO o.x.s.s.i.EmbeddedSolrInstance - Started embedded
Solr server.
2014-11-14 15:28:21.615:INFO:oxtjl.NotifyListener:----------------------------------
2014-11-14 15:28:21.621:INFO:oxtjl.NotifyListener:Server started, you can now open
http://10.0.0.5:8080/ in your browser to access your wiki.
2014-11-14 15:28:21.622:INFO:oxtjl.NotifyListener:----------------------------------
2014-11-14 15:29:25,482 [XWiki initialization] INFO .HibernateDataMigrationManager -
Storage schema updates and data migrations are enabled
2014-11-14 15:29:25,484 [XWiki initialization] INFO .HibernateDataMigrationManager - No
data migration to apply for wiki [xwiki] currently in version [54600]
2014-11-14 15:29:25,485 [XWiki initialization] INFO .HibernateDataMigrationManager -
Checking Hibernate mapping and updating schema if needed for wiki [xwiki]
2014-11-14 15:29:35,874 [XWiki Solr index job thread] INFO o.x.s.s.i.j.IndexerJob -
Starting job of type [solr.indexer] with identifier [[solr, indexer]]
2014-11-14 15:29:36,586 [XWiki Solr index job thread] INFO o.x.s.s.i.j.IndexerJob - 0
documents added, 0 deleted and 0 updated during the synchronization of the Solr index.
2014-11-14 15:29:36,587 [XWiki Solr index job thread] INFO o.x.s.s.i.j.IndexerJob -
Finished job of type [solr.indexer] with identifier [[solr, indexer]]
Nov 14, 2014 3:31:24 PM org.artofsolving.jodconverter.office.ProcessPoolOfficeManager
INFO: ProcessManager implementation is PureJavaProcessManager
Nov 14, 2014 3:31:24 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with acceptString
'socket,host=127.0.0.1,port=8100,tcpNoDelay=1' and profileDir
'C:\Users\KEITHP~1\AppData\Local\Temp\.jodconverter_socket_host-127.0.0.1_port-8100'
Nov 14, 2014 3:31:25 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: started process
Nov 14, 2014 3:31:29 PM org.artofsolving.jodconverter.office.OfficeConnection connect
INFO: connected: 'socket,host=127.0.0.1,port=8100,tcpNoDelay=1'
2014-11-14 15:31:29,249
[
http://10.0.0.5:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globalad…]
INFO o.x.o.i.s.DefaultOfficeServer - Open Office instance started.
2014-11-14 15:32:53,990 [
http://10.0.0.5:8080/xwiki/bin/view/XWiki/OfficeImporterResults]
ERROR x.o.i.c.DefaultOfficeConverter - Could not cleanup temporary storage after
conversion.
Nov 14, 2014 3:32:54 PM org.artofsolving.jodconverter.office.PooledOfficeManager$1
disconnected
WARNING: connection lost unexpectedly; attempting restart
2014-11-14 15:32:54,033 [
http://10.0.0.5:8080/xwiki/bin/view/XWiki/OfficeImporterResults]
ERROR .s.OfficeImporterScriptService - Error while converting document [NDRM CH7.docx]
into html.
org.xwiki.officeimporter.OfficeImporterException: Error while converting document [NDRM
CH7.docx] into html.
at
org.xwiki.officeimporter.internal.builder.DefaultXHTMLOfficeDocumentBuilder.build(DefaultXHTMLOfficeDocumentBuilder.java:97)
~[xwiki-platform-legacy-office-importer-6.2.3.jar:na]
at
org.xwiki.officeimporter.internal.builder.DefaultXDOMOfficeDocumentBuilder.build(DefaultXDOMOfficeDocumentBuilder.java:84)
~[xwiki-platform-legacy-office-importer-6.2.3.jar:na]
at
org.xwiki.officeimporter.script.OfficeImporterScriptService.officeToXDOM(OfficeImporterScriptService.java:217)
~[xwiki-platform-legacy-office-importer-6.2.3.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_21]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_21]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_21]
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
[velocity-1.7.jar:1.7]
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
[velocity-1.7.jar:1.7]
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
[velocity-1.7.jar:1.7]
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
[xwiki-commons-velocity-6.2.3.jar:na]
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
[xwiki-commons-velocity-6.2.3.jar:na]
at
org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
[xwiki-platform-rendering-macro-velocity-6.2.3.jar:na]
at
org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
[xwiki-platform-rendering-macro-velocity-6.2.3.jar:na]
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
[xwiki-platform-rendering-macro-script-6.2.3.jar:na]
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
[xwiki-platform-rendering-macro-script-6.2.3.jar:na]
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
[xwiki-platform-rendering-macro-script-6.2.3.jar:na]
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:251)
[xwiki-rendering-transformation-macro-6.2.3.jar:na]
at
org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
[xwiki-rendering-legacy-api-6.2.3.jar:na]
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94)
[xwiki-rendering-legacy-api-6.2.3.jar:na]
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
[xwiki-platform-display-api-6.2.3.jar:na]
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
[xwiki-platform-display-api-6.2.3.jar:na]
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
[xwiki-platform-display-api-6.2.3.jar:na]
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
[xwiki-platform-display-api-6.2.3.jar:na]
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
[xwiki-platform-display-api-6.2.3.jar:na]
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
[xwiki-platform-sheet-api-6.2.3.jar:na]
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
[xwiki-platform-sheet-api-6.2.3.jar:na]
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
[xwiki-platform-display-api-6.2.3.jar:na]
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
[xwiki-platform-display-api-6.2.3.jar:na]
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1100)
[xwiki-platform-legacy-oldcore-6.2.3.jar:na]
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1078)
[xwiki-platform-legacy-oldcore-6.2.3.jar:na]
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1110)
[xwiki-platform-legacy-oldcore-6.2.3.jar:na]
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:618)
[xwiki-platform-legacy-oldcore-6.2.3.jar:na]
at sun.reflect.GeneratedMethodAccessor239.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_21]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_21]
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
[velocity-1.7.jar:1.7]
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
[velocity-1.7.jar:1.7]
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
[velocity-1.7.jar:1.7]
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
[xwiki-commons-velocity-6.2.3.jar:na]
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
[xwiki-commons-velocity-6.2.3.jar:na]
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:131)
[xwiki-platform-legacy-oldcore-6.2.3.jar:na]
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1686)
[xwiki-platform-legacy-oldcore-6.2.3.jar:na]
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1602)
[xwiki-platform-legacy-oldcore-6.2.3.jar:na]
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1570)
[xwiki-platform-legacy-oldcore-6.2.3.jar:na]
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:801)
[xwiki-platform-legacy-oldcore-6.2.3.jar:na]
at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_21]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_21]
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
[velocity-1.7.jar:1.7]
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
[velocity-1.7.jar:1.7]
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
[velocity-1.7.jar:1.7]
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
[velocity-1.7.jar:1.7]
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
[xwiki-commons-velocity-6.2.3.jar:na]
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
[xwiki-commons-velocity-6.2.3.jar:na]
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:131)
[xwiki-platform-legacy-oldcore-6.2.3.jar:na]
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1686)
[xwiki-platform-legacy-oldcore-6.2.3.jar:na]
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1602)
[xwiki-platform-legacy-oldcore-6.2.3.jar:na]
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:179)
[xwiki-platform-legacy-oldcore-6.2.3.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:358)
[xwiki-platform-legacy-oldcore-6.2.3.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:149)
[xwiki-platform-legacy-oldcore-6.2.3.jar:na]
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
[struts-core-1.3.10.jar:1.3.10]
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
[struts-core-1.3.10.jar:1.3.10]
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
[struts-core-1.3.10.jar:1.3.10]
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
[struts-core-1.3.10.jar:1.3.10]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) [servlet-api-3.0.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) [servlet-api-3.0.jar:na]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
[jetty-servlet-8.1.15.v20140411.jar:8.1.15.v20140411]
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)
[jetty-servlet-8.1.15.v20140411.jar:8.1.15.v20140411]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
[xwiki-platform-legacy-oldcore-6.2.3.jar:na]
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
[jetty-servlet-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:126)
[xwiki-platform-wysiwyg-server-6.2.3.jar:na]
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
[jetty-servlet-8.1.15.v20140411.jar:8.1.15.v20140411]
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
[xwiki-platform-container-servlet-6.2.3.jar:na]
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
[jetty-servlet-8.1.15.v20140411.jar:8.1.15.v20140411]
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
[xwiki-platform-webdav-server-6.2.3.jar:na]
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
[jetty-servlet-8.1.15.v20140411.jar:8.1.15.v20140411]
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
[xwiki-platform-container-servlet-6.2.3.jar:na]
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
[jetty-servlet-8.1.15.v20140411.jar:8.1.15.v20140411]
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
[xwiki-platform-container-servlet-6.2.3.jar:na]
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)
[jetty-servlet-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
[jetty-servlet-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
[jetty-server-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
[jetty-security-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
[jetty-server-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
[jetty-server-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
[jetty-servlet-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
[jetty-server-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
[jetty-server-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
[jetty-server-8.1.15.v20140411.jar:8.1.15.v20140411]
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
[jetty-server-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
[jetty-server-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
[jetty-server-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.server.Server.handle(Server.java:370)
[jetty-server-8.1.15.v20140411.jar:8.1.15.v20140411]
at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
[jetty-server-8.1.15.v20140411.jar:8.1.15.v20140411]
at
org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
[jetty-server-8.1.15.v20140411.jar:8.1.15.v20140411]
at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
[jetty-server-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
[jetty-http-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
[jetty-http-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
[jetty-server-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
[jetty-io-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
[jetty-io-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
[jetty-util-8.1.15.v20140411.jar:8.1.15.v20140411]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
[jetty-util-8.1.15.v20140411.jar:8.1.15.v20140411]
at java.lang.Thread.run(Unknown Source) [na:1.7.0_21]
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.3.jar:na]
at
org.xwiki.officeimporter.internal.builder.DefaultXHTMLOfficeDocumentBuilder.build(DefaultXHTMLOfficeDocumentBuilder.java:94)
~[xwiki-platform-legacy-office-importer-6.2.3.jar:na]
... 134 common frames omitted
Caused by: org.artofsolving.jodconverter.office.OfficeException: task did not complete
within timeout
at
org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java:88)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.execute(ProcessPoolOfficeManager.java:78)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:78)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:69)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.xwiki.officeimporter.internal.converter.DefaultOfficeConverter.convert(DefaultOfficeConverter.java:100)
~[xwiki-platform-legacy-office-importer-6.2.3.jar:na]
... 135 common frames omitted
Caused by: java.util.concurrent.TimeoutException: null
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) ~[na:1.7.0_21]
at java.util.concurrent.FutureTask.get(Unknown Source) ~[na:1.7.0_21]
at
org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java:85)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
... 139 common frames omitted
From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf Of
vincent@massol.net(mailto:vincent@massol.net)
Sent: Friday, November 14, 2014 3:12 PM
To: XWiki Users
Cc: Keith Peden
Subject: Re: [xwiki-users] Office Importer not supporting a Word doc
Hi Keith,
On 14 Nov 2014 at 21:01:06, Keith Peden
(kpeden@standardstech.com(mailto:kpeden@standardstech.com))(mailto:kpeden@standardstech.com(mailto:kpeden@standardstech.com)))
wrote:
Hello,
I have Xwiki 6.2.3 and OpenOffice 4.1 installed in a Windows 7 sandbox.
I have been able to import Word 2010 documents using Office Importer
successfully and can create pages just fine. Except for one document which
gives me the following: "Error while converting document [NDRM CH7.docx]
into html." using Import from Office.
I have reviewed the log file, but the only obvious error (to me anyway) is a
timeout error, though that may be a smokescreen. I have modified
openoffice.taskExecutionTimeout from 30000 to 1200000, but it seems to have
not effect.
Thanks for any help you can provide! I can email the log file and the
document upon request.
When you have a problem the first thing to try is to load your document in
openoffice/libreoffice and convert it to HTML in there and see if it works (you can also
verify the time it takes for the conversion).
Now, indeed the timeout parameter is important. I’ve also had timeout issues with the
default timeout and increasing it solved my problem.
Thanks
-Vincent
Regards, Keith