4 Replies Latest reply on Nov 21, 2016 6:07 AM by priyanks97293812

    CFHTMLTOPDF CF11 Linux woes

    cf_fan123

      Hi,

       

      So after spending the best part of 3 weeks trying to get cfhtmltopdf working on CF11 installed on Linux (RHEL 7), I am about to give up.  I have systematically:

       

      1) Read and followed all previous advice and posts on the subject, ensuring the additional packages are installed together with the required fonts (e.g. Adobe ColdFusion 11 Support for cfhtmltopdf (PDFg) on Linux » Adobe ColdFusion Blog etc)

      2) Checked the permissions are correct for the various directories

      3) Altered the apache config files

       

      The PDF service is definitely running on 127.0.0.1 port 8987. However, every time I run a test the page processes for ages and then effectively times out. The error messages are not very helpful:

       

      1) Message displayed on page - Error occurred whilst generating PDF - reason: Error occurred while handling request

      2) Application.log shows - 'Error occurred while generating PDF.Reason: Error occurred while handling request. The specific sequence of files included or processed is: /www/dev/htdocs/testrig/cfhtmltopdftest.cfm, line: 5' - I've triple checked the tag syntax and there is nothing wrong with it, lifted straight from Adobe examples.

      3) Exception.log shows - '9966 "Error","ajp-bio-8014-exec-5","10/12/16","15:30:34","Dev_testrig","Error occurred while generating PDF.Reason: Error occurred while handling request. The specific sequence of files included or processed is: /www/dev/htdocs/testrig/cfhtmltopdftest.cfm, line: 5 "

      9967 coldfusion.document.webkit.PDFgErrorHandler$ServiceManagerConversionException: Error occurred while generating PDF.

      9968 at coldfusion.tagext.lang.HtmlToPdfTag.handleRetryError(HtmlToPdfTag.java:1509)

      9969 at coldfusion.tagext.lang.HtmlToPdfTag.handlePDFgConversionRequest(HtmlToPdfTag.java:1471)

      9970 at coldfusion.tagext.lang.HtmlToPdfTag.convertToPDF(HtmlToPdfTag.java:1413)

       

      Can anyone provide a guide or point me in the right direction please?

       

      Thanks,

       

      Peter

       

       

       

       

       

      '