AnsweredAssumed Answered

openoffice.org remote configuration does not send valid URL

Question asked by ds-crcpress on Apr 25, 2008
Latest reply on Jul 16, 2008 by jottley
I followed the configuration for http://wiki.alfresco.com/wiki/Running_OpenOffice_From_Remote_Machine.  I try to do a transformation from word document to rich text and it fails:


Caused by: org.alfresco.service.cmr.repository.ContentIOException: OpenOffice server conversion failed:
   reader: ContentAccessor[ contentUrl=store://2008/4/25/17/49/811101f5-1311-11dd-803f-a7481120b4e5.bin, mimetype=application/msword, size=50176, encoding=UTF-8, locale=en_US]
   writer: ContentAccessor[ contentUrl=store://2008/4/25/17/52/f7f2f76b-1311-11dd-803f-a7481120b4e5.bin, mimetype=application/rtf, size=0, encoding=UTF-8, locale=en_US]
   from file: /usr/local/apache-tomcat-5.5.25/temp/Alfresco/OpenOfficeContentTransformer-source-58153.doc
   to file: /usr/local/apache-tomcat-5.5.25/temp/Alfresco/OpenOfficeContentTransformer-target-58154.rtf
        at org.alfresco.repo.content.transform.OpenOfficeContentTransformer.transformInternal(OpenOfficeContentTransformer.java:271)
        at org.alfresco.repo.content.transform.AbstractContentTransformer.transform(AbstractContentTransformer.java:246)
        … 86 more
Caused by: net.sf.jooreports.openoffice.connection.OpenOfficeException: conversion failed; com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one.
        at net.sf.jooreports.openoffice.converter.OpenOfficeDocumentConverter.convertInternal(OpenOfficeDocumentConverter.java:114)
        at net.sf.jooreports.openoffice.converter.AbstractOpenOfficeDocumentConverter.convert(AbstractOpenOfficeDocumentConverter.java:75)
        at org.alfresco.repo.content.transform.OpenOfficeContentTransformer.transformInternal(OpenOfficeContentTransformer.java:266)
        … 87 more

probably because I suspect it is sending /usr/local/apache-tomcat-5.5.25/temp/Alfresco/OpenOfficeContentTransformer-soruce-58153.doc instead of sending something like http://alfresco-server:80/alfresco/4390158051045r49385u9248598t8gf8ha0r8gt/3490158u90tuaotj.node for OpenOffice to download the content node and publish (via WebDAV?) the result…

Anybody know how to configure this URL specification?

-David

Outcomes