Hi,
   2. What does
the XE log tell you when this problem occurs. 
 # tail -f xwiki.log
 2009-12-07 11:44:16,060
 [
http://10.128.48.247:8080/xwiki/bin/view/XWiki/OfficeImporterResults]
 ERROR rterVelocityContextInitializer  - task did not complete within
 timeout
 org.xwiki.officeimporter.OfficeImporterException: task did not complete
 within timeout
         at
org.xwiki.officeimporter.internal.DefaultOfficeImporter.importStream(DefaultOfficeImporter.java:175)
         at
org.xwiki.officeimporter.internal.OfficeImporterVelocityBridge.importDocument(OfficeImporterVelocityBridge.java:94)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:616)
         at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
         at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
         at
 org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
 [.
  .
  .]
 Caused by: net.sf.jodconverter.office.OfficeException: task did not
 complete within timeout
         at
net.sf.jodconverter.office.ManagedProcessOfficeManager.execute(ManagedProcessOfficeManager.java:93)
         at
 net.sf.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:71)
         at
org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeDocumentConverter.convert(DefaultOpenOfficeDocumentConverter.java:99)
         at
org.xwiki.officeimporter.internal.DefaultOfficeImporter.importStream(DefaultOfficeImporter.java:151)
         ... 110 more
 Caused by: java.util.concurrent.TimeoutException
         at
 java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:258)
         at java.util.concurrent.FutureTask.get(FutureTask.java:119)
         at
net.sf.jodconverter.office.ManagedProcessOfficeManager.execute(ManagedProcessOfficeManager.java:90)
         ... 113 more
 
 
The images embedded inside Office document, how large are they? (very
high-resolution images?)
- If they are quite large, you might want to increase the time-out for
officeimporter operations (from xwiki.properties file).
- Now, if they are not that large (if the most trivial images also fail),
then it'll be great if you can provide us a sample failing document.
Also, there is a small test you can perform if you have access to a GUI in
your computer:
- Open the failing document in OpenOffice.
- Save the document as HTML into some place.
Does above operation work without issues? And what about images, are they
properly saved? and what type of images are they ? (The last question is
because OpenOffice has a problem with EMF/WMF image formats on windows and
linux boxes).
Thanks.
- Asiri