+

Search Tips   |   Advanced Search

Liberty resources

Supported Liberty resources include project, runtime, Liberty server, application binary, and SDK.

Liberty resources can be packaged into one or more compressed (.zip) files. Use the job manager in the WebSphere Application Server, Network Deployment product to deploy the resources to remote hosts. The grouping of the resources within a compressed file affects the scope and sharing of the resources.

Descriptions of Liberty resource types follow:

project

An optional container for resources. We can group related resources under the same project for ease of management and to avoid name conflicts with resources from other projects.

runtime

The Liberty runtime, which includes the bin, clients, dev, lafiles, lib, and templates directories.

A customized instance of the runtime can include the etc directory with optional environment configuration files server.env and jvm.options.

liberty_server

A directory containing a server configuration file, server.xml, and the optional environment configuration files bootstrap.properties, server.env, and jvm.options. This directory is also the default location for the server working directory and log directory.

A server can be embedded in a runtime or isolated (separated) from the runtime. Configure isolated servers to use a specific instance of the runtime. We can administer isolated servers only using the job manager. (Command-line administration is not possible.)

application_binary

An archive or a directory containing an application. The application binary is optionally deployed to a Liberty server. An application can be embedded in a server, embedded in a runtime, or isolated (separated) from the runtime.

sdk

The Java software development kit that supports the Liberty servers and related tools. The SDK resource contains the directory path JRE_name/jre/bin/java or JRE_name/bin/java, where JRE_name is the name of the Java runtime environment.


Example Liberty resources

Each of the following example Liberty resources includes a resource name, a resource ID, and a location on disk. The runtime, Liberty server, application binary, and SDK resources are included in a project resource named project1; however, project membership is optional for all resource types. Each resource is assumed to be installed in base directory /liberty.


Resource sharing and packaging

We can deploy self-contained Liberty installations that include the runtime, one or more embedded servers, and one or more embedded applications. To simplify initial deployment and ongoing administration of large multiple-server environments, we can also deploy Liberty installations where the runtime, application binary, and SDK resources are shared by multiple servers that reside on one host, or even many hosts.

Packaging Liberty resources illustrates several different deployment schemes and provides detailed information about configuring and packaging the resources for deployment to target hosts.


Related:

  • Job manager resources
  • Job manager targets
  • Packaging Liberty resources