Oracle Application Server 10g R3: Administration

Similar documents
Oracle SOA Suite 10g R3: Administration. Student Guide

Oracle Application Server 10g R2: Administration II

Oracle WebLogic Server 11g: Overview for WLS Administrators

OracleAS 10g R3: Build J2EE Applications II

E Oracle 10g Java Bootcamp II v1

Oracle Application Express: Administration Student Guide

Oracle Adaptive Access Manager: Administration Student Guide

Oracle 11g: XML Fundamentals

Oracle VM Server for x86: Administration

Oracle Fusion Middleware

MySQL Performance Tuning

Oracle VM Administration: Oracle VM Server for x86 Student Guide

Oracle Communication and Mobility Server: Introduction Student Guide

Oracle Database 10g: Implementing Database Vault

Oracle Identity Manager 11g: Essentials

Oracle WebLogic Server 12c: Administration I

Oracle Service Bus 10g R3: System Administration

Sun Java System Application Server 8.1: Administration & Deployment

Oracle Hyperion Data Relationship Management Administration Activity Guide

Oracle Exalogic Elastic Cloud 2.x: System Administration

Oracle TimesTen 6.0: Core Concepts and Administration Volume I - Student Guide

Oracle Data Integrator 11g: Integration and Administration Student Guide - Volume I

Oracle Forms Developer 10g: Move to the Web

Oracle Service Bus 10g R3: Design & Integrate Services for SOA

Oracle Database 11g: Oracle Secure Backup

Oracle GoldenGate 11g: Advanced Configuration for Oracle Student Guide

Oracle Warehouse Builder 10g: Administration

UNIX and Linux Essentials Student Guide

OracleAS 10g R3: Build Web Services

E Oracle 10g Java Bootcamp I v1

Oracle 10g: Java Programming

Oracle WebLogic Server 12c: JMS Administration Student Guide

OracleAS 10g R3: Java Programming

Oracle Fusion Middleware

Oracle Database 10g: Data Guard Administration

Oracle BI Publisher 10g R3: Fundamentals

Oracle Database 10g: New Features for Release 2 Overview Seminar

Oracle WebCenter Sites 11g for Developers

MySQL Cluster Student Guide

Oracle Warehouse Builder 10g: New Features

Oracle WebCenter Content 11g: Content Server Customization Student Guide - Volume I

Oracle Data Integrator: Administration and Development Volume I Student Guide

Sun Virtualization: Solaris 10 Containers Administration

Oracle Data Integrator 11g: Advanced Integration and Development Student Guide

Oracle TimesTen 7.0: IMDB, Cache Connect, and Replication Volume I Student Guide

Oracle Database 12c: Install and Upgrade Workshop

Oracle Application Server

Oracle BI Publisher 11g R1: Fundamentals

Oracle Database 10g: Using OLAP

Oracle Database 11g: Backup and Recovery Workshop

Siebel 8.1.x Fundamentals Student Guide

Oracle Spatial: Advanced Student Guide

Oracle Application Testing Suite: Introduction Student Guide

Oracle Database 10g: SQL Fundamentals I

Oracle Content Server 11g: Administration

Oracle WebLogic Server 11g: Diagnostics and Troubleshooting

Siebel Application Deployment Manager Guide. Version 8.0, Rev. A April 2007

Oracle Data Modeling and Relational Database Design Volume I Student Guide

Oracle TimesTen 6.0: Core Concepts and Administration Volume I Student Guide

Oracle Database 10g: PL/SQL Fundamentals

Oracle BPM 10g R3 Programming 1 Essentials

Java Programming Language

Oracle Application Server 10g

Oracle Information Rights Management Oracle IRM Windows Authentication Extension Guide 10gR3 August 2008

Oracle Application Server 10g (9.0.4): Manually Managed Cluster. An Oracle White Paper June 2004

Oracle Warehouse Builder 10g: Implementation Part 2

Oracle Fusion Middleware

Oracle Fusion Middleware

Oracle WebCenter Portal. Starting Points for Oracle WebCenter Portal Installation

Business Component Development with EJB Technology, Java EE 5

Oracle GoldenGate 11g: Fundamentals for SQL Server Student Guide

Oracle WebLogic Server 11g: Administration Essentials

MySQL Performance Tuning

OracleAS Portal 10g: Build Portlets with Java

Oracle Database 11g: RAC Administration

Oracle Database 10g: Implement and Administer a Data Warehouse

Oracle Fusion Middleware

