CF2021 Update 11 cannot connect to Oracle database with encryption and checksum
Updating to CF2021 Enterprise Update 11 on my Linux server connecting to Oracle 19c database that uses encryption & checksum breaks. Downgrading the Oracle package from 2021.0.11 to 2021.0.05 lets me connect again.
While an update to the Oracle driver isn't listed in the Update 11 notes, it is indeed updated. They do mention "enhancements in ...Database, and other areas". Searching for "database" I see some changes to MySQL and Postgres but nothing for Oracle. I do indeed see the new files on my filesystem. Going to the Package Manager in the CF Administrator GUI shows that it has updated to "2021.0.11.330247". If I select "2021.0.05.330109" in the "Available Versions" and then click "Downgrade" and restart my CF instance, the datasource now connects. Incidentally, there is no "downgrade" command in cfpm.sh so I had to actually go through using the web-gui to do the downgrade. I'll submit a Feature Request to allow downgrade command via cfpm.sh separately.
The error I see in coldfusion-error.log or exception.log is "[DataDirect][Oracle JDBC Driver]ORA-12656: Cryptographic checksum mismatch"
I didn't change any parameter in my DataSource itself. My Oracle database hasn't changed either.
I will note I am using Amazon Linux 2 in AWS EC2 and am also using Amazon Corretto 11.0.20.9.1. So at first, I thought it was something to do with that, and I suppose that's still possible. I'm also seeing this in my Oracle Linux 7 system using openjdk11 as well, but that's a test system so it could have other things going on with it. However, given that simply downgrading the Oracle package from 2021.0.11 to 2021.0.05 makes it work again, I suspect this issue is because of some undocumented Oracle driver update/change.
If anyone has any ideas, please chime in.
Thanks all,
PH
