http://coldfusion.com logo
#box-products
Title
# box-products
t

teaman

01/28/2022, 1:27 AM
Has anyone gotten PDF Service Manager (Adobe Add-On install) to work with a Commandbox installed CF server? If so, what was the steps you took? I should add that I'm on a Windows 10 platform. After install I have ColdFusion 2018 Add-on Services showing as running in the Task Mgr Services list. I see jetty.exe running in the Details tabl (Task Mgr). But trying to set up a PDF service in CF Admin on port 8991 (or any other similar port) just fails to verify. It shows error:
Copy code
coldfusion.document.DocumentServiceImpl$NoSuchServiceManagerException: The Service Manager for name PDF_Services cannot be found.
@bdw429s I just got this working (PDF Service Manager) with a commandbox CF2018 server. I found the answer in CFML-general thread of CFML slack channel: https://cfml.slack.com/archives/C06TSRXCJ/p1612280581178200
@bdw429s In that thread @David Belanger had found that the .prikey file provided by 2018 CommandBox has the wrong key. I replaced mine with the prikey file he provided there and restarted my CF2018 server (on Windows) and it now works! It sounds like the key you get from Adobe is bad? So maybe nothing to be done except beat on Adobe.
b

bdw429s

01/28/2022, 5:20 PM
@teaman Yeah, like I said in the other thread just now-- we've manually replaced the prikey file in those wars at least twice so I don't understand how it keeps being wrong
@jclausen Do you have any idea how the
.prikey
files keep reverting to the incorrect one in our CF engines?
I feel like we keep fixing this issue over and over
t

teaman

01/28/2022, 5:21 PM
Keep in mind I'm using CF2018 (latest available)
👍 1
j

jclausen

01/28/2022, 5:24 PM
@bdw429s There is nothing I can think of, since we don’t touch that key. Could it have anything to do with us removing the
seed.properties
file? Here are my cleanup steps for Adobe Engines:
Copy code
14. Once verified, stop the container, remove all of the log files ( `rm -rf ./WEB-INF/cfusion/logs/*`, `rm -rf ./*.log` ), remove all of the compiled classes ( `rm -rf ./WEB-INF/cfclasses/*` ), and the backup directory for the applied hotfix ( `rm -rf ./WEB-INF/cfusion/hf-updates/hf-*` and `rm -rf ./WEB-INF/cfusion/hf-updates/hotfix-*` )
15. The paths in the administrator will have been changed to your local path.  You will need to remove references to local paths. From `docker/[engine name]` directory, run the following command: `sed "s/>*\${PWD}/\[YOUR ENGINE ROOT HERE\]/g" ./WEB-INF/cfusion/lib`
16. Apply the following updates to the file system for security:
    - Remove WEB-INF/cfusion/lib/seed.properties in ACF 2016+ `rm -f ./WEB-INF/cfusion/lib/seed.properties`
    - ACF's WEB-INF/cfusion/lib/neo-security.xml (Remove admin.userid.root.salt setting) (`open WEB-INF/cfusion/lib/neo-security.xml`)
    - Reset RDS password to blank (denies access) and reset admin password to "commandbox" and set encrypted flag to false in WEB-INF/cfusion/lib/password.properties (`open WEB-INF/cfusion/lib/password.properties`)
17. The following updates to the file system need to be applied when building ACF 2021 to ensure error-free startup on multiple platforms:
    - Remove the felix cache `rm -rf WEB-INF/cfusion/bin/felix-cache`
    - Remove any outdateed entries for the `adminapi` and `administrator` in `WEB-INF/bundles/bundlesdependency.json`
    - Remove any outdated `adminapi` and `administrator` JAR files in `WEB-INF/bundles`
    - Remove all hard-coded path references in `WEB-INF/cfusion/lib/log4j.properties`
If you can send me the correct
.prikey
file, I can make sure it’s updated in the engines, though.
b

bdw429s

01/28/2022, 5:24 PM
The
.prikey
file David B posted in a thread a while back has the exact same size as the one in our 2018 update 13 wars
It's hard to really compare then since they are binary
So I can't tell if it's right or not
That one is 1722 bytes which is the same size as what's in our engines on S3
t

teaman

01/28/2022, 5:26 PM
@bdw429s yes that's the one. Further down @ryan indicated it worked for him too.
Couldn't a character change inside without impacting the file size?
b

bdw429s

01/28/2022, 5:28 PM
Yes, of course
But I don't know how to compare them, lol
When I open them in notepad, it's just a few hundreds question marks
I'm 98% that's the same .prikey file I've already copied into our war files at least twice now
I recall the first time I did it, the size was different
2 Views