CF Enterprise 2021 bytecode execution error in Administrator
I understand that bytecode execution limitations were introduced with the Hotfixes earlier this year (2025), but I am suddenly running into new problems with this. I have recently been trying to implement CF Enterprise 2021 Hotfix 22 over a successful install of Hotfix 21, and I have got it working on a local instance of Tomcat for Windows. However, when I move the WAR file to Tomcat on Azure, I run into this error opening the Administrator:
"ColdFusion, by default, disables the execution of bytecode in .cfm and .cfc files. To enable it, open the JVM.config file, and set -Dcoldfusion.compiler.block.bytecode=false or add path: (here it lists the path to my CF Admin)/CFIDE/adminapi/security.cfc to bytecodeexecutionpaths key of root/lib/pathfilter.json"
I don't get this error locally. I've tried adding the path to pathfilter.json, and even to pathfinder.txt when that didn't work, and restarting the service. The error has persisted, and I can't get into the Administrator.
Obviously since this is CF Enterprise, there is no jvm.config file to edit, so I've added the flag to the Tomcat environment variable CATALINA_OPTS -- this works, but I didn't really want to remove the block completely. I just wanted to get ColdFusion to trust its own bytecode...!!!
Can anyone help me figure out what I'm doing wrong? When I add the path in the JSON file, I'm verifying & copying it directly from the error message, enclosing it in double-quotes, terminating with a semicolon, and using forward slashes. I have tried using the wildcard notation to allow all the files in the adminapi directory. I have restarted after each change. I have even tried taking the JSON file's Comments field literally and enclosing the path in {}s. It doesn't help. Oh -- and I guess I should mention everything is working fine on Hotfix 21 without any edits at all.
Thanks for reading! Any help would be greatly appreciated.
