You are previewing IBM WebSphere Application Server V8.5 Administration and Configuration Guide for Liberty Profile.
O'Reilly logo
IBM WebSphere Application Server V8.5 Administration and Configuration Guide for Liberty Profile

Book Description

IBM® WebSphere® Application Server V8.5 includes a Liberty profile, which is a highly composable, dynamic application server profile. It is designed for two specific use cases: Developers with a smaller production runtime, and production environments. For developers, it focuses on the tasks that a developer does most frequently, and makes it possible for the developer to complete those tasks as quickly and as simply as possible. For production environments, it provides a dynamic, small footprint runtime to be able to maximize system resources.

This IBM Redbooks® publication targets administrators of Liberty environments. It provides the information needed to create, configure, and manage Liberty servers. It includes information about managing multiple servers in an installation, including the use of the new administrative capabilities introduced in WebSphere Application Server V8.5.5.7.

The following publications are companion publications for this book:

  • WebSphere Application Server: New Features in V8.5.5, REDP-4870

  • WebSphere Application Server V8.5.5 Technical Overview, REDP-4855

  • IBM WebSphere Application Server V8.5 Concepts, Planning, and Design Guide, SG24-8022

  • WebSphere Application Server Liberty Profile Guide for Developers, SG24-8076

  • Table of Contents

    1. Front cover
    2. IBM Redbooks promotions
    3. Notices
      1. Trademarks
    4. Preface
      1. Authors
      2. Now you can become a published author, too!
      3. Comments welcome
      4. Stay connected to IBM Redbooks
    5. Chapter 1. Overview of IBM WebSphere Application Server Liberty for administrators
      1. 1.1 Introduction to WAS Liberty
        1. 1.1.1 Java EE 7 and Liberty
      2. 1.2 Product editions
        1. 1.2.1 Liberty licensing
        2. 1.2.2 The Liberty Repository
      3. 1.3 Runtime architecture
      4. 1.4 Feature configuration
      5. 1.5 Directory structure
      6. 1.6 Configuration files
      7. 1.7 System management
        1. 1.7.1 Topologies
      8. 1.8 Security
      9. 1.9 Multi-server environments
        1. 1.9.1 Using multiple non-clustered Liberty servers
        2. 1.9.2 Using Liberty collectives and clustered servers
      10. 1.10 Serviceability and troubleshooting
      11. 1.11 Application development and deployment tools
    6. Chapter 2. Liberty for the cloud
      1. 2.1 Liberty in the cloud
        1. 2.1.1 Why Liberty is an ideal runtime for the cloud
        2. 2.1.2 Liberty licensing
      2. 2.2 Administration of Liberty on cloud platforms
        1. 2.2.1 Software as a service
        2. 2.2.2 Containers
        3. 2.2.3 Platform as a service
        4. 2.2.4 Infrastructure as a service
    7. Chapter 3. Installing and updating Liberty
      1. 3.1 Configuring the Java Runtime
      2. 3.2 Installation using downloaded files and archives
        1. 3.2.1 Installation by extracting a Java archive file
        2. 3.2.2 Installation by extracting a ZIP archive file
      3. 3.3 Installation by IBM Installation Manager using the GUI
        1. 3.3.1 Install Liberty and IBM WebSphere SDK Java Technology Edition for Liberty
        2. 3.3.2 Install features and addons without connecting to the Internet
      4. 3.4 Installation on z/OS
        1. 3.4.1 Install WebSphere Application Server Liberty for z/OS
        2. 3.4.2 Install Liberty Repository features and addons
        3. 3.4.3 Install IBM WebSphere SDK Java Technology Edition for Liberty
      5. 3.5 Considerations for upgrading Liberty V8.5.0 to V8.5.5
      6. 3.6 Installing content from Liberty Repository
        1. 3.6.1 Installing assets by using the installUtility command
        2. 3.6.2 The IBM WebSphere Liberty Repository
        3. 3.6.3 The Liberty Asset Repository Service
        4. 3.6.4 Local directory-based repositories
      7. 3.7 Updating Liberty
        1. 3.7.1 In-place update
        2. 3.7.2 Side-by-side update
    8. Chapter 4. Working with Liberty profile servers
      1. 4.1 Working with the bootstrap.properties file
      2. 4.2 Working with the server.xml file
        1. 4.2.1 Adding new configuration options
        2. 4.2.2 Using include syntax
        3. 4.2.3 Using variables in configuration files
        4. 4.2.4 Encrypting passwords
      3. 4.3 Using WebSphere developer tools to work with the configuration
      4. 4.4 Liberty command-line utilities
        1. 4.4.1 Packaging a Liberty server
        2. 4.4.2 Installing config snippets with the configUtility
        3. 4.4.3 Application client commands
      5. 4.5 Use the configuration dropins folder to specify server configuration
      6. 4.6 Configuring dynamic application updates
      7. 4.7 Starting and stopping the server using the command line
      8. 4.8 Classloaders and shared libraries
    9. Chapter 5. Administering the WebSphere Liberty profile
      1. 5.1 Installing the sample environment
        1. 5.1.1 The Liberty environment
        2. 5.1.2 Installing Jython
      2. 5.2 Flexible deployment
      3. 5.3 The Liberty Management API
        1. 5.3.1 Connecting with JMX
        2. 5.3.2 Connecting through the Admin Center
      4. 5.4 Liberty collectives
        1. 5.4.1 Comparing Liberty and WAS Classic
        2. 5.4.2 Configuring a Liberty collective controller
        3. 5.4.3 Registering host computers within a Liberty collective
        4. 5.4.4 Creating a collective member
        5. 5.4.5 Adding members to the Liberty profile collective
        6. 5.4.6 Configuring collective controller replica sets
        7. 5.4.7 Setting up a Liberty server cluster
    10. Chapter 6. Accessing databases
      1. 6.1 JDBC resources
        1. 6.1.1 JDBC providers and data sources
        2. 6.1.2 WebSphere support for data sources
      2. 6.2 Steps to define access to a database
      3. 6.3 Configuring data sources in Liberty
        1. 6.3.1 Configuring third-party data sources
        2. 6.3.2 Application-defined data sources in Liberty
        3. 6.3.3 Runtime data source configuration update in Liberty
      4. 6.4 Configuring connection pooling properties in Liberty
      5. 6.5 Accessing MongoDB databases
        1. 6.5.1 Configuring Liberty to access MongoDB APIs directly
        2. 6.5.2 Configuring Liberty to access MongoDB using runtime injection engine
        3. 6.5.3 Connecting to a distributed set of MongoDB instances
        4. 6.5.4 Configuring secure container-managed MongoDB connections
      6. 6.6 Data access with CouchDB
      7. 6.7 Logging data source activity
      8. 6.8 Using the timed operations feature to monitor database operations
    11. Chapter 7. Messaging applications
      1. 7.1 Liberty messaging server configuration features
      2. 7.2 Liberty embedded JMS messaging provider
        1. 7.2.1 Enabling JMS messaging for a single Liberty server
        2. 7.2.2 Enabling JMS messaging between two Liberty servers
      3. 7.3 Interoperating with the service integration bus messaging provider
        1. 7.3.1 Enabling service integration bus to connect to Liberty messaging
        2. 7.3.2 Enabling Liberty server to connect to a bus for point-to-point messaging
        3. 7.3.3 Enabling Liberty server to connect to a bus for publish and subscribe
        4. 7.3.4 Enabling Liberty server to connect to a bus for message-driven beans
      4. 7.4 WebSphere MQ messaging provider
        1. 7.4.1 Enabling Liberty to connect WebSphere MQ
        2. 7.4.2 Deploying message-driven beans to connect to WebSphere MQ
      5. 7.5 Liberty application client container
        1. 7.5.1 Defining the server
        2. 7.5.2 Creating and configuring the client container
        3. 7.5.3 Deploying the JMS client application to the client container
        4. 7.5.4 Starting the server and running the client
    12. Chapter 8. Monitoring the Liberty server environment
      1. 8.1 Introduction to performance monitoring
      2. 8.2 Monitoring Liberty using the monitor feature
      3. 8.3 Monitoring Liberty using JConsole
        1. 8.3.1 Monitoring the Liberty run time remotely using a REST connector
      4. 8.4 Monitoring Liberty by using the IBM Monitoring and Diagnostics Tools for Java - Health Center
      5. 8.5 Monitoring Liberty using other tools
      6. 8.6 Tuning Liberty
    13. Chapter 9. Problem determination tools
      1. 9.1 Text log and trace
        1. 9.1.1 Configuring the server for logging
        2. 9.1.2 Enabling tracing
        3. 9.1.3 Using the WebSphere developer tools to configure logging and trace
      2. 9.2 Binary log and trace
        1. 9.2.1 Log data repository
        2. 9.2.2 Trace data repository
        3. 9.2.3 Log and trace performance
        4. 9.2.4 Configuring binary logging
        5. 9.2.5 Using the WebSphere developer tools to configure binary logging and trace
        6. 9.2.6 Reading logs with the binaryLog command
      3. 9.3 Creating a dump of a Liberty server
      4. 9.4 Event logging
      5. 9.5 Request timing
    14. Chapter 10. Intelligent Management
      1. 10.1 Introduction to Intelligent Management
      2. 10.2 Dynamic routing
        1. 10.2.1 Configuring dynamic routing
      3. 10.3 Auto scaling
        1. 10.3.1 Auto scaling features
        2. 10.3.2 Scaling policies
        3. 10.3.3 Configuring auto scaling for JVM elasticity
        4. 10.3.4 Configuring auto scaling for Liberty elasticity
      4. 10.4 Maintenance mode
        1. 10.4.1 Configuring maintenance by using the command line
        2. 10.4.2 Configuring maintenance by using the Admin Center
      5. 10.5 Health management
        1. 10.5.1 Health policies
        2. 10.5.2 Health management controller
        3. 10.5.3 Configuring health management features for Liberty
    15. Related publications
      1. IBM Redbooks
      2. Online resources
      3. Help from IBM
    16. Back cover