1.6.  Identify and describe the components of the WebSphere Application Server Liberty profile.


Configuration files

Runtime services provide their configuration defaults so that the configuration you need to specify is kept to a minimum. At server startup, or when the user configuration files are changed, the kernel parses your configuration and applies it over the system defaults. The set of configuration properties belonging to each service is injected into the service each time the configuration is updated.

A Liberty profile server can be customized using a few simple files:

The optional files are not created by default, whereas server.xml is always created.

To effectively manage the configuration files of multiple servers, the administrator can create a globally accessible file share where the configuration files reside. Each server has access to this file share and uses it as its main configuration repository. A similar solution can be applied to a shared application's directory, so only one version of the application is used by all Liberty profile servers.

These techniques enable the administrator to control the server runtime configuration from a single place. For environments where there are multiple administrators with different roles who manage different aspects of the server, the configuration of the server can be placed in separate files. Each file contains configuration fragments dedicated to a given administrator and is referenced by the main configuration file using the include tag, as illustrated in figure below:

Figure 1.11. Liberty profile management in multi-administrator environments

Liberty profile management in multi-administrator environments

Authorization to the configuration files can be achieved on the operating system level. For example, a deployer has access to use a shared applications directory and has permissions to write to the apps.xml file. Similarly, the configuration of the user registry can be dedicated to a separate user who is authorized to the ldapRegistry.xml file.

Professional hosting         Free 'Oracle Certified Expert Web Services Developer 6' Guide     Free SCDJWS 5.0 Guide