Oracle WebLogic Server 11g Administration Handbook

Book description

Master the Configuration and Administration of Oracle WebLogic Server 11g

Oversee a robust, highly available environment for your mission-critical applications using the expert information in this Oracle Press guide. Oracle WebLogic Server 11g Administration Handbook explains the latest management techniques for the de facto application server for Oracle Fusion Middleware 11g> and provides detailed examples and best practices. Find out how to use the Oracle WebLogic Server Administration Console feature, employ command-line and scripting tools, implement failover and migration capabilities, and generate reliable backups. Troubleshooting, tuning, and security procedures are also covered in this comprehensive resource.

  • Install Oracle WebLogic Server 11g or upgrade from a previous version
  • Configure domains, servers, clusters, custom networks, and virtual hosts
  • Work with the Administration Console and Monitoring Dashboard features of Oracle WebLogic Server
  • Use the WebLogic Scripting Tool (WLST) feature of Oracle WebLogic Server to manage and monitor domains
  • Use the Oracle WebLogic Server Work Managers feature to optimize scheduled work
  • Deploy Web applications, Enterprise JavaBeans, and Java EE modules
  • Improve scalability and reliability using Oracle WebLogic Server clusters
  • Monitor servers, tune the Java Virtual Machine, maximize throughput, and optimize performance
  • Authenticate, authorize, and map users within defined security realms