Oracle WebLogic Server 12c: Administration I

Oracle Fusion Middleware

Using Java - for PL/SQL and Database Developers Student Guide

Oracle Fusion Middleware

Oracle Database 11g: Use XML DB

Oracle Enterprise Manager

Oracle Database 10g: PL/SQL Fundamentals

Java EE Patterns. Student Guide - Volume 1. SL-500 Rev C.0.1. D61856GC10 Edition 1.0 D62465

Oracle Fusion Middleware

Oracle GoldenGate 11g Fundamentals for Oracle

Copyright 1998, 2009, Oracle and/or its affiliates. All rights reserved.

Oracle Fusion Middleware

Oracle Fusion Middleware

Oracle Identity Management

Oracle WebCenter Portal

Oracle Agile Engineering Data Management

Oracle BI 11g R1: Build Repositories

Oracle Fusion Middleware

Oracle Agile Engineering Data Management

Oracle Application Server

Oracle Cloud. Oracle Cloud Adapters Postinstallation Configuration Guide E

Oracle Fusion Middleware Planning an Installation of Oracle Fusion Middleware. 12c ( )

Oracle Fusion Middleware

Transcription:

Oracle Application Server 10g R3: Administration Volume I Student Guide D44381GC10 Production 1.0 July 2006 D46707

Author Saurabh Banerjee Technical Contributors and Reviewers Celia Antonio Mary Bryksa Steve Button Bijoy Choudhury Viresh Garg Philip Garm Shalendra Goel Ric Goell Helen Grembowicz Nicole Haba Kiran Herekar Pavana Jain Viral Kamdar Paul Kasewurm John Lang Peter Laseau Mike Lehmann Qiang Lin Soren Madsen Ramaa Mani Debu Panda Nagavalli Pataballa Manish Pawar William (Cas) Prewitt Gayathri Rajagopal Shankar Raman Mary Beth Roeser Copyright 2006, Oracle. All rights reserved. Disclaimer This document contains proprietary information and is protected by copyright and other intellectual property laws. You may copy and print this document solely for your own use in an Oracle training course. The document may not be modified or altered in any way. Except where your use constitutes "fair use" under copyright law, you may not use, share, download, upload, copy, print, display, perform, reproduce, publish, license, post, transmit, or distribute this document in whole or in part without the express authorization of Oracle. The information contained in this document is subject to change without notice. If you find any problems in the document, please report them in writing to: Oracle University, 500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not warranted to be error-free. Restricted Rights Notice If this documentation is delivered to the United States Government or anyone using the documentation on behalf of the United States Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS The U.S. Government s rights to use, modify, reproduce, release, perform, display, or disclose these training materials are restricted by the terms of the applicable Oracle license agreement and/or the applicable U.S. Government contract. Trademark Notice Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Editor Nita Pavitran Graphic Designer Rajiv Chandrabhanu Publisher Jobi Varghese Mohamed Sharfudeen Mohit Singh Glenn Stokol Jayanthan Thomas Frances Zhao

Contents Preface 1 Introduction Objectives 1-2 Course Lessons 1-4 Lesson 1: Introduction 1-6 Lesson 2: Oracle Application Server 10g Release 3 (10.1.3): Overview 1-7 Lesson 3: Installing Oracle Application Server 10g Release 3 (10.1.3) 1-8 Lesson 4: Administration of Tools and Components 1-9 Lesson 5: Managing Web Sites 1-10 Lesson 6: Deploying Java 2 Platform, Enterprise Edition (J2EE) Applications and Web Services 1-11 Lesson 7: Managing Secure Sockets Layer in Oracle Application Server 1-12 Lesson 8: Backing Up and Restoring Oracle Application Server 1-13 Lesson 9: Managing and Configuring OracleAS Cluster 1-14 Lesson 10: Configuring Oracle Application Server 10g Release 3 (10.1.3) 1-15 Lesson 11: Upgrading to Oracle Application Server 10g Release 3 (10.1.3) from Oracle Application Server 10g R2 (10.1.2) Installations 1-16 Course Schedule 1-17 Summary 1-18 2 Oracle Application Server 10g Release 3 (10.1.3): Overview Objectives 2-2 Quiz on Oracle Application Server 10g R2 (10.1.2.0.2): A Review 2-3 Challenges of Creating and Maintaining E-Business Applications 2-6 Oracle Application Server 10g Release 3 (10.1.3): An Overview 2-7 Oracle Application Server 10g Release 3 (10.1.3): Components and Solutions 2-9 Oracle Application Server 10g Release 3 (10.1.3): Installation Types 2-10 Oracle Application Server 10g Release 3 (10.1.3): Installation Components 2-11 Oracle Application Server Management 2-13 Oracle Application Server 10g Release 3 (10.1.3): Terminology 2-14 Key Features in Oracle Application Server 10g Release 3 (10.1.3) 2-16 Support for J2EE 1.4 Standards in Oracle Application Server 10g Release 3 (10.1.3) 2-17 EJB 3.0: An Overview 2-18 iii

