Specifying the Liberty configuration with dropins files by using developer tools
You can specify the server configuration for Liberty by creating configuration dropins files and placing these files in the configDropins directory.
About this task
You can use the dropins files to set a default configuration, or override configurations that are set in the server.xml file or included files. The server configuration validator includes configuration dropins files as part of the overall server configuration validation. The server configuration editor shows variables and references that are defined in dropins files in the appropriate content assistance and drop-down lists.
You can place configuration dropins files in either the ${server.config.dir}/configDropins/defaults directory or in the ${server.config.dir}/configDropins/overrides directory.
- If you place these files in the defaults directory, then the configuration is applied before the server configuration. In this case, the files provide default values, which you can override in the main server.xml file or the included files.
- If you place the configuration dropins files in the overrides directory, then the configuration is applied after the server configuration. In this case, the files override the main server.xml or included files.
For more information about configuration dropins files, see: Using the configuration dropins folder to specify server configuration.