Table of contents

  1. Title Page
  2. Copyright Page
  3. Dedication
  4. Contents at a Glance
  5. Contents
  6. Foreword
  7. Acknowledgments
  8. Introduction
  9. 1 Installing WebLogic Server and Using the Management Tools
    1. Oracle WebLogic Server: An Overview
      1. Oracle WebLogic Server Product Set
      2. Terminology
    2. Important WebLogic Server Concepts
      1. Execute Threads and Queues
      2. Implementing the JMX API and MBeans
      3. Development and Production Mode
      4. Listen Ports and Listen Threads
      5. Choosing a JVM
      6. Using Web Server Plug-Ins
      7. Management APIs
    3. Installing Oracle WebLogic Server 11g
      1. Development-Only Installation
      2. Installation Prerequisites
      3. Installation Modes
      4. Installation Procedures
      5. Checking the Installed Features
      6. Reinstalling WebLogic Server
      7. Exploring the Installation Directories
    4. The WebLogic Server Sample Applications
      1. Starting the Examples Server
      2. Stopping the Server
    5. Upgrading Oracle WebLogic Server
      1. Upgrade Tools
      2. Upgrade Procedures
      3. Performing a Rolling Upgrade
    6. Using the Administration Console
      1. Logging into the Administration Console
      2. Navigating the Administration Console
      3. Using the Change Center
      4. Working with the Administration Console
    7. Node Manager
    8. The WebLogic Scripting Tool (WLST)
      1. Offline and Online WLST
      2. Invoking WLST
      3. Using WLST in Script Mode
      4. Connecting to a WebLogic Server Instance
      5. Disconnecting from the Server
      6. Using the Help Command
      7. Key WLST Command Groups
    9. Summary
  10. 2 Administering WebLogic Server Instances
    1. Managing the Servers
      1. Administration and Managed Servers
      2. Admin Server Failures and the Managed Servers
      3. Selecting the Start Mode for a Server
      4. Configuring Class Caching
      5. Setting the Environment
      6. Configuring Server Instances with the Console
      7. Providing user Credentials
    2. Using the Node Manager to Manage Servers
      1. Node Manager Capabilities
      2. Starting the Node Manager
      3. Stopping the Node Manager
      4. Monitoring the Node Manager Logs
      5. Running the Node Manager as a Windows Service
      6. Configuring the Node Manager
      7. The Node Manager Domains File
      8. Key WLST Node Manager Commands
    3. Life Cycle of WebLogic Server Instances
      1. The STARTING, STANDBY, and RUNNING states
      2. The SHUTDOWN, SUSPENDING, and FAILED States
      3. Self Health Monitoring
      4. How the Server Deals with the FAILED State
      5. Shutdown Command Options
    4. Starting and Stopping WebLogic Server
      1. Server Messages
      2. Server Logs
      3. Using a Startup Script to Start and Stop Servers
      4. Using the java weblogic.Server Command
      5. Configuring Server Attributes with weblogic.Server
      6. Using the Ant Tool to Manage Servers
      7. Managing Servers from the Administration Console
      8. Using WLST Without the Node Manager
      9. Using WLST with the Node Manager
    5. Setting up a WebLogic Server Instance as a Windows Service
      1. Setting up the Service
      2. Setting up the Managed Server as a Windows Service
      3. Starting and Stopping the Service
      4. Changing Startup Credentials for a Service
      5. Removing a Service
    6. Dealing with WebLogic Server Failures
      1. Starting a Failed Admin Server
      2. Managed Server Independence (MSI) Mode
      3. Deleting Servers
    7. Summary
  11. 3 Creating and Configuring WebLogic Server Domains
    1. Structure of a WebLogic Server Domain
      1. WebLogic Server Instances
      2. WebLogic Server Clusters
      3. Domain Resources
      4. Domain Restrictions
      5. Domain Directories
    2. Understanding Domain Configuration Changes
      1. The Domain Configuration File: config.xml
      2. Modifying Domain Configuration
      3. Using the Lock & edit Mechanism in the Administration Console
      4. Tracking Changes with Configuration Auditing
      5. Making a Domain Read-Only
      6. Controlling the Logging of Configuration Changes
    3. Creating Domain Templates
      1. Templates Offered by WebLogic Server
      2. Creating a Custom Domain Template
      3. Creating a Custom extension Template
      4. Creating Templates with the pack and unpack Commands
    4. Creating a WebLogic Server Domain
      1. Using the weblogic.Server Command
      2. Using the Configuration Wizard to Create a Domain
      3. Extending Domains
      4. Creating a Domain with WLST Commands
      5. Selecting the Startup Mode for the WebLogic Domain
    5. Advanced Domain Configuration Options
      1. Configuring the Admin Server
      2. Configuring Managed Servers
      3. Configuring Clusters
      4. Assigning Managed Servers to Clusters
      5. Creating HTTP proxy Applications
      6. Configuring Machines
      7. Targeting Deployments to Clusters or Servers
      8. Configuring a Persistent Store
    6. Configuring Server environments
      1. Configuring the Network
      2. Configuring WebLogic Server as a Web Server
      3. Setting a Default Web Application
      4. Preventing POST Denial of Service Attacks
      5. Configuring HTTP Logging
      6. Proxying Requests to Other Web Servers
      7. Configuring the WebLogic Server proxy plug-Ins
      8. Configuring Virtual Hosts
    7. Protecting Domain Data
      1. Backing up a Domain’s config.xml File
      2. Backing up the Security Data
    8. Summary
  12. 4 Configuring Naming, Connections, Transactions, and Messaging
    1. JNDI and Naming and Directory Services
      1. JNDI Architecture
      2. Viewing the WebLogic Server JNDI Tree
      3. Using JNDI to Connect a Java Client to a Server
      4. Clustered JNDI
    2. Configuring Transactions
      1. Transactions and the ACID Test
      2. Types of WebLogic Transactions
      3. Transactions and the Two-Phase Commit
      4. Configuring WebLogic JTA
      5. Monitoring Transaction Services
      6. Transaction Logs and Transaction Recovery
    3. Configuring Database Connections
      1. JDBC Architecture
      2. Enabling XA in the Database
      3. Data Sources
      4. Understanding WebLogic JDBC Configuration
      5. Using a JDBC System Module
      6. Creating a Generic Data Source
      7. Using a GridLink Data Source
      8. Configuring a Multi Data Source
      9. Configuring a JDBC Data Source
      10. Managing Data Sources
      11. Starting and Stopping a Data Source
    4. Configuring Java Messaging Services (JMS)
      1. Message Communication Modes
      2. Structure of a JMS Message
      3. Components of a JMS Messaging Application
      4. WebLogic JMS Architecture
      5. Configuring WebLogic Server JMS
      6. Monitoring JMS Servers
      7. Creating JMS System Modules
      8. System Modules and Subdeployments
      9. Migration of JMS-Related Services
      10. Store-and-Forward (SAF) Service for Reliable Messaging
      11. WebLogic Messaging Bridge
      12. Foreign JMS Servers
    5. Configuring WebLogic JavaMail
      1. Configuring Mail Sessions
      2. Configuring a Mail Session
    6. Summary
  13. 5 Configuring the WebLogic Server Environment
    1. Optimizing Application Performance
      1. WebLogic Server Thread Pools
      2. Work Managers
      3. Configuring Work Managers
      4. Work Manager Components
      5. Defining a Work Manager Through the Console
    2. Managing Server Work Overload
      1. Throttling the Thread Pool
      2. Handling Overload or Failure Conditions
      3. Limiting Active HTTP Sessions
      4. Dealing with Stuck Threads
      5. WebLogic Server Self Health Monitoring
    3. Optimal Network Configuration
      1. Benefits of Using Network Channels
      2. Creating Custom Network Channels
      3. Tunneling
      4. Configuring Network Channels
      5. Designing Network Channels
    4. The Java Connector Architecture (JCA)
      1. Managing Resource Adapters Through the Console
      2. Monitoring Resource Adapter Connections
      3. The WebLogic Tuxedo Connector
    5. Summary
  14. 6 Monitoring and Troubleshooting WebLogic Server
    1. The Weblogic Diagnostic Framework
      1. Using WLDF with the JRockit Flight Recorder
      2. Using the Monitoring Dashboard
      3. Configuring Diagnostic Image Capture
      4. Configuring a Diagnostic Archive
      5. Using a Diagnostic System Module
      6. Configuring Metric Collection
      7. Configuring WLDF Instrumentation
      8. Configuring Watches and Notifications
      9. Accessing the WLDF Diagnostic Data
    2. Monitoring WebLogic Server Instances
      1. Monitoring with the Administration Console
      2. Monitoring with JMX
      3. Using WLST Monitoring Scripts
      4. Monitoring with SNMP
    3. Understanding WebLogic Logging Services
      1. Understanding the Log Files
      2. Anatomy of a Log Message
      3. Viewing Logs
      4. Configuring a Domain Log Filter
      5. Subsystem Logs
      6. Understanding Server Log File Maintenance
      7. Setting Debugging Flags Using the Console
      8. Integrating Application and Server Logging
      9. Controlling Server Log Messages to Log Destinations
    4. WebLogic Server Troubleshooting
      1. Understanding Java Thread Dumps
      2. Collecting a JRockit Thread Dump
      3. JVM Crashes
      4. Generating Logs for Troubleshooting
      5. Automatically Logging Low Memory Conditions
      6. Out of Memory errors
    5. Summary
  15. 7 Working with WebLogic Server Clusters
    1. Introduction to WebLogic Server Clusters
      1. Relationship Between Clusters and a Domain
      2. Deployment in a Cluster
      3. Cluster Architectures
      4. How Clusters Communicate
      5. Naming Cluster Instances
    2. Configuring a Cluster
      1. Using the Administration Console
    3. Managing a WebLogic Server Cluster
      1. Starting and Stopping the Cluster
      2. Starting and Stopping with Scripts
      3. Monitoring a Cluster
    4. Clustering WebLogic Server Services
      1. JNDI Naming Service
      2. JDBC Clustering
      3. JMS and Clusters
    5. WebLogic Server Load Balancing
      1. Load-Balancing Servlets and JSPs
      2. Load Balancing for EJBs and RMI Objects
    6. Application Failover and Replication
      1. Detecting Application Failures
      2. Handling Servlet and JSP Failures
      3. Failover for EJBs and RMIs
    7. Handling Server and Service Failures
      1. Migratable Servers
      2. Manual and Automatic Service Migration
      3. Migratable Targets
      4. Leasing and Automatic Migration
      5. Migrating JMS-Related Services
      6. Configuring Migration of JTA Services
      7. Whole Server Migration
      8. Using WLST to Migrate Services
    8. Summary
  16. 8 Understanding WebLogic Server Application Deployment
    1. Introduction to WebLogic Server Deployment
      1. Types of Applications You Can Deploy
      2. Deployment Targets
      3. Deployment Tools
      4. Deployment Descriptors, Annotations, and Deployment Plans
      5. Configuring Deployments with Deployment Plans
    2. Preparing Applications for Deployment
      1. Deploying an Archive File
      2. Exploded Archive Directory Deployment
      3. Naming the Deployment and the Applications
      4. Storing the Deployment Files
      5. How WebLogic Server Accesses Source Files
    3. Deploying Applications
      1. Deployment Order
      2. Using the Administration Console for Deployment
      3. Using WLST to Deploy Applications
      4. Deploying with weblogic.Deployer
      5. Deploying with the wldeploy Ant Task
    4. Reducing Deployment Time During Development
      1. Using the Autodeployment Feature During Development
      2. Using FastSwap to Shorten the Development Cycle
    5. Monitoring and Updating Applications
      1. Monitoring Applications
      2. Using Administration Mode to Sanity Test Deployments
    6. Production Redeployment Strategies
      1. Performing a Production Redeployment
    7. Summary
  17. 9 Managing WebLogic Server Security
    1. Java EE Security and OPSS
      1. Java EE Security and WebLogic Server
      2. The Java Security Manager
      3. Oracle Platform Security Services
    2. WebLogic Server Security Basics
      1. WebLogic Server Resources
      2. Security Realm
      3. Security Providers
    3. Managing Security Realms
      1. Creating and Configuring a New Security Realm
      2. Configuring the Security Providers
      3. Configuring the Auditing Provider
      4. Configuring Entitlements Caching
    4. Users, Groups, Roles, and Security Policies
      1. Users
      2. Groups
      3. Security Roles
      4. Configuring Security Policies
      5. Static and Dynamic Security Conditions
    5. Security Models for Web Applications and EJBs
      1. The Deployment Descriptor Only Model
      2. The Custom Roles Model
      3. The Custom Roles and Policies Model
      4. The Advanced Model
      5. Security-Related Deployment Descriptors
    6. Configuring the Embedded LDAP Server
    7. Configuring a RDBMS as the Security Store
      1. Setting up the RDBMS Security Store
      2. Creating Tables in the RDBMS Store
      3. Setting up JMS Notifications for Security Changes
    8. Configuring Domain Security
      1. Configuring Domain Security in the Administration Console
      2. Enabling Trust Between Domains
      3. Using Connection Filters
    9. Configuring SSL
      1. Configuring Identity and Trust
      2. Setting SSL Configuration Attributes
    10. Oracle WebLogic Security Best Practices
      1. Use Multiple Administrative users
      2. Control Access to WebLogic Resources
      3. Avoid Running the Server under a Privileged Account
      4. Enable Security Auditing
      5. Use Connection Filters
      6. Prevent Denial of Service Attacks
      7. Implement Security for Applications
    11. Summary
  18. 10 WebLogic Server Performance Tuning
    1. Tuning WebLogic Server
      1. Thread Management
      2. Tuning the Network I/O
    2. Tuning the JVM
      1. Understanding Memory Management
      2. Understanding Locking
    3. Tuning Messaging Applications
      1. Tuning the Persistent Store
      2. Tuning WebLogic JMS
      3. Tuning WebLogic JMS Store-and-Forward
    4. Tuning the Applications and Managing Sessions
      1. Tuning Web Applications
      2. Using Oracle Coherence
      3. Tuning EJB Performance
      4. SQL Tuning Best Practices
      5. Managing Sessions
      6. JPA and TopLink
    5. Tuning Data Sources and Transactions
      1. Tuning Data Sources
      2. Tuning Transactions
    6. Summary
  19. Index

Product information

  • Title: Oracle WebLogic Server 11g Administration Handbook
  • Author(s): Sam R. Alapati
  • Release date: September 2011
  • Publisher(s): Oracle Press
  • ISBN: 9780071774260