What Is TopLink? 2-19 What Is a Data Source? 2-20 What Is a Transaction? 2-21 Support for Security: An Overview 2-23 Enterprise Messaging Service: An Overview 2-24 Business Rules 2-25 What Is a Web Service? 2-26 Key Features of Application Server Control 2-27 Summary 2-28 3 Installing Oracle Application Server 10g Release 3 (10.1.3) Objectives 3-2 Oracle Application Server 10g Release 3 (10.1.3) Installation: Overview 3-3 Minimum Requirements for Installing Oracle Application Server 10g Release 3 (10.1.3) 3-4 Setting Up the Environment 3-6 Oracle Application Server 10g Release 3 (10.1.3): Installation Steps 3-8 Starting the Installation 3-9 Oracle Universal Installer 3-10 Oracle Application Server Installation Screen 3-11 First Installation of an Oracle Product 3-12 End of Installation Window 3-13 Postinstallation Tasks 3-14 Accessing the Oracle Application Server 10g Release 3 (10.1.3) Instance 3-15 Application Server Control 3-16 Oracle Application Server 10g Release 3 (10.1.3): Installation Types 3-17 Summary 3-18 Practice 3 Overview: Install Oracle Application Server 10g Release 3 (10.1.3) 3-19 4 Administration of Tools and Components Objectives 4-2 Oracle Process Manager and Notification Server (OPMN) 4-3 opmnctl Command 4-4 Application Server Control: Architecture 4-5 Application Server Control: An Overview 4-6 Management Console 4-7 New Features of Application Server Control in Oracle Application Server 10g Release 3 (10.1.3) 4-8 Configuring Administrative Roles in Application Server Control 4-10 Configuring the ascontrol_admin Role in Application Server Control 4-11 Managing Oracle Application Server 4-12 iv

Starting and Stopping a Mid-Tier Instance 4-14 Oracle Application Server Instance Page 4-15 Starting, Stopping, and Restarting Oracle Application Server Instances 4-16 Using MBeans 4-17 Managing Applications with Java Management Extensions (JMX) 4-18 Viewing the System MBean Browser 4-19 Viewing the MBean for an Application 4-20 Adding a New User 4-21 Viewing Ports 4-22 Reconfiguring Ports 4-23 Summary 4-25 Practice 4 Overview: Administration of Tools and Components 4-26 5 Managing Web Sites Objectives 5-2 What Is a Web Site? 5-3 Sample default-web-site.xml File 5-4 Creating a New Web Site in OC4J 5-5 Configuring Connection Data to a Web Site 5-6 Configuring Web Site Data in OPMN-Managed OC4J Instances 5-7 Creating a Configuration File 5-9 Referencing the Web Site Configuration File 5-10 Defining the Web Site Connection Data 5-11 Configuring a Secure Web Site in OC4J 5-13 Starting and Stopping Web Sites 5-15 Configuring Access Logging to the Web Site 5-16 Viewing Access Log Text Files 5-17 Summary 5-18 Practice 5 Overview: Managing Web Sites 5-19 6 Deploying Java 2 Platform, Enterprise Edition (J2EE) Applications and Web Services Objectives 6-2 J2EE Platform 6-3 Databases and J2EE 6-4 Deploying J2EE Applications 6-5 Identifying Different Options for Deployment 6-7 Deploying with the Oracle Application Server Control Console 6-9 Deploying with JSR-88 Ant Tasks 6-10 Deploying with admin_client.jar 6-11 Deploying with Oracle JDeveloper 6-12 v

