You are previewing WebSphere Application Server 7.0 Administration Guide.
O'Reilly logo
WebSphere Application Server 7.0 Administration Guide

Book Description

Manage and administer your WebSphere application server to create a reliable, secure, and scalable environment for running your applications

  • Create a reliable, secure, and flexible environment to build and run WebSphere applications efficiently

  • Learn WebSphere security, performance tuning, and debugging concepts with a variety of real-life examples

  • Thoroughly covers Java messaging, administrative agent, and product maintenance features

  • No previous knowledge of WebSphere is expected

In Detail

As an administrator you need a secure, scalable, resilient application infrastructure to support the developers building and managing J2EE applications and Service Oriented Architecture services. WebSphere application server, a product from IBM, is optimized to ease administration and improve runtime performance. It helps you run applications and services in a reliable, secure, and high-performance environment to ensure business opportunities are not lost due to application downtime.

It's easy to get started and tame this powerful application server when you've got this book to hand. This administration guide will help you provide an innovative, performance-based foundation to build, run, and manage J2EE applications and SOA services, offering the highest level of reliability, security, and scalability.

This book will take you through the different methods for installing WebSphere application server and demonstrate how to configure and prepare WebSphere resources for your application deployments. During configuration you will be shown how to administer your WebSphere server standalone or using the new administrative agent, which provides the ability to administer multiple installations of WebSphere application server using one single administration console. WebSphere security is covered in detail showing the various methods of implanting federated user and group repositories. The facets of data-aware and message-aware applications are explained and demonstrated giving the reader real-world examples of manual and automated deployments. Key administration features and tools are introduced, which will help a WebSphere administrator manage and tune their WebSphere implementation and application for success.

