This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.
Adding and removing features from Liberty on distributed operating systems
You can use Installation Manager to install and remove WebSphere® Application Server Liberty Core features.
Before you begin
Ensure that your Installation Manager preferences are pointing to the appropriate web-based or local repositories containing WebSphere Application Server Liberty Core.
About this task
You can use the Installation Manager to install or remove features using one of the following procedures:
Procedure
Examples
In the following examples, the optional feature offering names are enclosed in parentheses; for example: Embeddable EJB container and JPA client (embeddablecontainer)Example of a response file that adds a feature to an installation:
<?xml version="1.0" encoding="UTF-8"?> <agent-input clean='true' temporary='true'> <server> <repository location='http://www.ibm.com/software/repositorymanager/com.ibm.websphere.liberty.v85'/> </server> <install modify='true'> <offering id='com.ibm.websphere.liberty.v85' profile='WebSphere Liberty V8.5' features='embeddablecontainer'/> </install> <profile id='WebSphere Liberty V8.5' installLocation='C:\Program Files\IBM\WebSphere\Liberty'> </profile> </agent-input>
Example of the imcl command that is modified to add features to an installation:
imcl.exe modify com.ibm.websphere.liberty.v85 -addFeatures embeddablecontainer -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.liberty.v85 -installationDirectory C:\Program Files\IBM\WebSphere\Liberty -secureStorageFile C:\credential.store -masterPasswordFile C:\master_password_file.txt
Note: When you use Installation Manager Version 1.6.2 and later, you should use the -secureStorageFile and -masterPasswordFile options to store credentials in a credential-storage file. In versions of Installation Manager earlier than Version 1.6.2, the -keyring and -password options were used to access credentials in a keyring file. These options were deprecated in Version 1.6.2. There is no migration path from keyring files to storage files because of the differences in the file structures. For more information on using the -secureStorageFile and -masterPasswordFile options to store credentials in a credential-storage file, see the Installation Manager Version 1.6 documentation. For more information on using the -keyring and -password options to store credentials in a keyring file, see the Installation Manager Version 1.5 documentation.- Example of the imcl command that is modified to remove a feature from an
installation:
imcl.exe modify com.ibm.websphere.liberty.v85 -removeFeatures embeddablecontainer -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.liberty.v85 -installationDirectory C:\Program Files\IBM\WebSphere\Liberty -secureStorageFile C:\credential.store -masterPasswordFile C:\master_password_file.txt