WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • 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

Book Details

Language : English
Paperback : 344 pages [ 235mm x 191mm ]
Release Date : August 2009
ISBN : 1847197205
ISBN 13 : 9781847197207
Author(s) : Steve Robinson
Topics and Technologies : All Books, Enterprise Products and Platforms, Enterprise, IBM

Table of Contents

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

Steve Robinson

Steve Robinson is an independent WebSphere specialist and consultant. He has been consulting in IT since 1997 and has been involved in client projects around the globe; many of which are for fortune 500 companies. Steve started out originally as a consultant in the IBM Lotus Notes/Domino product suite, where he excelled in middleware integration technologies to ensure homogenous environments could exist in the new heterogeneous world. Having worked for many different industries, Steve has had a plethora of experience in the integration of most technologies across many different systems and cultures. He is also an accomplished programmer in including C, Java, and the Microsoft .NET development tools. Steve has gleaned many insights due to the amount of large enterprise projects he has been involved with and his passion for documentation and process improvement is recognized by all those he works with. Steve is married and lives with his family in England. He spends his time either writing, or researching new products and technologies for client projects along with investigating new ways to automate process where possible. Steve is also known for his contribution to the WebSphere Internet community through one of his many top-ranking WebSphere knowledge portals: http://www.webspheretools.com.

Code Downloads

Download the code and support files for this book.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


- 4 submitted: last submission 04 Jul 2012

Errata type: Typo | Page number: 33 | Errata date: 24 Sep 09

netstat -an should be used in place of Netstat -an in the 2nd point


Errata type: Typo | Page number: 36 | Errata date: 24 Sep 09

ivt tool misspelt as ivf tool.


Errata type: Typo | Page number: 39 | Errata date: 24 Sep 09

vpd.properties file is misspelt as vdp.properties


Errata type: Typo | Page number: 41 | Errata date: 24 Sep 09

In the table, 2nd row, stopServer.sh should be used in place of startServer.sh


Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

WebSphere Application Server 7.0 Administration Guide +    Extending Microsoft Dynamics AX 2012 Cookbook =
50% Off
the second eBook
Price for both: $43.05

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Install your applications manually and learn to automate the process using scripts
  • Secure the WebSphere application server's administrative console with different levels of access for administration
  • Save many hours of manual administrative efforts by automating the configuration of WebSphere
  • Learn how to read, configure, and search your server logs
  • Allow communication between applications by implementing Java messaging
  • Monitor performance and tune your applications and WebSphere for best performance
  • Remotely install applications on application servers using the administrative agent
  • Change application server configurations, stop and restart application servers, and create additional application servers from a single administrative console
  • Administer multiple application servers by using a single administrative console
  • Diagnose the problems using command-line tools when your WebSphere or applications are not running as they should
  • Keep your products up to date by using WebSphere product maintenance features

Chapter 1 – Installation

Chapter 1 covers how to plan and prepare your WebSphere installation and shows how to manually install WebSphere using the graphical installer and how to use a response file for automated silent installation. The fundamentals of application server profiles are described and the administrative console is introduced.

Chapter 2 – Application Deployment

Chapter 2 explains the make up of EAR files, how to manually deploy applications, and how JNDI is used in the configuration of resources. Connecting to Databases is explained via the configuration of JDBC drivers and data sources used in the deployment of a data-aware application.

Chapter 3 – Security

Chapter 3 demonstrates the implementation of global security and how to federate LDAP and file-based registries for managing WebSphere security. Roles are explained where users and groups can be assigned different administrative capabilities.

Chapter 4 – Administrative Scripting

Chapter 4 introduces ws_ant, a utility for using apache Ant build scripts to deploy and configure applications. Advanced administrative scripting is demonstrated by using the wsadmin tool with Jython scripts, covering how WebSphere deployment and configuration can be automated using the extensive WebSphere Jython scripting objects.

Chapter 5 – WebSphere Configuration

Chapter 5 explains the WebSphere installation structure and key XML files, which make up the underlying WebSphere configuration repository. WebSphere logging is covered showing the types of log and log settings that are vital for administration. Application Server JVM settings and Class Loading are explained.

Chapter 6 – WebSphere Messaging

Chapter 6 explains basic JMS messaging concepts and demonstrates both JMS messaging using the default messaging provider and WebSphere MQ along with explanations of message types. Use of Queue Connection Factories, Queues, and Queue Destinations are demonstrated via a sample application.

Chapter 7 – Monitoring and Tuning

Chapter 7 shows how to use Tivoli Performance Monitor, Request Metrics, and JVM tuning settings to help you improve WebSphere performance and monitor the running state of your deployed applications.

Chapter 8 – Administrative Features

Chapter 8 covers how to enable the administrative agent for administering multiple application servers with a central administrative console. IBM HTTP Server and the WebSphere Plugin are explained.

Chapter 9 – Administration Tools
Chapter 9 demonstrates some of the shell-script based utilities vital to the WebSphere administrator for debugging and problem resolution.

Chapter 10 – Product Maintenance

Chapter 10 shows how to maintain your WebSphere application server by keeping it up to date with the latest fix-packs and feature packs.

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.

An administrator's guide to building a powerful, high-performance foundation for running and managing SOA applications and services, offering the highest level of reliability, security, and scalability


This book is an example-driven tutorial that introduces you to the WebSphere application server and then takes you through all the major aspects of server configuration. It covers everything you need to deploy and tune your applications for best performance.

Who this book is for

This book is for administrators with some experience in Java who want to get started with WebSphere. Existing WebSphere users will also find this book useful, especially as there are so many new features in the new version.

No previous knowledge of WebSphere is assumed.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software