Datasources Server vs Web admin - which overrules

I have a sanity check question regarding datasources defined in the Server Admin vs the ones defined in the Web admin.

I want to have all webapps have a datasource called Checkers which points to a certain database on a certain server. But for a few webapps on the same Lucee server, I want that datasource to point to another database on another server. It is a step-by-step migration issue I need this for.

So my question is:

  1. Will every webapp ONLY listen to the datasource set in the Server Admin and ignore a datasource with the same name in the Web Admin.
  2. Or will all webapps listen to the datasource set in the Server Admin, except for the webapps that have the datasource with the same name set in de Web Admin?

If 1. I am not a happy person, if 2. then I can migrate the webapps over 1-by-1 from the old to the new datasource, using the same datasource name.

Hope you can chime in and that the question is useful for others as well.

Stack: Lucee 6.x, Windows, IIS, MSSQL

zackster

It’s like css, server is default, web overrides server, application overrides web

Sebastiaan

Ah, ok, then I’ll go ahead and create the exceptions in the Web Admins. Was hoping and thought it worked that way, good to get it confirmed. Thnx 4 being my rubber duck!

From the lucee Slack answer: Slack