CFHTMLTOPDF Fails Under 2021/Update 5 After Upgrading Java to 11.0.17
CF Version: 2021,0,05,330109
Java Version: 11.0.17
This is the same error I reported last year here, but the solution of changing the order the services are started in no longer works. The issue actually returned after upgrading Java and not necessarily after the move to 2021/5. However, the release notes for 2021/5 mention several bug fixes related to PDF generation, so I have to wonder if one of these is to blame.
Here are the last 2 lines in the CF server log after starting the services:
"Error","Thread-33","10/24/22","15:39:58","","Read timed out 127.0.0.1:8993/PDFgServlet/"
"Error","ajp-nio-127.0.0.1-8020-exec-2","10/24/22","16:02:17","","Registration error for service manager : .127.0.0.1:8993/PDFgServlet/.Reason: SERVER ERROR"
We also noticed this in the PDF logs - the first entry was under Java 11.0.16.1 and was successful:
127.0.0.1 - - [24/Oct/2022:13:39:38 +0000] "POST /PDFgServlet/ HTTP/1.1" 200 22100 "-" "Apache-HttpClient/4.5.13 (Java/11.0.16.1)"
127.0.0.1 - - [24/Oct/2022:16:03:11 +0000] "POST /PDFgServlet/ HTTP/1.1" 500 489 "-" "Apache-HttpClient/4.5.13 (Java/11.0.17)"
Thoughts?
Thanks,
Eric
