10-31-2008 01:08 PM
ERROR [org.alfresco.repo.content.transform.swf.PDFToSWFContentTransformer] Failed to start SWF2PDF transformer:
Execution result:
os: Linux
command: pdf2swf -V
succeeded: false
exit code: 1
out:
err: Cannot run program "pdf2swf": java.io.IOException: error=2, No such file or directory
I installed swftools (with synaptics) and no longer get this error.ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
os: Linux
command: "/usr/bin/soffice" "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" "-env:UserInstallation=file:////usr/local/Alfresco" -nologo -headless -nofirststartwizard -nocrashrep -norestore
succeeded: false
exit code: 2
out:
err: Cannot run program ""/usr/bin/soffice"": java.io.IOException: error=2, No such file or directory
I modified tomcat/shared/classes/alfresco/extension/bootstrap/openoffice-startup-context.xml, fixing the line that starts soffice so that it's now<value><![CDATA[/usr/bin/soffice "-accept=socket…
The error is no longer logged, but I still get the following warning message:
09:20:30,494 WARN [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
I wouldn't worry about the warning, except that I can't seem to do a .doc to .pdf conversion, and I suspect that the lack of connection to OpenOffice is the reason. When I try to convert name.doc to a pdf (show details / run action / transform and copy content) it makes a file called name.pdf, but it's still a word file, of identical size to the original. It seems that the file is just being copied and rename instead of being transformed.10-31-2008 07:24 PM
11-04-2008 12:24 PM
11-04-2008 01:37 PM
11-17-2008 01:04 AM
<value><![CDATA[/usr/lib/openoffice/program/soffice.bin -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager -env:UserInstallation=file:////usr/lib/openoffice -nologo -headless -nofirststartwizard -noc
rashrep -norestore]]></value>
12-14-2008 07:04 AM
I've fixed the Openoffice / file conversion problem. There seems to be a bug in tomcat/shared/classes/alfresco/extension/bootstrap/openoffice-startup-context.xml. I modified the CDATA line, removing all the quotes which were screwing it up, and opening soffice.bin directly. It now reads<value><![CDATA[/usr/lib/openoffice/program/soffice.bin -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager -env:UserInstallation=file:////usr/lib/openoffice -nologo -headless -nofirststartwizard -noc
rashrep -norestore]]></value>
File conversion works fine now, and there are no openoffice-related error or warning messages.
The info box problem, that I listed as problem #3 in my original post, persists. Does anybody else have this problem? Is it fixed in the enterprise version?
Also, I've written an init.d startup script. I'll add it as a separate post.
#!/bin/sh
/usr/lib/openoffice/program/soffice.bin "-accept=socket,host=localhost,port=8100; urp;StarOffice.ServiceManager" "-env:UserInstallation=file:////usr/lib/openoffice" -nologo -headless -no
firststartwizard -nochrashrep -norestore&
12-16-2008 07:00 PM
01-07-2009 12:01 PM
01-09-2009 10:39 AM
01-09-2009 10:53 AM
I've the same problem in Ubuntu 8.10 but I don't think there is an access problem.
In my machine I notice that install script create no "alfresco" user or group and everyone has execution abilty on "/usr/lib/openoffice/program/soffice"
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.