Table of Contents

  1. WebSphere Application Server 7.0 Administration Guide
    1. WebSphere Application Server 7.0 Administration Guide
    2. Credits
    3. About the Author
    4. Acknowledgement
    5. About the Reviewers
    6. Preface
      1. What this book covers
      2. What you need for this book
      3. Conventions
      4. Reader feedback
      5. Customer support
        1. Downloading the example code for the book
        2. Errata
        3. Piracy
        4. Questions
    7. 1. Installing WebSphere Application Server
      1. Installation planning
        1. Installation scenarios
          1. Profile types
      2. Preparation and prerequisites
      3. Graphical installation
        1. Installing the base binaries
          1. Downloading the WAS for Linux trial
            1. Installing PuTTY
            2. Installing WinSCP
          2. Uploading the trial install to your Linux server
          3. Installing as root
          4. Running the launchpad
          5. Installation wizard welcome screen
          6. Software license agreement
          7. System prerequisites check
          8. Optional features
          9. Installation directory
          10. WebSphere Application Server environments
        2. Profile creation
        3. Installation registry files
        4. Installation logs
        5. Profile manager logs and files
          1. Logs
          2. Files
      4. Admin console
      5. Silent installation
        1. Creating a response file
        2. Editing a response file
        3. Running the installer silently
        4. Examining installation logs
      6. Summary
    8. 2. Deploying your Applications
      1. Inside the Application Server
        1. JVM
        2. Web container
        3. Virtual hosts
        4. Environment settings
        5. Resources
        6. JNDI
      2. Application file types
      3. Deploying an application
      4. Starting and stopping your applications
      5. Data access applications
        1. Data sources
        2. Preparing our sample database
        3. JDBC providers
          1. Creating a JDBC provider
        4. Creating a J2C alias
        5. Creating a data source
      6. Deploying a data access application
        1. Selecting installation options
        2. Mapping modules to servers
        3. Providing JSP reloading options for web modules
        4. Mapping shared libraries
        5. Mapping resource references to resources
        6. Mapping virtual hosts for web modules
        7. Mapping context roots for web modules
        8. Reviewing the deployment steps
      7. Using the application
      8. Summary
    9. 3. Security
      1. J2EE security
      2. Global security
        1. Global security registry types
        2. Turning on global security
        3. Standalone custom registry
        4. Local operating system
          1. Creating a Linux user
        5. Standalone LDAP
          1. Download OpenLDAP
          2. Installing OpenLDAP
          3. Configuring OpenLDAP
          4. Adding a user to LDAP
          5. Configuring an LDAP registry in WebSphere
        6. Administrative roles
        7. Mapping users and groups to administrative roles
      3. Summary
    10. 4. Administrative Scripting
      1. Automation
      2. The ws_ant tool
        1. Deploying an application using ws_ant
      3. The wsadmin tool
        1. Interactive commands
        2. Individual commands
        3. Profile scripts
        4. Command script files
          1. Listing installed applications with Jython
          2. Installing an application using Jython
          3. Querying application status
      4. Summary
    11. 5. WebSphere Configuration
      1. File structure
        1. The WebSphere file system
          1. The product binaries file structure
          2. The profile file structure
      2. XML configuration files
        1. Cell level XML files
        2. Node level XML files
        3. Server level XML files
      3. Important properties files
        1. The soap.client.props file
        2. The sas.client.props file
      4. Logs
        1. JVM logs
        2. Configuring logs
          1. Changing log file locations
          2. Changing log styles
        3. FFDC logs
        4. Viewing JVM logs
          1. Viewing logs in the admin console
          2. Viewing logs on the file system
          3. Linux tail command
          4. Linux grep command
      5. JVM settings
        1. Changing JVM settings using the admin console
      6. Class loaders
        1. Class loading basics
        2. WebSphere class loaders
          1. Application server class loader
          2. Configuring server class loaders
            1. Classloader policy
            2. Class loading mode
          3. Application class loader
          4. Configuring application class loaders
            1. Class loader order
            2. WAR class loader policy
          5. Web module class loader
          6. Configuring module class loading
            1. Class loader order
          7. Class loading isolation
      7. Summary
    12. 6. WebSphere Messaging
      1. Java messaging
        1. Java Message Service
          1. JMS features
          2. JMS concepts
            1. Point-to-point or queuing model
            2. Publish and subscribe model
      2. JMS API
      3. WebSphere messaging
        1. Default JMS provider
        2. WebSphere SIB
          1. Creating a SIB
        3. Configuring JMS
          1. Creating queue connection factories
          2. Creating queue destinations
        4. Installing the JMS demo application
        5. JMS Test Tool application
      4. WebSphere MQ overview
        1. Overview of WebSphere MQ example
        2. Installing WebSphere MQ
          1. Running the WMQ installer
          2. Creating a queue manager
        3. Creating a WMQ connection factory
        4. Creating a WMQ queue destination
        5. Reconfiguring the JMS demo application
      5. Summary
    13. 7. Monitoring and Tuning
      1. Tivoli Performance Viewer
        1. Enabling Tivoli Performance Viewer
          1. Key TPV categories
          2. Summary Reports
          3. Key performance modules
        2. Starting Tivoli Performance Viewer
      2. PMI for external monitoring
      3. Request metrics
        1. Enabling request metrics
          1. Components to be instrumented
          2. Trace level
          3. Request metrics destination
          4. Request metrics in SystemOut.log
        2. Retrieving performance data with PerfServlet
      4. Dynamic caching
      5. JVM tuning
        1. JVM core and heap dumps
          1. Requesting a Java core dump using Jython
          2. Requesting a heap dump using Jython
          3. Requesting a Java core dump using the kill command
          4. JVM-triggered heap dump
          5. Analysing a Java core (thread) dump
          6. IBM Thread and Monitor Dump Analyzer for Java
          7. Installing the JCA tool
          8. Generate a Java core dump to view the thread lock
        2. Other analysis tools
        3. Setting the initial and maximum heap sizes
          1. Tuning your heap size
      6. Summary
    14. 8. Administrative Features
      1. The administrative agent
        1. Creating an administration profile
          1. Profile Management Tool
          2. Starting the administrative agent
          3. Administrative agent console
          4. Registering an application server node
        2. Creating a second application server node
      2. Removing the administrative agent
      3. IBM HTTP Server
        1. Starting IBM HTTP Server
      4. The WebSphere plugin
        1. Installing the WebSphere plugin
        2. Manual configuration of the plugin
          1. Generate plugin
      5. Summary
    15. 9. Administration Tools
      1. Dumping namespaces
        1. Example name space dump
      2. EAR expander
      3. Oveview of the WebSphere Application Server toolkit
        1. Installing the WebSphere Application Server toolkit
        2. Running the Application Server toolkit
        3. Log analysis using the ASTK
          1. Creating a new project
          2. Importing log files
          3. Applying filters
          4. Selecting columns
          5. Loading symptom databases
        4. Inspecting J2EE applications
      4. Summary
    16. 10. Product Maintenance
      1. Understanding updates
      2. Update process overview
      3. Product update types
      4. Preparing for updates
      5. Locating updates
        1. Fix Central
      6. Update installers
      7. Creating a backup
      8. Installing a new Update Installer
        1. Downloading the Update Installer
        2. Installing the graphical Update Installer
        3. Applying an update using the Update Installer
      9. Silent updates
      10. Logs
      11. Troubleshooting tips
      12. Summary