Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 496 trang
THÔNG TIN TÀI LIỆU
Cấu trúc
Cover
Copyright
Credits
About the Author
About the Reviewers
www.PacktPub.com
Table of Contents
Preface
Chapter 1:
WebSphere Application Server 8.0: Product Overview
What is WebSphere Application Server?
Why choose IBM WebSphere Application Server?
Enhancements and capabilities
Support for industry standards
New features
Reference table for supported standards
Architecture and internals
JEE 6 Server architecture model
Java EE containers
Inside WebSphere Application Server
JVM
Web container
EJB container
Virtual hosts
Environment settings
Resources
JNDI
Application file types
WebSphere Application Server terminology
Runtime binaries
Profiles
Cells
Nodes
Servers
WebSphere Application Server products
Product editions
Related Product editions
Supported OS
Summary
Chapter 2:
Installing WebSphere Application Server
Installation planning
Installation scenarios
Profile types
Preparation and prerequisites
Windows installation prerequisites
Linux installation prerequisites
Installing as root on Linux
Filesystem preparation for Linux
Graphical installation
Part 1—Installing the base binaries
Downloading WAS 8
Downloading IBM Installation Manager
Installing IIM
Installing WAS using IBM Installation Manager
Verifying the installed binaries
Installation logs
Agent data location
Part 2—Creating a WAS profile
First steps console
Profile Manager Tools (PMT) logs and files
Logs
Files
Administrative console
Uninstalling WAS
Manually deleting profiles
Uninstalling WAS using IIM
Uninstalling WAS using command line
Silent installation
Installing packages silently using Installation Manager
Recording a response file
Installing in silent mode using a response file
Silent profile creation
Summary
Chapter 3:
Deploying your Applications
Deploying an application
Starting and stopping your applications
Data access applications
Data sources
Preparing for Oracle
Installing Oracle XE
JDBC providers
Creating a JDBC provider
Creating a J2C alias
Creating a data source
Deploying a data access application
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
Overview of Derby
Derby JDBC
Managing Derby
Starting Derby
Stopping Derby
Creating tables in Derby
Adding a Derby JDBC data source
Creating a Derby JDBC provider
Creating a Derby JDBC data source
Creating a new JAAS for Derby data source
Changing an application's data source
Business-level applications
Importing assets
Creating a BLA
Monitored deployments
Uninstalling the DefaultApplication.ear file
Global deployment settings
The MonitoredDeployableApps folder structure
Drag and drop deploy
Controlling monitored deployments
Creating a template properties file
Summary
Chapter 4:
Security
JEE security
Global security
Global security registry types
Turning on global security
Local operating system
Creating a Linux user and group
Creating a Windows user
Completing the security wizard
Standalone LDAP
Sample directory tree
LDAP object classes
Configuring an LDAP registry in WebSphere
Security.xml
Administrative roles
Mapping users and groups to administrative roles
Federated repositories
Adding new users to a realm
Security domains
Security domain attributes
Creating a security domain
Preparing a local operating system registry
Creating a security domain
LTPA overview
LTPA configuration
Steps for importing and exporting LTPA keys
Managing SSL
Certificates and Certificate Authorities
Key stores and trust stores
Managing Key stores and certificates
Chained certificates
Monitoring certificate expiration
Creating certificate requests
Receiving a certificate request
Setting Cell or Node SSL aliases
Summary
Chapter 5:
Administrative Scripting
Automation
The ws_ant tool
Uninstalling the HR application
Deploying an application using ws_ant
Managing an application using ws_ant
The wsadmin tool
Interactive commands
Individual commands
Linux command line example
Windows command-line example
Profile scripts
Command script files
Listing installed applications with Jython
Installing an application using Jython
Querying application status
Configuring the wsadmin tool
Configuring applications using property files
Extracting properties from an existing application
Extracting properties using wsadmin
Deleting an application using a properties file
Installation using a properties file
Updating applications using a properties file
Configuring monitored deployment with properties
Creating a property file for monitored deployment
Managing system configuration using properties files
Command assistance
Summary
Chapter 6:
Configuration
WAS file structure
The WAS filesystem
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
Encoding property files
Logs and trace
JVM log files
Configuring logs and trace
Diagnostics trace
JVM logs
Process logs
IBM service logs
NCSA access and HTTP error logging
NCSA access logging
Error logging
NCSA and HTTP error log considerations
FFDC logs
Viewing JVM logs
Viewing logs in the Admin console
Viewing logs on the filesystem
High Performance Extensible Logging (HPEL)
Configure HPEL logging
Configure HPEL trace
Configure HPEL text log
Common HPEL settings
HPEL summary
HPEL log location
Viewing HPEL logs
View the JVM logs from the Administrative console
View the JVM logs in the machine that they are stored in
JVM settings
Changing JVM settings using the Admin console
Class loaders
Class loading basics
WAS 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 7:
WebSphere Messaging
Java messaging
Java Message Service
JMS features
JMS concepts
JMS API
WebSphere messaging
Default JMS provider
WebSphere Service Integration Bus
Creating a SiBus
Bus members
Adding bus members
Configuring JMS
Creating queue connection factories
Creating queue destinations
Creating topic connection factories and destinations
Installing the JMS demo application
JMS Test Tool application
SiBus message reliability
Preparing a data store
Generating the SQL to create data store tables
Creating a JDBC datasource
Configuring the SiBus to use a data store
WebSphere MQ Messaging
WMQ case study in action
Installing WebSphere MQ
Running the WMQ installer
Creating a queue manager
Creating a WMQ connection factory
Creating a WMQ queue destination
Reconfiguring the JMS application
Disabling WebSphere MQ
Disabling MQ through the Administrative console
Disabling WMQ using wsadmin
Enabling MQ
WebSphere MQ link
Configuring MQ link
Configuring a SiBus for MQ link
Creating a queue destination for testing
Creating a foreign bus and MQ link connection
Viewing MQ link details
Viewing channel definitions
Preparing WMQ for MQ link
Sending a message to WebSphere from WMQ
Summary
Chapter 8:
Monitoring and Tuning
Using Tivoli Performance Viewer
Enabling Tivoli Performance Viewer
Enabling PMI
Key TPV categories
Summary reports
Key performance modules
Starting Tivoli Performance Viewer
TPV console panel
Monitoring example
TPV Logging
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
Analyzing 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 9:
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
Accessing an application via IHS
Updating plugin-cfg.xml
Manually configuring the plugin
Manually creating a web server definition
Configuring SSL for IHS and the WebSphere plugin
Creating a self signed SSL certificate
Adding SSL to the IHS virtual host configuration
Configuring virtual hosts
Updating an existing virtual host definition
Summary
Chapter 10:
Administration Tools
Dumping namespaces
Example name space dump
EAR expander
IBM Support Assistant
Downloading the ISA workbench
Installing the ISA workbench
Launching ISA
Adding add-on tools
Analyzing log files
Loading symptom catalogs
Summary
Chapter 11:
Product Maintenance
Understanding updates
Product update types
Update process overview
Preparing for updates
Creating a backup
Locating updates
Fix Central
Update Installers
Downloading the Update Installer
Installing the Update Installer
Downloading updates
Applying an update using the Update Installer
Silent updates
Logs
Troubleshooting tips
Problem: Silent Install
Resolution: Silent Install
Problem: GUI Install
Resolution: GUI Install
Problem: Installation wizard fails
Resolution: Installation wizard fails
Problem: Installation wizard hangs
Resolution: Installation wizard hangs
Summary
Index
Nội dung
[...]... second application server node Removing the administrative agent IBM HTTP Server Starting IBM HTTP Server The WebSphere plugin Installing the WebSphere plugin Accessing an application via IHS Updating plugin-cfg.xml Manually configuring the plugin Manually creating a web server definition 382 383 393 397 400 402 403 404 406 406 407 4 08 Configuring SSL for IHS and the WebSphere plugin 4 10 Creating a self-signed... 2 78 283 283 285 285 286 287 287 Summary 288 Chapter 7: WebSphere Messaging Java messaging Java Message Service JMS features JMS concepts JMS API WebSphere messaging Default JMS provider WebSphere Service Integration Bus Creating a SiBus Bus members Adding bus members 289 2 90 2 90 292 292 294 295 295 296 2 98 299 299 Configuring JMS 301 Installing the JMS demo application JMS Test Tool application 306 ... an application using ws_ant The wsadmin tool Interactive commands Individual commands Linux command-line example Windows command-line example [ iv ] 175 177 181 183 183 184 185 186 186 189 189 1 90 191 191 192 195 196 196 1 98 1 98 201 205 207 209 2 10 211 Table of Contents Profile scripts Command script files Listing installed applications with Jython Installing an application using Jython Querying application... following: • What is WebSphere Application Server • Why choose WAS • Previous versions • Enhancements and capabilities • WebSphere Application Server architecture • WAS concepts and terminology • WebSphere Application Server products WebSphere Application Server 8. 0: Product Overview What is WebSphere Application Server? IBM WebSphere Application Server, is IBM' s answer to the JEE application server WAS first... Controlling monitored deployments Creating a template properties file 95 100 102 107 1 08 1 08 109 109 1 10 111 111 111 113 113 114 114 114 115 117 117 119 119 1 20 123 124 125 133 133 134 135 136 136 137 Summary 137 Chapter 4: Security 139 JEE security Global security Global security registry types Turning on global security 1 40 1 40 141 142 [ iii ] Table of Contents Local operating system 149 Standalone... agent for administering multiple application servers with a central administrative console The IBM HTTP Server and the WebSphere plug-in are explained along with how to implement SSL between the IBM HTTP Server, the WebSphere plug-in and the WebSphere Application Server Chapter 10, Administration Tools demonstrates some of the command line utilities vital to the WebSphere administrator for debugging and... and IBM has continued to provide new versions of WAS to support available features of each new JEE release The following table shows a simple comparison of current and previous WAS versions and its compliancy to JEE specifications: Version Compliancy JEE EJB Servlet JSP WebSphere 8 6 3.1 3 .0 2.2 WebSphere 7 5 3 .0 2.5 2.1 WebSphere 6.1 1.4 2.1 2.4 2 .0 WebSphere 6 1.4 2.1 2.4 2 .0 WebSphere 5.1 1.3 2 .0. .. WebSphere 6.1 1.4 2.1 2.4 2 .0 WebSphere 6 1.4 2.1 2.4 2 .0 WebSphere 5.1 1.3 2 .0 2.3 1.2 WebSphere 5 1.3 2 .0 2.3 1.2 WebSphere 4 1.2 1.1 2.2 1.1 WebSphere 3.5 1.2 1 .0 2.1 1 .0 [8] Chapter 1 Why choose IBM WebSphere Application Server? JEE is an ever-changing world, and as soon as a new application server is released by IBM, new standards and approaches become available, or they become the preferred method... Installing WAS using IBM Installation Manager Verifying the installed binaries Installation logs Agent data location 35 36 37 38 38 39 39 39 40 40 40 41 41 41 43 48 49 50 Part 2—Creating a WAS profile 50 Profile Manager Tools (PMT) logs and files 60 First steps console 59 Logs 60 Files 61 Administrative console Uninstalling WAS Manually deleting profiles Uninstalling WAS using IIM Uninstalling WAS using... X11 server such as Xming • WebSphere Application Server 8 Trial • WebSphere MQ 7 Trial • IBM Installation Manager • IBM Support Assistant [3] Preface Sample applications and scripts are also required Visit http://www.packtpub.com/files/code/ 389 2_Code.zip to directly download the example code Who this book is for If you are a system administrator or an IT professional who wants to learn about IBM WebSphere . class="bi x0 y0 w0 h0" alt="" IBM WebSphere Application Server 8. 0 Administration Guide Learn to administer a reliable, secure, and scalable environment for running applications with IBM WebSphere. console 388 Registering an application server node 3 90 Creating a second application server node 393 Removing the administrative agent 397 IBM HTTP Server 400 Starting IBM HTTP Server 402 The WebSphere. 1 Chapter 1: WebSphere Application Server 8. 0: Product Overview 7 What is WebSphere Application Server? 8 Why choose IBM WebSphere Application Server? 9 Enhancements and capabilities 10 Support