1

We're attempting to use in our development environment, running CF 2021 Enterprise on Windows, but running into some road blocks.

When I attempt to use the <cfhtmltopdf> tag on a page, the error message says "No Service Manager is available." I found the PDF Manager in the CFAdmin. There is only one Service Manager listed. I clicked "Verify all Service Managers", which gives "Connection verification failed for PDF Service Manager: localhost. Check logs for more details."

The coldfusion-out log shows "Jul 27, 2023 14:47:32 PM Error [http-nio-8500-exec-8] - Connect to 127.0.0.1:8993 [/127.0.0.1] failed: Connection refused: connect http://127.0.0.1:8993/PDFgServlet/verify"

Web searching led me to the Coldfusion Add-On Service, so we downloaded and installed the Coldfusion Add-On service and restarted ColdFusion. I get the same errors from before.

I have attempted to systematically change the port numbers, as well as toggle the "https enabled" in the Service Manager record for each port number (I tried each port with and without https enabled), but I'm having no luck there, either - same errors as before. Granted, I only tried a handful of ports (8993 down to 8998), but I'm not sure how far I may need to go there.

I'm looking for suggestions for how to configure this so that I can use the <cfhtmltopdf> tag.

mykaf
  • 1,034
  • 1
  • 9
  • 12
  • I'm sure you've read this documentation, but leaving this here for future reference. You should contact Adobe directly to get some help configuring this service. Depending on how you purchased the license, you should have a contact there for support. https://helpx.adobe.com/coldfusion/pdf-generation-in-coldfusion.html – Adrian J. Moreno Aug 03 '23 at 15:29
  • @AdrianJ.Moreno, thanks. Yes, I have read the documentation and we've even pulled in Charlie Arehart and left him stumped so far. So, yes, we may have to go directly to Adobe. – mykaf Aug 03 '23 at 15:35
  • 1
    I was told that `cfsup@adobe.com` would be a good contact for help. – Adrian J. Moreno Aug 03 '23 at 16:44
  • Is the Add-on service running? Also, what credentials the Add-On service is using? Do the credentials have the folder permissions? – Monte Chan Aug 03 '23 at 18:55
  • @MonteChan, Add-on Services *is* running, logged in as Local System (Charlie did see this and I don't believe had any concerns with it). I'll admit I'm not super familiar with these credentials, but the add-on folder security properties seems to be identical to the ColdFusion 2021 security. Please let me know if I'm looking in the wrong place here. – mykaf Aug 03 '23 at 19:06
  • @mykaf Just a wild guess, did you check the firewall settings? – Monte Chan Aug 03 '23 at 20:19
  • I wouldn't even know where to begin with our firewall. – mykaf Aug 03 '23 at 20:22
  • I don't think it's quite accurate to say your challenge left me "stumped". I proposed we could enable fr in the add on service to better seen what error was happening (since cf and the add on service logs were not showing us more--and our other diagnostic attempts were not solving things). – charlie arehart Aug 05 '23 at 14:03
  • @mykaf regarding to the firewall, you can try by turning it off completely and see if you are still getting the same error. – Monte Chan Aug 06 '23 at 00:56
  • @mykaf I have CF 2021 running on my local (Win 11). cfhtmltopdf works for me. In my case, when I open up http://127.0.0.1:8993/PDFgServlet/ in the browser, I would get a 400 bad request, which is expected. At the bottom, there is a link saying Powered by Jetty. If you were to open http://127.0.0.1:8993/PDFgServlet/ in your browser, what do you see? – Monte Chan Aug 06 '23 at 01:03
  • @MonteChan, I get the same error: HTTP ERROR 400 Bad Request URI: /PDFgServlet/ STATUS: 400 MESSAGE: Bad Request SERVLET: PDFgServlet – mykaf Aug 07 '23 at 13:21

0 Answers0