Asterfax ghostscript error pdf file not found?

OK, let me get straight to the problem here.
It found the appropriate converter (image/pdf), which is a ghostcript and calls it.
Why does it say - not found??
PDF file is created in /var/spool/asterfax/tmp directory.

If I run the same command manually, it all works and “tif” file gets produced.

14:41:57,311 DEBUG Calling Converter for mimeType: image/pdf cmd:/usr/bin/gs -sDEVICE=tiffg3 -sPAPERSIZE=letter -r204x196 -dNOPAUSE -sOutputFile=/var/spool/asterfax/tmp/QWWWxx22660.tif
-c save pop -c < /Policies /PageSize 5
/PageSize [595 842] /InputAttributes << 0 <<
/PageSize [595 842] >> >> >> setpagedevice -f /var/spool/asterfax/tmp/QWWWxx22662.pdf -c quit
14:41:57,315 ERROR java.io.IOException: /usr/bin/gs -sDEVICE=tiffg3 -sPAPERSIZE=letter -r204x196 -dNOPAUSE -sOutputFile=/var/spool/asterfax/tmp/QWWWxx22660.tif
-c save pop -c < /Policies /PageSize 5
/PageSize [595 842] /InputAttributes << 0 <<
/PageSize [595 842] >> >> >> setpagedevice -f /var/spool/asterfax/tmp/QWWWxx22662.pdf -c quit: not found
java.io.IOException: java.io.IOException: /usr/bin/gs -sDEVICE=tiffg3 -sPAPERSIZE=letter -r204x196 -dNOPAUSE -sOutputFile=/var/spool/asterfax/tmp/QWWWxx22660.tif
-c save pop -c < /Policies /PageSize 5
/PageSize [595 842] /InputAttributes << 0 <<
/PageSize [595 842] >> >> >> setpagedevice -f /var/spool/asterfax/tmp/QWWWxx22662.pdf -c quit: not found
at java.lang.UNIXProcess.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at au.com.noojee.asterfax.util.Exec.execAndWait(Exec.java:62)
at au.com.noojee.asterfax.util.Exec.execAndWait(Exec.java:47)
at au.com.noojee.asterfax.converter.Converter.convert(Converter.java:83)
at au.com.noojee.asterfax.outbound.TiffFile.convertToTiff(TiffFile.java:70)
at au.com.noojee.asterfax.converter.HTMLConverter.convert(HTMLConverter.java:144)
at au.com.noojee.asterfax.messagestore.AttachmentExtractor.handlePart(AttachmentExtractor.java:274)
at au.com.noojee.asterfax.messagestore.AttachmentExtractor.handleMultipart(AttachmentExtractor.java:225)
at au.com.noojee.asterfax.messagestore.AttachmentExtractor.extractAttachments(AttachmentExtractor.java:193)
at au.com.noojee.asterfax.outbound.Fax.getTiffFile(Fax.java:217)
at au.com.noojee.asterfax.outbound.submitter.EfaxSubmitter.sendFax(EfaxSubmitter.java:58)
at au.com.noojee.asterfax.outbound.SubmitFax.send(SubmitFax.java:67)
at au.com.noojee.asterfax.outbound.Channel.run(Channel.java:105)

OK I just modified the /usr/lib/asterfax/config/AsterFax.xml so that it uses openoffice.org to convert image/pdf file type into tiff.

IT GIVES ME THE SAME ERROR - not found!
But what is NOT FOUND?? I don’t understand.

Now I am starting to think something else is wrong here.
How can I get asterisk to print more detailed debug message???

15:53:21,973 DEBUG Calling Converter for mimeType: image/pdf cmd:bin/ooconvert.sh /var/spool/asterfax/tmp/QWWWxx57412.pdf /var/spool/asterfax/tmp/QWWWxx57410.tif letter .sxw writer_pdf_Export 1
15:53:21,976 ERROR java.io.IOException: bin/ooconvert.sh /var/spool/asterfax/tmp/QWWWxx57412.pdf /var/spool/asterfax/tmp/QWWWxx57410.tif letter .sxw writer_pdf_Export 1: not found
java.io.IOException: java.io.IOException: bin/ooconvert.sh /var/spool/asterfax/tmp/QWWWxx57412.pdf /var/spool/asterfax/tmp/QWWWxx57410.tif letter .sxw writer_pdf_Export 1: not found
at java.lang.UNIXProcess.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at au.com.noojee.asterfax.util.Exec.execAndWait(Exec.java:62)
at au.com.noojee.asterfax.util.Exec.execAndWait(Exec.java:47)
at au.com.noojee.asterfax.converter.Converter.convert(Converter.java:83)
at au.com.noojee.asterfax.outbound.TiffFile.convertToTiff(TiffFile.java:70)
at au.com.noojee.asterfax.converter.HTMLConverter.convert(HTMLConverter.java:144)
at au.com.noojee.asterfax.messagestore.AttachmentExtractor.handlePart(AttachmentExtractor.java:274)
at au.com.noojee.asterfax.messagestore.AttachmentExtractor.handleMultipart(AttachmentExtractor.java:225)
at au.com.noojee.asterfax.messagestore.AttachmentExtractor.extractAttachments(AttachmentExtractor.java:193)
at au.com.noojee.asterfax.outbound.Fax.getTiffFile(Fax.java:217)
at au.com.noojee.asterfax.outbound.submitter.EfaxSubmitter.sendFax(EfaxSubmitter.java:58)
at au.com.noojee.asterfax.outbound.SubmitFax.send(SubmitFax.java:67)
at au.com.noojee.asterfax.outbound.Channel.run(Channel.java:105)