+

Search Tips   |   Advanced Search

Add and remove Liberty features

Features are the units of functionality for the runtime environment loaded into a particular server. We add features using an XML snippet in the <feature> subelement of server.xml. Changes are applied dynamically.

  1. Edit...

  2. Set features...

    The set of features is enclosed within the <featureManager> element, and each feature within the <feature> subelement. For example:

    <server>
        <featureManager>
            <feature>servlet-3.0</feature>
            <feature>localConnector-1.0</feature>
        </featureManager>
    </server>
    The matching of feature names is not case-sensitive; the following example is also a valid server configuration:
    <featureManager>
            <feature>Servlet-3.0</feature>
            <feature>localConnector-1.0</feature>
    </featureManager>

  3. Save changes.


Results

Your changes are applied. If the server is running, the changes are applied dynamically.


Parent topic: Administer the Liberty profile manually

Concepts: