coldfusion 20203 datasource import error [ docker ]
- October 10, 2024
- 2 replies
- 709 views
In ColdFusion 2023, when the CF container starts, ColdFusion imports the database settings from the JSON file. This works similarly to ColdFusion 2021, but in 2023, the data source is not being imported correctly. The log indicates the data source was imported successfully, but it wasn’t.
The CF configuration is imported using a .car file, and the database settings are imported using a .json file. Keeping both separate is for security reasons.
If I use only the datasource.json file without the .car file, it works fine. Actually, even if you use both the .car file and the JSON file, it works fine as long as you exclude the caching from the server settings in the .car import.
I tried everything again with a fresh CF 2023.10 install, but the issue persists.
