AnsweredAssumed Answered

Openoffice conversion error when transform *.doc to *.pdf

Question asked by fireman on Oct 4, 2007
Latest reply on Feb 5, 2008 by rjackson
Hallo,

i have a problem when i want to transform Word-Files to a PDF-file.
The operating system is debian etch, the installed software is apache-tomcat-5.5.23, openoffice, xvfb and sun-j2sdk1.6. The Version of alfresco is 2.1.0 Community.
OpenOffice is installed as a daemon with no x-environment (with xvfb).

The alfresco Log shows the following errors:

Caused by: org.alfresco.service.cmr.repository.ContentIOException: OpenOffice server conversion failed:
   reader: ContentAccessor[ contentUrl=store://2007/10/4/16/56/fe7c7f6f-7289-11dc-9339-addce5fb48c6.bin, mimetype=application/msword, size=272896, encoding=UT
F-8, locale=de_DE]
   writer: ContentAccessor[ contentUrl=store://2007/10/4/16/56/ffd1fcc6-7289-11dc-9339-addce5fb48c6.bin, mimetype=application/pdf, size=0, encoding=UTF-8, loc
ale=de_DE]
   from file: /tmp/Alfresco/OpenOfficeContentTransformer-source-16073.doc
   to file: /tmp/Alfresco/OpenOfficeContentTransformer-target-16074.pdf
        at org.alfresco.repo.content.transform.OpenOfficeContentTransformer.transformInternal(OpenOfficeContentTransformer.java:271)
        at org.alfresco.repo.content.transform.AbstractContentTransformer.transform(AbstractContentTransformer.java:246)
        … 95 more
Caused by: net.sf.jooreports.openoffice.connection.OpenOfficeException: conversion failed; com.sun.star.lang.IllegalArgumentException: URL seems to be an unsu
pported 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)
        … 96 more

Thanks,

Bastian

Outcomes