tracker issue : CF-4204399

select a category, or use search below
(searches all categories and all time range)
Title:

CF2018 Add On Issue

| View in Tracker

Status/Resolution/Reason: To Fix//BugVerified

Reporter/Name(from Bugbase): / ()

Created: 05/20/2019

Components: Document Management, PDFg Service

Versions: 2018

Failure Type:

Found In Build/Fixed In Build: 314033 /

Priority/Frequency: Normal /

Locale/System: /

Vote Count: 2

Problem: CF2018 Add On Issue

Method: Unable to verify the pdf service with CF (installed on CommandBox)

CF installed on CommandBox and Add On Services installed locally on same machine.

Result: exceptions in the log

Expected: PDFG service should verify

Workaround: NA

Note: 

Attachments:

Comments:

I reported this error to Abhishek Jah at ColdFusion support on May 10th, 2019 as it relates to our development environment. We're using CommandBox locally for development (so a WAR deployment) and we have a couple of projects that are cfhtmltopdf() intensive. I've verified this issue in both CF2016 and CF2018 and in a nutshell when you install the "Add-on Service for ColdFusion" that matches the installed WAR instance created by CommandBox, ColdFusion can't authenticate with the PDFg service. To be clear, the ports are mapped correctly to the "localhost". I can hit the http://localhost:8989/PDFgServlet/verify link and get the PDFg icon so show correctly (and a 200 response). This verifies both the port and localhost entry are working correctly. SOLR also works so the service is running. I'd like to point out that the ports used by the PDFg service are different by default in the CF2016 and CF2018 add-on installations which leads me to believe changes were also made to the authentication system. Brad Wood has confirmed that the add-on service works on the CF11 instance create by CommandBox. I therefore suspect the culprit lies in a change made for CF2016. In order to test successfully, please create a CF2016 or CF2018 using CommandBox and then install the appropriate Add-on Service.
Comment by David B.
30927 | June 17, 2019 02:06:05 PM GMT
CommandBox is becoming the standard for CF dev environments (on any framework). We could use a quick resolution on this one.
Vote by David B.
30929 | June 17, 2019 02:07:10 PM GMT
Here is the exception that was being reported: 25415 "Error","Thread-11","05/30/19","11:01:46","","Error while registering/unregistering Service manager. Reason is Keys are not loaded properly." 25416 coldfusion.document.webkit.PDFgServiceManagerSetupException: Error while registering/unregistering Service manager. 25417 at coldfusion.document.PDFgServiceManagerHelper.readNDecryptFromFile(PDFgServiceManagerHelper.java:1183) 25418 at coldfusion.document.PDFgServiceManagerHelper.loadPrivateKey(PDFgServiceManagerHelper.java:1043) 25419 at coldfusion.document.DocumentServiceImpl.initializeDocumentService(DocumentServiceImpl.java:331) 25420 at coldfusion.document.DocumentServiceImpl.access$000(DocumentServiceImpl.java:86)
Comment by Bradley W.
30928 | June 17, 2019 02:25:44 PM GMT