Manually installing a Liberty feature to Liberty V8.5 or earlier

When you develop a Liberty feature by using the WebSphere® Application Server Developer Tools, you create a Liberty feature project that packages the Liberty feature in a compressed file. To install the Liberty feature, you must extract the contents of the compressed file to the Liberty environment.

Before you begin

Create a Liberty feature project.

Restriction: This topic is supported for WebSphere Application Server Liberty V8.5 or earlier. For versions 8.5.5, see Installing a Liberty feature to Liberty V8.5.5 topic.

About this task

The compressed file has the following structure:
/lib
    OSGi bundle JAR files
            .
            .
            .
/features
    manifest file
  

Procedure

To install a Liberty feature to Liberty, complete the following steps:

  1. In your workspace, right-click your Liberty feature project and select Export > Liberty Feature.
  2. In the To ESA file field, specify the location and name of the compressed file to which you want to export the Liberty feature project.
  3. Click Finish to export the Liberty feature project to the specified location.
  4. Extract the contents of the compressed file to the ${wlp.user.dir}/extension directory.
  5. Add the feature name to the list of configured features in your server.xml file; you must prefix the feature name with usr:.
    For example:
    <featureManager>
         <feature>usr:sample-1.0</feature>
    </featureManager>

Icon that indicates the type of topic Task topic



Timestamp icon Last updated: Monday, 5 December 2016
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-libcore-mp&topic=t_feature_manual_deploy
File name: t_feature_manual_deploy.html