cancel
Showing results for 
Search instead for 
Did you mean: 

Linux - How to change Helper Application Path

twren71
Champ in-the-making
Champ in-the-making
I followed the CentOS guide located at http://wiki.alfresco.com/wiki/Installing_Alfresco_Community_WAR_on_Centos_5 and the base installation installed correctly. Now I am just trying to configure the helper applications my current error from Alfresco is:
Execution result: 
   os:         Linux
   command:    [./ImageMagick/bin/convert, /usr/share/tomcat5/temp/Alfresco/ImageMagickContentTransformer_init_source_43993.gif, /usr/share/tomcat5/temp/Alfresco/ImageMagickContentTransformer_init_target_43994.png]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "./ImageMagick/bin/convert": java.io.IOException: error=2, No such file or directory
11:02:39,978 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
11:02:42,486 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformer] Failed to start a runtime executable content transformer:
Execution result:
   os:         Linux
   command:    [./bin/pdf2swf, -V]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "./bin/pdf2swf": java.io.IOException: error=2, No such file or directory

I can confirm that SWF Tools and ImageMagick are both installed and functional at /usr/bin/, but I am unsure how to inform Alfresco of this. I made a symbolic link to convert and mirrored the directory structure and stuck it in the likely places but no luck. Can someone either let me know where "./" is in reference to or how to change it?
1 REPLY 1

twren71
Champ in-the-making
Champ in-the-making
Found the solution posted at http://wiki.alfresco.com/wiki/Installing_Labs_3_Stable_on_Debian_Etch
repository.properties

You need to change the ImageMagick and pdf2swf paths in your configuration file.

joe /opt/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/repository.properties
Replace the corresponding lines with the following lines at the end of file:

img.root=/usr
swf.exe=/usr/local/bin/pdf2swf