Another potential bug found within ColdFusion 2021 with this error:
Could not initialize class cfApplication2ecfmXXXXXXXXX
Interestingly the TYPE
of error was: java.lang.NoClassDefFoundError
The class name cfApplication2ecfmXXXXXXXXX
indicated to me that it was an issue with the saved class files in {CFRoot}\cfusion\wwwroot\WEB-INF\cfclasses
The file cfApplication2ecfmXXXXXXXXX.class did exist in the \cfclasses folder
The only working solution I’ve found so far is to disable the “Save class files” option using the ColdFusion administrator console (Server Settings > Cache > Uncheck Save class files)
There seems to be conflicting recommendations about this settings, however the ColdFusion administrator console states that the option should be enabled for production servers.
My own testing has revealed the primary drawback to be an initial hit on the server CPU after rebooting or resetting the ColdFusion service.
After the initial startup hit the server seems to function normally.
An information technology professional with twenty one year's experience in systems administration, computer programming, requirements gathering, customer service, and technical support.
0 Comments