Copy link to clipboard
Copied
Hello CF Community,
Not sure if this is a bug, undocumented feature, or edge case, but let's start with the resolution (or workaround) that allowed our servers to come back online:
Replace <struct type="coldfusion.server.ConfigMap"> with <struct> under the <var name='CONNECTIONPROPS'> node within each datasource in neo-datasource.xml
Now for the problem we faced:
After installing Update 17 for ColdFusion 2016 we could no longer reach the ColdFusion Administrator. The 500 Internal Server Error on screen read "The DataSource service is not available." Our database driven websites were also down, but static sites were up and running.
On server startup, the server.log file in the ColdFusion logs had the following error:
"Error","localhost-startStop-1","03/23/21","10:41:42","","Unable to initialise SQL service: coldfusion.server.ServiceException: coldfusion.server.ConfigMap cannot be cast to coldfusion.runtime.Struct"
Comparing the <cf_root>\<cf_instance>\lib\neo-datasource.xml files from 2 different servers, both with CF2016 and update 17, one working and one not, I found the only difference to be a typecast (type="coldfusion.server.ConfigMap") on the struct tag under the CONNECTIONPROPS variable. Removing the typecast resolved the issue.
I am not sure how the typecast ended up in the configuration file, but I hope this helps someone in the future resolve their issue quickly.
- Nicholas
Copy link to clipboard
Copied