This message was deleted.
# cfml-general
s
This message was deleted.
j
whts the top of the application.cfc look like that contains the this.name?
a
You sure it's yer only Application.cfc / Application.cfm? There's not another one being picked up? Might have a mapping issue?
Oh... it's not some placeholder Application.cfc that commandbox does something with, is it? Might it be CommandBox's own CFML-sever instance that Docker is showing errors for, not yer own app?
Are the log messages only during container start-up?
j
It's a vanilla setup:
Copy code
this.datasource = 'foo';
this.hostname = '<http://local.foo.com|local.foo.com>';
this.system_id = 1;

// get application info from system db based on hostname
this.get_system = getSystem(datasource = this.datasource
, hostname = this.hostname
, systemid = this.system_id);

// set application name
this.name = this.get_system.system_application_name;
There are no Application.cfc/Application.cfm 'above' this... and I tried flipping the setting in CFAdmin to only look in the webroot. Log messages persist - a new one pops up every minute or so ...
Let me toast all my docker stuff and rebuild things ...
@Adam Cameron thanks for making me consider Commandbox - think it was a setting I had tweaked in my server.json and forgotten!
Just to followup on this - I fixed the original error and ended up with another error. Yay! After some more debugging (and a lot of swearing) the final culprit ended up being the healthcheck in Docker!! This was hitting a bogus endpoint. To verify this was the issue - you can easily disable this in docker-compose and once I added that - no more error!
Copy code
services:
  cfml:
    healthcheck:
      disable: true
a
Ha! I have had something similar to that in the past, if that's any consolation.