What Is a Data Source? 6-13 Data Sources and the Deployer Role 6-14 Specifying Data Sources 6-15 Types of Data Sources 6-16 Planning the Deployment Process 6-17 What Are Deployment Plans? 6-19 Working with JSR-88 Deployment Plans 6-20 Packaging Business-Tier Components 6-21 Deploying a J2EE Application by Using Application Server Control 6-22 Deploying Large-Scale Applications 6-24 Incremental Deployment of EJB Modules 6-25 What Is a Resource Adapter? 6-26 Deploying a Resource Adapter 6-27 Deploying a Web Service 6-28 What Is Automatic Deployment? 6-29 What Is Group Deployment? 6-30 Performing Group Deployment 6-31 Managing Shared Application Libraries 6-32 Summary 6-33 Practice 6 Overview: Deploying Java 2 Platform, Enterprise Edition (J2EE) Applications and Web Services 6-34 7 Managing Secure Sockets Layer in Oracle Application Server Objectives 7-2 What Is SSL? 7-3 How SSL Works 7-5 Key Cryptography 7-7 Public Key Infrastructure (PKI) 7-9 User Certificates 7-11 Obtaining a Server Certificate 7-12 Storing Secure Credentials 7-13 What Is Oracle Wallet Manager? 7-14 Oracle Application Server PKI Components 7-15 Tasks Using OWM 7-17 Creating a New Wallet 7-18 Managing User Certificates 7-19 Adding a Certificate Request 7-20 Exporting a User Certificate Request 7-21 Importing the User Certificate to the Wallet 7-22 Managing Trusted Certificates 7-23 Importing and Exporting a Trusted Certificate 7-24 vi

Exporting a Wallet 7-25 Certificate Revocation List 7-26 Enabling Oracle HTTP Server to Use SSL 7-27 Configuring Oracle HTTP Server for SSL Certificates 7-28 What Is ORMIS? 7-29 Configuring ORMIS for OC4J 7-30 Summary 7-32 Practice 7 Overview: Managing Secure Sockets Layer in Oracle Application Server 7-33 8 Backing Up and Restoring Oracle Application Server Objectives 8-2 Backup and Recovery Features 8-3 Roadmap for Backup and Recovery 8-5 Concept of Oracle Application Server Backup and Recovery 8-6 Terminology 8-7 Backup Strategy for Oracle Application Server 10g Release 3 (10.1.3) 8-8 Performing a Complete Oracle Application Server Environment Backup 8-10 Performing Online Backups 8-11 OracleAS Recovery Manager 8-12 Preparing to Configure OracleAS Recovery Manager 8-13 Configuring OracleAS Recovery Manager 8-15 Using OracleAS Recovery Manager 8-17 Backup Procedures 8-18 Creating a Record of the Configuration 8-19 Performing an Instance Backup from Command Line 8-20 Performing a Complete Backup 8-21 Recovery Strategies 8-22 Restore Procedures 8-23 Restoring Middle Tier to the Same Host 8-25 Restoring Middle Tier to a New Host 8-26 Restoring Middle-Tier Configuration Files 8-28 Restoring an Oracle Application Server Instance 8-29 Summary 8-30 Practice 8 Overview: Backing Up and Restoring Oracle Application Server 8-31 9 Managing and Configuring OracleAS Cluster Objectives 9-2 What Is High Availability? 9-3 High Availability Solution 9-4 Identifying Changes in Clustering 9-5 vii

Supported Clustering Models 9-7 Configuring Multicast Discovery with opmnassociate 9-8 Configuring Multicast Discovery with opmnctl 9-9 Configuring Static Discovery Servers 9-10 Configuring Cross-Topology Gateways 9-11 Configuring Static Node-to-Node Communication 9-12 Load Balancing with Oracle HTTP Server 9-13 Enabling Dynamic Configuration of Application Mount Points 9-14 Using Web Server IDs to Control OC4J Request Routing 9-16 Configuring Application Mount Points: Static Discovery 9-18 Replicating Changes Across a Cluster 9-19 Enabling Application Clustering 9-21 Setting Replication Policies 9-23 Managing the Number of Nodes to Replicate to 9-25 Configuring Multicast Replication 9-26 Configuring Peer-to-Peer Replication 9-28 Configuring Database Replication 9-30 Disabling Clustering 9-32 Summary 9-33 Practice 9 Overview: Managing and Configuring OracleAS Cluster 9-34 10 Configuring Oracle Application Server 10g Release 3 (10.1.3) Objectives 10-2 Configuring Oracle Application Server 10g Release 3 (10.1.3) with Oracle Application Server 10g R2 (10.1.2) 10-3 Configuring 10.1.2 OracleAS Web Cache as a Reverse Proxy 10-4 Configuring an OracleAS Web Cache Instance 10-5 Configuring an OracleAS Web Cache Cluster 10-7 Configuring with Oracle HTTP Server Release 2 (10.1.2) 10-9 Configuring with Oracle Identity Management 10-10 Enabling OracleAS Single Sign-On 10-11 Configuring the Oracle Application Server 10g Release 3 (10.1.3) Middle Tier for Oracle Identity Management 10-12 Summary 10-14 Practice 10 Overview: Configuring Oracle Application Server 10g Release 3 (10.1.3) 10-15 viii

