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