2.5.  Create and manage Full and Liberty profiles.

[Note]

Installation Liberty Profile using the IBM Installation Manager

Prior to WebSphere Application Server V8.5.5, the Liberty profile was installed from the IBM Installation Manager as a feature of the WebSphere Application Server package. With V8.5.5, the Liberty profile is a separate package.

To install the Liberty profile using the IBM Installation Manager:

  1. Install the IBM Installation Manager, and configure the repository with the WebSphere Application Server packages.

  2. Start the Installation Manager.

  3. Click Install.

  4. Check the IBM WebSphere Application Server package, and then click Next.

  5. Accept the license agreement, provide your installation location for the product, and click Next.

  6. Select the Liberty profile package and the IBM WebSphere SDK Java Technology Edition Version 6 for Liberty, as illustrated in figure below. You might use this Java runtime later for the Liberty profile servers. Click Next.

    Figure 2.9. Installation of the Liberty profile using IBM Installation Manager

    Installation of the Liberty profile using IBM Installation Manager


  7. Click Install to start the installation process and when the installation process ends, click Finish.

Using WebSphere Developer Tools (WDT) to work with the configuration

Each Liberty profile is configured using a server.xml configuration file. The only required entry in the server.xml file is the server tag, which defines a server configuration scope.

You can use the WebSphere Developer Tools (WDT) to work with the server.xml file. Wizards and windows in the Eclipse workbench help to configure all of the server properties. To configure the server.xml file using WebSphere developer tools, double-click the Server Configuration, as illustrated in figure:

Figure 2.10. Configuring a Liberty profile server from the WebSphere developer tools

Configuring a Liberty profile server from the WebSphere developer tools


The current server configuration will be shown in a new window with all of its features and properties listed, as illustrated in figure:

Figure 2.11. Configuring a Liberty profile server data source using the WebSphere developer tools

Configuring a Liberty profile server data source using the WebSphere developer tools


Instead of typing the name of each of the configuration elements or their numerous properties, you can simply click Add..., and the WebSphere developer tools will guide you with the possible values and properties to configure. See figure:

Figure 2.12. Available properties for the Liberty data source using WebSphere developer tools

Available properties for the Liberty data source using WebSphere developer tools


Profiles

WebSphere Application Server runtime environments are built by creating sets of configuration files, named profiles, that represent a WebSphere Application Server configuration.

The Customization Toolbox allows you to create separate environments, such as for development or testing, without a separate product installation for each environment. Different profile templates are available in the Customization Toolbox Profile Management Tool (PMT):

Each profile contains files that are specific to that run time (such as logs and configuration files). You can create profiles during and after installation. After you create the profiles, you can perform further configuration and administration by using WebSphere administrative tools.

Each profile is stored in a unique directory path, which is selected by the user when the profile is created. Profiles are stored in a subdirectory of the installation directory by default, but can be located anywhere.

Figure 2.13. Profiles directory structure of WebSphere Application Server V8.5 on a Windows system

Profiles directory structure of WebSphere Application Server V8.5 on a Windows system


By creating various profiles, you can create a distributed server configuration by using one of the following methods:

Professional hosting         Free 'Oracle Certified Expert Web Services Developer 6' Guide     Free SCDJWS 5.0 Guide