11 Upgrading to Oracle Application Server 10g Release 3 (10.1.3) from Oracle Application Server 10g R2 (10.1.2) Installations Objectives 11-2 Upgrading to Oracle Application Server 10g Release 3 (10.1.3) 11-3 Changes Between Oracle Application Server 10g R2 (10.1.2) and Oracle Application Server 10g Release 3 (10.1.3) 11-4 Using Cluster Topology in Place of an OracleAS Farm 11-5 Using Groups in Place of Oracle Application Server Clusters 11-6 Using Application Clustering 11-8 Creating New OC4J Instances 11-9 Using admin_client.jar 11-10 Upgrading to Oracle Application Server 10g Release 3 (10.1.3) 11-11 Deploying the J2EE Application in Oracle Application Server 10g R2 (10.1.2.0.2) 11-12 Configuring the J2EE Application in the Oracle Application Server 10g Release 3 (10.1.3) Instance 11-13 Deploying the Same J2EE Application in the Oracle Application Server 10g Release 3 (10.1.3) 11-14 Summary 11-15 Practice 11 Overview: Upgrading to Oracle Application Server 10g Release 3 (10.1.3) from Oracle Application Server 10g R2 (10.1.2) Installations 11-16 A Practices B Practice Solutions C Introduction to Linux What Is Linux? C-2 What Is Oracle s Strategy on Linux? C-3 File System and Basic Directory Structure C-4 Shell Commands C-6 Environment-Based Commands C-7 Information-Based Commands C-9 File System Commands C-11 Common vi Editing Commands C-13 Common FTP Communication Commands C-15 Archive Utilities C-17 Shortcuts and Tips C-20 ix

D Review of J2EE Architecture J2EE Architecture D-2 J2EE Platform and APIs D-3 Enterprise JavaBeans D-4 EJB Structure D-5 J2EE Platform and OC4J D-6 Overview of J2EE Web Application Architecture D-7 Overview of J2EE Enterprise JavaBeans Application Architecture D-8 Overview of Web Services for J2EE and APIs D-10 Java Message Service D-11 Two Domains for JMS D-12 JMS Application Architecture D-13 JMS Connector Architecture in OC4J 10g D-14 Integrating Applications with Java Connector Architecture (JCA) D-15 Securing Applications with Java Authentication and Authorization Service D-16 Java Naming and Directory Interface D-17 E Review of Oracle Application Server 10g Release 2 (10.1.2.0.2) Oracle Application Server 10g Release 2 (10.1.2.0.2): Overview E-2 Oracle Application Server 10g Release 2 (10.1.2.0.2) Terminology E-4 Oracle Application Server 10g Release 2 (10.1.2.0.2) Components and Solutions E-6 OracleAS Infrastructure Installation Types E-8 Oracle Application Server Middle-Tier Installation Types E-9 OracleAS Infrastructure E-10 OracleAS Infrastructure Components E-11 OracleAS Middle Tier Components E-13 Distributed Configuration Management E-15 DCM and Metadata Repository E-16 Oracle HTTP Server E-17 OracleAS Web Cache E-18 OracleAS Containers for J2EE (OC4J) E-20 OracleAS Web Services E-21 OracleAS Enterprise Portal E-22 Wireless-Enabled Applications E-24 Mobile Portal Architecture E-26 OracleAS Developer Kits E-27 x

F Migrating from WebLogic Server Key Points in Performing Migration F-2 Components of WebLogic Server F-3 Components of Oracle Application Server F-5 Support for Web Services F-7 Oracle Application Server 10g: Web Services Architecture F-8 Web Services Development and Management Tools in Oracle Application Server 10g F-9 Support for High Availability in WebLogic Server F-10 Support for High Availability in Oracle Application Server F-12 How Clustering Works in Oracle Application Server F-14 Java Development and Deployment Tools in WebLogic Server F-15 Java Development and Deployment Tools in Oracle Application Server F-16 Migrating from WebLogic Server to Oracle Application Server F-17 xi