HATS applications support most of the versions of IBM WebSphere Application Server Liberty (WAS Liberty) starting from liberty 16 to liberty 19.
Each of these server versions in turn support different versions of server features, which are configurable based on the needs of the deploying application.
The below table shows a mapping between HATS versions and version of WAS Liberty features required to run HATS simple web application and HATS Restful application.
Depending on the version of liberty being used, the corresponding feature needs to be enabled in liberty feature manager.
Few ways to install additional features in liberty server:
Using install Utility command:
Use this command to install assets that are in directory-based repository, an instance of the Liberty Asset Repository Service (local repository), or the Liberty Repository.
Command can be used as below:
installUtility action [options]
<liberty-Home>/bin/installUtility install webProfile-6.0
<liberty-Home>/bin/installUtility uninstall webprofile-7.0
To install feature from local repository – useful when the server is configured in a machine which is under controlled domain/firewall:
<liberty-Home>/bin/installUtility m jax-rs-1.1 --location=c:\temp\download -- acceptLicense
Specify directory-based repository as the source of the assets for the installUtility command. The directory-based repository can be an uncompressed folder or a compressed archive file.
<liberty-Home>/bin/installUtility install jax-rs-1.1 --from=<c:\localrepo\download> -- acceptLicense
Refer below link for more information about other actions and options:
In the server tab, open server configuration of the liberty server -->Go to feature manager
-->click on Add -->Click on install additional features -->select the feature and install.