WAS v8.5 > WebSphere applications > Liberty profileLiberty profile: Server configuration
The Liberty profile is configured by exception. The runtime environment operates from a set of built-in configuration default settings, and you only need to specify configuration that overrides those default settings. You do this by editing either server.xml or another XML file included in server.xml at run time.
The configuration has the following characteristics:
- Described in XML files.
- Human-readable, and editable in a text editor.
- Small, easy to back up, and easy to copy to another system.
- Shareable across an application development team.
- Composable, so that features can add their own configuration to the system.
- Extensibly-typed, so we don't have to modify the current configuration to work with later versions of the runtime environment.
- Dynamically responsive to updates.
- Forgiving, so that missing values are assumed and unrecognized properties are ignored.
Features are the units of functionality by which you control the pieces of the runtime environment that are loaded into a particular server. They are the primary mechanism that makes the server composable. The list of features specified in the server configuration provides a functional server. See Liberty features.
When you first install and start the server, a feature manager and a default server configuration are available:
- By default, a server contains the jsp-2.2 feature, to support servlet and JSP applications. We can use the feature manager to add the features that you need.
- Server configuration is by exception. When we specify the features that you need, the default configuration of those features provides a rich environment designed to cover most common requirements, therefore you only need to specify changes from the default configuration.
For a full list of the elements that we can configure to complement or modify the configuration provided by Liberty features, see Liberty profile: Configuration elements in server.xml.
We can also use a bootstrap.properties file to specify properties that are needed before the main configuration is processed, and to define variables used in the main configuration.
See also
- Liberty profile: Configuration elements in server.xml
The application server configuration is described in a series of elements in the server.xml configuration file. Each element has one or more attributes or sub-elements. This topic contains details of the possible elements, attributes, and sub-elements that can be configured.
Related concepts:
Liberty profile: Architecture
Liberty profile: Feature management
Liberty profile: Security
Related
Specify Liberty profile bootstrap properties
Edit the Liberty profile configuration using WebSphere Studio
Add and remove Liberty features
Administer the Liberty profile manually
Use includes in configuration files
Reference:
Liberty features
Concept topic |