OpenLiberty/open-liberty

GA BLOG - Ensure sufficient features are installed when listing the features to install on the command line

Opened this issue · 0 comments

When featureUtility installFeature <featurename> is used to install a feature on the command line, the feature and all required dependencies are installed.

However, this doesn't guarantee that the feature will start correctly when used with other features in the server, particularly for features which can work with multiple versions of other features. This means that you could list all the features you wanted to use on the command line but find that they didn't all work together because featureUtility hadn't installed the right version of every dependency.

To ensure this doesn't happen, running featureUtility installFeature <featurename> will now install all versions of any dependencies required by the requested feature which may result in a larger number of features being installed in some circumstances.

The similar command featureUtility installServerFeatures <servername> was not affected by this problem and its behaviour is unchanged. Using installServerFeatures is the recommended way to install features as it will always install exactly the minimum set of features needed for the given server configuration.