cancel
Showing results for 
Search instead for 
Did you mean: 

alfreso / gentoo / imagemagick issues...

cardinal_baseba
Champ in-the-making
Champ in-the-making
alfresco 3.2r2, gentoo, tomcat 6.
when starting tomcat, i get these errors in the catalina.out file.
i am very much a newbie so please be kind if it's obvious or some step i overlooked…
is there something w gentoo, that something's running as a different user/permissions, or in a different directory, or some setting i can check?  imagemagick is installed - i followed the instructions at:  http://en.gentoo-wiki.com/wiki/Alfresco
thanks in advance,
mike

where the catalina.out errors start…
09:46:39,154 UserSmiley Frustratedystem INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
09:46:39,522 UserSmiley Frustratedystem ERROR [transform.magick.AbstractImageMagickContentTransformerWorker] ImageMagickContentTransformerWorker not available: 02170000 Failed to perform ImageMagick transformation:
Execution result:
   os:         Linux
   command:    [./ImageMagick/bin/convert, /var/tmp/tomcat-6/Alfresco/ImageMagickContentTransformerWorker_init_source_443899680972795840.gif[0], /var/tmp/tomcat-6/Alfresco/ImageMagickContentTransformerWorker_init_target_6091877690952583018.png]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "./ImageMagick/bin/convert": java.io.IOException: error=2, No such file or directory
09:46:39,546 UserSmiley Frustratedystem ERROR [content.transform.RuntimeExecutableContentTransformerWorker] 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
09:46:39,564 UserSmiley Frustratedystem ERROR [util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
   os:         Linux
   command:    [soffice, -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager, -env:UserInstallation=file:///var/lib/alfresco/alf_data/oouser, -nologo, -headless, -nofirststartwizard, -nocrashrep, -norestore]
   succeeded:  false
   exit code:  2
   out:       
   err:        Cannot run program "soffice": java.io.IOException: error=2, No such file or directory
09:46:39,637 UserSmiley Frustratedystem WARN  [alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
2 REPLIES 2

milo
Champ in-the-making
Champ in-the-making
Hi,

you have to define the path to convert, pdf2swf and soffice in repository.properties or alfresco-global.properties


# External executable locations
ooo.exe=soffice
ooo.user=${dir.root}/oouser
img.root=/
img.dyn=/usr/lib/ImageMagick-6.5.2
img.exe=/usr/bin/convert
swf.exe=/usr/bin/pdf2swf

err:        Cannot run program "./ImageMagick/bin/convert": java.io.IOException: error=2, No such file or directory

    Cannot run program "./bin/pdf2swf": java.io.IOException: error=2, No such file or directory
09:46:39,564 UserSmiley Frustratedystem ERROR [util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
   os:         Linux
   command:    [soffice, -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager, -env:UserInstallation=file:///var/lib/alfresco/alf_data/oouser, -nologo, -headless, -nofirststartwizard, -nocrashrep, -norestore]
   succeeded:  false
   exit code:  2
   out:       
   err:        Cannot run program "soffice": java.io.IOException: error=2, No such file or directory
09:46:39,637 UserSmiley Frustratedystem WARN  [alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.

cardinal_baseba
Champ in-the-making
Champ in-the-making
thank you milo!
the problem was my mistake though - permissions on alfresco.war.  yes, i feel silly.