WebSphere Application Server V8.5 Administration and Configuration Guide for Liberty Profile

Book description

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 a developer, it focuses on the tasks 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 profile environments. It provides the information needed to create, configure, and manage Liberty profile servers. It includes information on managing multiple servers in an installation, including the use of the new administrative capabilities introduced in WebSphere Application Server V8.5.5.

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. Notices
    1. Trademarks
  3. Preface
    1. Authors
    2. Now you can become a published author, too!
    3. Comments welcome
    4. Stay connected to IBM Redbooks
  4. Chapter 1. Overview of the Liberty profile for administrators
    1. 1.1 Introduction to the Liberty profile
    2. 1.2 Product packaging
    3. 1.3 Application development and deployment tools
    4. 1.4 Runtime architecture
    5. 1.5 Feature configuration
    6. 1.6 Directory structure
    7. 1.7 Configuration files
    8. 1.8 System management
    9. 1.9 Security
    10. 1.10 Multi-server environments
      1. 1.10.1 (New in V8.5.5) Using Liberty collectives and clustered servers
      2. 1.10.2 Using multiple non-clustered Liberty profile servers prior to V8.5.5
    11. 1.11 Serviceability and troubleshooting
  5. Chapter 2. Installing and updating the Liberty profile
    1. 2.1 Configuring the Java Runtime
    2. 2.2 Installation by extracting the archive
    3. 2.3 Installation using the IBM Installation Manager
    4. 2.4 Installation using the job manager console
    5. 2.5 Installation on z/OS
      1. 2.5.1 Considerations for upgrading Liberty profile V8.5 to V8.5.5
    6. 2.6 Updating the Liberty profile
      1. 2.6.1 Destructive update method
      2. 2.6.2 Non-destructive update method
  6. Chapter 3. Working with Liberty profile servers
    1. 3.1 Working with the server.xml file
      1. 3.1.1 Adding new configuration options
      2. 3.1.2 Using include syntax
      3. 3.1.3 Using variables
      4. 3.1.4 Encrypting passwords
      5. 3.1.5 Using WebSphere developer tools to work with the configuration
    2. 3.2 Working with the bootstrap.properties file
    3. 3.3 Starting and stopping the server using the command line
    4. 3.4 Configuring dynamic application updates
    5. 3.5 Classloaders and shared libraries
  7. Chapter 4. Accessing databases
    1. 4.1 JDBC resources
      1. 4.1.1 JDBC providers and data sources
      2. 4.1.2 WebSphere support for data sources
    2. 4.2 Steps to define access to a database
    3. 4.3 Configuring data sources in the Liberty profile
      1. 4.3.1 Configuring third-party data sources
      2. 4.3.2 Application-defined data sources in the Liberty profile
      3. 4.3.3 Runtime data source configuration update in the Liberty profile
    4. 4.4 Configuring connection pooling properties in the Liberty profile
    5. 4.5 (New in V8.5.5) Accessing MongoDB databases
      1. 4.5.1 Configuring Liberty profile to access MongoDB APIs directly
      2. 4.5.2 Configuring Liberty profile to access MongoDB using runtime injection engine
      3. 4.5.3 Connecting to a distributed set of MongoDB instances
      4. 4.5.4 Configuring secure container-managed MongoDB connections
    6. 4.6 Logging data source activity
    7. 4.7 Using the timed operations feature to monitor database operations
  8. Chapter 5. Runtime scenarios
    1. 5.1 Scenario 1: Setting up the Liberty profile
      1. 5.1.1 Creating the Liberty profile server
      2. 5.1.2 Configuring the database connectivity
      3. 5.1.3 Starting the server
      4. 5.1.4 Deploying the ITSOWebCustomerCredit application
      5. 5.1.5 Verifying the application
      6. 5.1.6 Configuring additional logging
      7. 5.1.7 Enabling dynamic caching
      8. 5.1.8 Packaging the Liberty profile
    2. 5.2 Scenario 2: Deploying the Liberty profile on a production server
      1. 5.2.1 Distributing the package to the target environment
      2. 5.2.2 Monitoring the server status
      3. 5.2.3 Configuring security
      4. 5.2.4 Encoding the passwords
      5. 5.2.5 Generating the Web server plug-in
    3. 5.3 Scenario 3: Setting up a Liberty collective
      1. 5.3.1 Creating a Liberty server
      2. 5.3.2 Configuring the Liberty server as a collective controller
      3. 5.3.3 Starting the collective controller
      4. 5.3.4 Creating a Liberty server that will be used as a collective member
      5. 5.3.5 Joining the Liberty server to the collective controller
      6. 5.3.6 Starting the collective member
      7. 5.3.7 Liberty collective security considerations
    4. 5.4 Scenario 4: Setting up a Liberty cluster
      1. 5.4.1 Verifying the status of the collective controller and member
      2. 5.4.2 Adding a member to the collective
      3. 5.4.3 Adding the collective members to the cluster
      4. 5.4.4 Generating a web server plug-in for the cluster
      5. 5.4.5 Adding additional controllers to the collective in a replica set
      6. 5.4.6 Configuring the failover controller for the collective cluster members
    5. 5.5 Scenario 5: Managing the Liberty profile with the job manager
      1. 5.5.1 Deploying a packaged Liberty profile on a production server
      2. 5.5.2 Starting and stopping a Liberty profile server
      3. 5.5.3 Generating a merged plug-in for Liberty profiles
  9. Chapter 6. Messaging applications
    1. 6.1 Liberty messaging server configuration features
    2. 6.2 Liberty embedded JMS messaging provider
      1. 6.2.1 Enabling JMS messaging for a single Liberty profile server
      2. 6.2.2 Enabling JMS messaging between two Liberty profile servers
    3. 6.3 Interoperating with the service integration bus messaging provider
      1. 6.3.1 Enabling service integration bus to connect to Liberty messaging
      2. 6.3.2 Enabling Liberty profile server to connect to a bus for point-to-point messaging
      3. 6.3.3 Enabling Liberty profile server to connect with a bus for publish and subscribe
      4. 6.3.4 Enabling Liberty profile server to connect to a bus for message-driven beans
    4. 6.4 WebSphere MQ messaging provider
      1. 6.4.1 Enabling Liberty profile to connect WebSphere MQ
      2. 6.4.2 Deploying message-driven beans to connect to WebSphere MQ
  10. Chapter 7. Monitoring the Liberty profile server environment
    1. 7.1 Using the monitor feature
    2. 7.2 Using jConsole
    3. 7.3 Monitoring the Liberty profile runtime remotely using a REST connector
      1. 7.3.1 Server side configuration
      2. 7.3.2 Client side configuration
  11. Chapter 8. Problem determination tools
    1. 8.1 Text log and trace
      1. 8.1.1 Configuring the server for logging
      2. 8.1.2 Enabling tracing
      3. 8.1.3 Using the WebSphere developer tools to configure logging and trace
    2. 8.2 Binary log and trace
      1. 8.2.1 Log data repository
      2. 8.2.2 Trace data repository
      3. 8.2.3 Log and trace performance
      4. 8.2.4 Configuring binary logging
      5. 8.2.5 Using the WebSphere developer tools to configure binary logging and trace
      6. 8.2.6 Reading logs with the BinaryLog command
    3. 8.3 Creating a dump of a Liberty profile server
  12. Chapter 9. Integration with WebSphere eXtreme Scale
    1. 9.1 Using WebSphere eXtreme Scale for caching
      1. 9.1.1 Using eXtreme Scale for session persistence
      2. 9.1.2 Using WebSphere eXtreme Scale for dynamic caching
    2. 9.2 Using Liberty as the runtime for eXtreme Scale Grid
  13. Related publications
    1. IBM Redbooks publications
    2. Other publications
    3. Online resources
    4. Help from IBM
  14. Back cover

Product information

  • Title: WebSphere Application Server V8.5 Administration and Configuration Guide for Liberty Profile
  • Author(s): Sebastian Kapciak, Gabriel Knepper Mendes, Catalin Mierlea, Sergio Pinto, Anoop Ramachandra, Carla Sadtler
  • Release date: August 2013
  • Publisher(s): IBM Redbooks
  • ISBN: 9780738438528