WAS v8.5 > Deploy applications > Deploy applications to the Liberty profile

Add and running an application on the Liberty profile using developer tools

We can add applications to the server by right-clicking on the server in the Servers view then selecting Add and Remove from the menu.

The Liberty profile developer tools currently support web and OSGi applications. For details on OSGi applications support, see the Blueprint and Web Application Bundles (WAB) feature sections in the Liberty features topic. In addition, for details on restrictions of OSGi applications, see the wab-1.0 feature restrictions section in the Liberty profile: Runtime environment known restrictions topic.

This task assumes the application is in your Eclipse workspace. If we have a prebuilt application archive file to add and run, first import the file into your Eclipse workspace. Alternatively, we can use the steps described in Deploy applications to the Liberty profile. When you add an application to the server, the workbench tries to determine which features are required by the application and enables them in the server configuration for you if they are not already enabled.

  1. In the Servers view, right-click the server and select Add and Remove.
  2. In the Add and Remove wizard, under the Available list, select the applications to add then click Add. Or click Add All to add all available applications to the server.

  3. Alternatively, we can right-click on an application in the Project Explorer view and select Run As > Run on Server, or Debug As > Debug on Server. This adds the application to the server (if not already added), starts the server (if not already started) and runs the application.


Results

If we are using Run on Server or Debug on Server and the server is already started, the browser might try to load the application before the server has finished loading it. If this happens, wait for the message in the console view that displays the application has been started and then refresh the browser if necessary.


Parent topic: Deploy applications to the Liberty profile


Related


Liberty profile dynamic updates


|