Our company is in the process of setting up a new ColdFusion 2021 server for one of our customers. A feature they would like to use requires the PDF Service Manager. It seemed to install okay using the new Package Manager, but we're unable to start or verify the service. We simply get:
Error enabling PDF Service Manager.
Check logs for more details.
Checking the logs reveals:
application.log: Error enabling PDF Service Manager
server.log: Connect to 127.0.0.1:8993 [/127.0.0.1] failed: Connection refused (Connection refused) http://127.0.0.1:8993/PDFgServlet/verify
One would expect this to "just work," so we're at a loss as to what else we need to do. It's an Ubuntu 20.04.2 LTS Linux server.
Copy link to clipboard
There is a solution for you, and I'm sensing how you got where you are.
Did you use the zip install option, new in cf2021? If so, note that it does not install related services like the PDF service.
And yes, I see you say you used the package manager (also new in cf2021) to "install it". That only installs into cf the support in cf for calling upon that feature, not the feature itself. (The zip install is very minimal, by design. No packages, no services, etc.) It's understandably confusing, depending on one's perspective.
Bottom line: you need to get the add-on service linux installer separately. It has long existed separately, as an option for those who might install it on a machine separate from cf. In your case, if you used that zip approach, you need it as an adjunct to that.
And it's offered at:
There are various aspects of the docs and blog that for cf do explain all this, but one could easily fail to come across them, and they could often explain things better.
Again, a lot of the challenge is in the drive to push the zip installer. It's great for some needs, but many folks would do better just to use the traditional full installer. Both are offered (for each supported os) when downloading cf. It's bigger, but more feature complete and self-contained.
If you remain stuck and "just want it set up to work correctly", I can help via consulting. See my signature.
Thanks, Charlie. Another staff member did the install, but it's likely he used the ZIP installer. It's a headless server, so there's less opportunity for a GUI install.
Indeed, my expectation was that the PDF Service Manager was going to be installed with the "htmltopdf" package per its description:
"The htmltopdf package helps you create PDF output from a text block containing CFML and HTML using the PDF Service Manager"
It's abiguous whether the PDF Service Manager is or isn't installed with the package, but one could easily assume that it is per the expected convenience of the new Package Manager. My suggestion to Adobe would be to revise the description and error messages to note that PDF Service Manager is a separate install, which would avoid further confusion. I imagine there are other situations like ours where the person who does the installation is not necessarily the same person who uses ColdFusion Administrator.
Thanks, again. We'll try that out and respond back if/once we get it working.
So far not working. Downloaded and ran the "ColdFusion_2021_Addon_WWEJ_linux64.bin" installer, restarted ColdFusion and then attempted to start the PDF Service. Got these errors:
Mar 20, 2021 11:00:58 AM Error [http-nio-8500-exec-7] - Server Error
Mar 20, 2021 11:00:58 AM Error [http-nio-8500-exec-7] - Connection verification failed. http://127.0.0.1:8993/PDFgServlet/verify
Mar 20, 2021 11:00:58 AM Error [http-nio-8500-exec-7] - Error enabling PDF Service Manager.
Mar 20, 2021 11:00:58 AM Error [http-nio-8500-exec-7] - coldfusion.document.webkit.PDFgErrorHandler$ConnectionVerificationFailedException: Connection verification failed.