Lucee-server.xml in Lucee 6.0

Hi
I have come across an issue while install ing the latest Lucee version.
To avoid having to set up over 100 datasources manually I was just intending on copzing the lucee-server.xml (C:\lucee\tomcat\lucee-server\context\lucee-server.xml) to my new machine. However in the new versions lucee does not seem to care about this file and therefore doesn’t add the datasources.

Is this file moved somewhere new or is there any other way to bulk import datasources?

Don’t forget to tell us about your stack!
OS: Windows
Lucee Version: 6.0.0.585

Lucee 6 uses a JSON format for configuration now instead of XML - that will be why it is ignoring your server.xml file.

You may be able to use the new ConfigImport() function to programmatically import your datasources if you read your XML file into a struct.

There will also be CommandBox and cfconfig as another option to import them:

1 Like