@Priyank Shrivastava. , Nice to read that you were able to deploy CF2021 on RHEL 8 and Tomcat 9.0.50 without any issue.
@bampolsk , a running theme in your error logs is Security. Take a look at the following excerpts:
- 05-Aug-2021 13:12:13.426 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64
05-Aug-2021 13:12:13.426 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 11.0.12+7-LTS
05-Aug-2021 13:12:13.426 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Red Hat, Inc.
- -Djdk.tls.ephemeralDHKeySize=2048
-Djava.protocol.handler.pkgs=org.apache.catalina.webresources
-Dorg.apache.catalina.security.SecurityListener.UMASK=0027
- Aug 5, 2021 13:12:18 PM Information [main] - Starting security...
Aug 5, 2021 13:12:18 PM Error [main] - Unable to install Security package: coldfusion.runtime.Encryptor$InvalidEncryptionKeyException: The key specified is not a valid key for this encryption: Could not create key.
Aug 5, 2021 13:12:18 PM Information [main] - Unable to initialise CFStartupServlet:The key specified is not a valid key for this encryption: Could not create key.
They suggest a security incompatibility.
Are you using the Red Hat build of OpenJDK? If so, what happens when you use instead the Java library from ColdFusion downloads?
And, should that fail, what happens when you move one patch down to JDK 11.0.11?