Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
That's a pretty rare combination of circumstances. I suspect you'll get little help for it here. It seems more a bug than something for which there may be any workaround.
As such, I'd suggest you raise this at tracker.adobe.com, and then also post the ID here (so others who find this can follow along there), AND then send it also to cfsup@adobe.com, to get their attention.
Copy link to clipboard
Copied
sure will do it
thank you
Copy link to clipboard
Copied
I have raised a bug at adobe tracker The bug ID is CF-4223958.
https://tracker.adobe.com/#/view/CF-4223958
Copy link to clipboard
Copied
Good to see. Hope it helps.
What you wrote there did lead me to want to raise a point/question, though: you refer there to how "This behavior persists even after a fresh installation of ColdFusion". And I see now you mentioned above also a "fresh" cf install.
To be clear, use of containers has nothing at all to do with any installation of cf you may do on the machine running the container. I don't raise this merely to be pedantic but because it might be helpful to understand. Still, it doesn't help solve the problem.
That said, it does make me want to add one more question: before checking the admin, are you waiting for the restart of cf within the container which happens when does such a car or cf settings import? I think you should see it restart twice, once for each. Your screenshot showed what you saw after the import of the settings. Does the log show it restarting after that? You'd want to check the admin then.
I decided to ask here in case you affirm things fail after both restarts, in which case we didn't need to clutter the bug report.
Copy link to clipboard
Copied
When I said, "This behavior persists even after a fresh installation of ColdFusion," I meant that I started the container without any imports (no `.car` file). I created a new `.car` file from scratch and exported it for the container. Previously, I used a `.car` file from ColdFusion 2021. Sorry for the misunderstanding.
Regarding the CF restarts: yes, I understand CF restarts 2-3 times during the initial setup—once after the datasource import and then after the `.car` import. I’ve checked, but the issue still persists.
Copy link to clipboard
Copied
Ok, thanks. Let's see what (if anything) Adobe may do in reply to the ticket. Again, you may want to email them at cfsup@adobe.com, to ensure they see it.