AnsweredAssumed Answered

OpenOffice.org in 1.4RC1 transformations

Question asked by lievacke on Oct 10, 2006
Latest reply on Jun 25, 2007 by jzulu2000
Hi,

while I'm testing Alfresco 1.4RC1, I encounter an error trying to transform MS-Word -> PDF. Cause seems to be:

net.sf.jooreports.openoffice.connection.OpenOfficeException: conversion failed; com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one.

Can I help to track down this one further?

Regards,

Lieven

This is my environment:

debian linux - AMD64
jdk 1.5.0_08 (64bit)
mysql 5.0.24a (64bit)
OpenOffice.org 2.0.4-rc3 (64 bit in Ubuntu Edgy chroot)

this is my catalina.out:


13:57:02,280 ERROR [repo.action.ActionServiceImpl] An error was encountered whilst executing the action 'transform'.
org.alfresco.service.cmr.repository.ContentIOException: Content conversion failed:
   reader: ContentAccessor[ contentUrl=store://2006/10/10/13/55/3206f585-5856-11db-9539-d5a3a19d9acc.bin, mimetype=text/plain, size=3312, encoding=UTF-8]
   writer: ContentAccessor[ contentUrl=store://2006/10/10/13/57/70efd895-5856-11db-9539-d5a3a19d9acc.bin, mimetype=application/vnd.oasis.opendocument.text, size=0, encoding=UTF-8]
   options: {}
        at org.alfresco.repo.content.transform.AbstractContentTransformer.transform(AbstractContentTransformer.java:246)
        at org.alfresco.repo.content.transform.AbstractContentTransformer.transform(AbstractContentTransformer.java:202)
        at org.alfresco.repo.content.RoutingContentService.transform(RoutingContentService.java:379)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.alfresco.service.cmr.repository.ContentIOException: OpenOffice server conversion failed:
   reader: ContentAccessor[ contentUrl=store://2006/10/10/13/55/3206f585-5856-11db-9539-d5a3a19d9acc.bin, mimetype=text/plain, size=3312, encoding=UTF-8]
   writer: ContentAccessor[ contentUrl=store://2006/10/10/13/57/70efd895-5856-11db-9539-d5a3a19d9acc.bin, mimetype=application/vnd.oasis.opendocument.text, size=0, encoding=UTF-8]
   from file: /opt/alfresco/tomcat/temp/Alfresco/OpenOfficeContentTransformer-source-14722.txt
   to file: /opt/alfresco/tomcat/temp/Alfresco/OpenOfficeContentTransformer-target-14723.odt
        at org.alfresco.repo.content.transform.OpenOfficeContentTransformer.transformInternal(OpenOfficeContentTransformer.java:243)
        at org.alfresco.repo.content.transform.AbstractContentTransformer.transform(AbstractContentTransformer.java:237)
        … 83 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.convert(Unknown Source)
        at org.alfresco.repo.content.transform.OpenOfficeContentTransformer.transformInternal(OpenOfficeContentTransformer.java:238)
        … 84 more

Outcomes