Datasource "Host Port" Fetch Error?
Greetings,
We are attempting to deploy some code on CF2018, and are receiving a puzzling error. When we run the code, and then look in the coldfusion-out log, we see several entries of "Exception while fetching the host port of the DB in Configuration for "db name.of.database". The exception log contains the above error, with the following entry associated with each entry;
"java.lang.ClassCastException: class coldfusion.sql.CFDataSourceProxy cannot be cast to class coldfusion.sql.CFDataSource (coldfusion.sql.CFDataSourceProxy and coldfusion.sql.CFDataSource are in unnamed module of loader coldfusion.bootstrap.BootstrapClassLoader @59b32539)"
The code is executing a SQL query, which does complete. The data source is working, because we get data back, as well as it validating connectivity during the data source creation process. To our knowledge, no proxies are defined for the datas ource connection.
We cannot locate specifics on either of the error messages, so any insights would be greatly appreciated.
Thanks,
Scott
