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.01-12-2009 04:53 PM
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.
02-13-2009 09:08 PM
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.