Supported Liberty profile resources
include project, runtime, Liberty server, application binary, and
software development kit (SDK).
Liberty profile resources
can be packaged into one or more compressed (.zip)
files. You can use the job manager in the WebSphere® Application Server, Network Deployment Version 8.5
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. For more information, see Packaging Liberty profile resources.
Descriptions of Liberty profile resource
types follow:
- project
- An optional container for resources. You 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 profile 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 that contains 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. You must configure isolated servers to use a specific
instance of the runtime. You can administer isolated servers only
using the job manager. (Command-line administration is not possible.)
For more information, see Packaging Liberty profile resources.
- application_binary
- An archive or a directory that contains an application. The application
binary is optionally deployed to a Liberty profile 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 profile
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 profile resources
Each
of the following example Liberty profile 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.
- project
- Resource name: project1
- Resource ID: project/project1
- Location on disk: /liberty/project1
- runtime
- Resource name: wlp
- Resource ID: project/project1/runtime/wlp
- Location on disk: /liberty/project1/wlp
- liberty_server
- Embedded in runtime
- Resource name: server1
- Resource ID: project/project1/runtime/wlp/liberty_server/server1
- Location on disk: /liberty/project1/wlp/usr/servers/server1
- Isolated from runtime
- Resource name: server2
- Resource ID: project/project1/liberty_server/server2
- Location on disk: /liberty/project1/servers/server2
- application_binary
- Embedded in server apps directory
- Resource name: apps_app1.war
- Resource ID: project/project1/runtime/wlp/liberty_server/server1/application_binary/apps_app1.war
- Location on disk: /liberty/project1/wlp/usr/servers/server1/apps/app1.war
- Embedded in server dropins directory
- Resource name: dropins_app2.war
- Resource ID: project/project1/runtime/wlp/liberty_server/server1/application_binary/dropins_app2.war
- Location on disk: /liberty/project1/wlp/usr/servers/server1/dropins/app2.war
- Embedded in runtime shared apps directory
- Resource name: app3.war
- Resource ID: project/project1/runtime/wlp/application_binary/app3.war
- Location on disk: /liberty/project1/wlp/usr/shared/apps/app3.war
- Isolated from runtime
- Resource name: app4.war
- Resource ID: project/project1/application_binary/app4.war
- Location on disk: /liberty/project1/apps/app4.war
- sdk
- Resource name: jre
- Resource ID: project/project1/sdk/jre
- Location on disk: /liberty/project1/jre
Resource sharing and packaging
You
can deploy self-contained Liberty profile 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, you can also
deploy Liberty profile 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 profile resources illustrates several different
deployment schemes and provides detailed information about configuring
and packaging the resources for deployment to target hosts.