D64648GC10_ag
Full text
(2) Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. 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 and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.. Authors Iris Li, Glenn Stokol Technical Contributors and Reviewers Clemens Utschig, Simone Geib, Payal Srivastava, Vasily Strelnikov, Jukka Gardemeister, Joe Greenwald, Gary Barg, Matthew Slingsby, Stephen McRitchie, Demed L'Her, Jay Kasi, Rakesh Saha, Swarnapriya Shridhar, Bijoy Choudhury, Pete Daly, Meera Srinivasan, Prasen Palvankar, Khanderao Kand, Serge Moiseev, Michael Bousamra, Greg Pavlik, Thomas Palazzolo, Heidi Buelow, Ken Cooper, Peter Laseau, Ted Witiuk, David Mills, Steve Friedberg This book was published using:. Oracle Tutor. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Disclaimer.
(3) Practices for Lesson 1 .....................................................................................................................................1-1 Practices for Lesson 1....................................................................................................................................1-3 Practices for Lesson 2 .....................................................................................................................................2-1 Practices for Lesson 2....................................................................................................................................2-3 Practice 2-1: Review Service-Oriented Architecture Concepts ......................................................................2-4 Practice 2-2: Review Oracle Fusion Middleware and SOA Suite ...................................................................2-5 Practice 2-3: Review of Administrator Task and Tools ...................................................................................2-6 Solutions 2-1: Review Service-Oriented Architecture Concepts.....................................................................2-7 Solutions 2-2: Review Oracle Fusion Middleware and SOA Suite .................................................................2-8 Solutions 2-3: Review of Administrator Task and Tools .................................................................................2-9 Practices for Lesson 3 .....................................................................................................................................3-1 Practices for Lesson 3....................................................................................................................................3-3 Practice 3-1: Install SOA Schemas with the Repository Creation Utility.........................................................3-4 Practice 3-2: Install Oracle SOA Suite 11g (11.1.1.2.0) Patch Set 1 ..............................................................3-7 Practice 3-3: Install Oracle SOA Suite 11g (11.1.1.3.0) Patch Set 2 ..............................................................3-9 Practice 3-4: Create a WebLogic Domain for Oracle SOA Suite ....................................................................3-11 Practice 3-5: Start the Admin Server, and the Managed Servers ...................................................................3-15 Practices for Lesson 4 .....................................................................................................................................4-1 Practices for Lesson 4....................................................................................................................................4-3 Practice 4-1: Deploy a Composite Application ...............................................................................................4-4 Practice 4-2: Test a Composite Application ...................................................................................................4-7 Practice 4-3: Deploy a Composite with a Configuration Plan .........................................................................4-13 Practice 4-4: Undeploy a Composite with WSLT............................................................................................4-20 Practices for Lesson 5 .....................................................................................................................................5-1 Practices for Lesson 5....................................................................................................................................5-3 Practice 5-1: Modify SOA Infrastructure Common Properties ........................................................................5-4 Practice 5-2: Test a Composite and View Changes .......................................................................................5-7 Practices for Lesson 6 .....................................................................................................................................6-1 Practices for Lesson 6....................................................................................................................................6-3 Practice 6-1: Configure the Run-Time Database Adapter ..............................................................................6-4 Practice 6-2: Deploy and Test the Composite with a DBAdapter ...................................................................6-15 Practice 6-3: Configure Run-Time JMS Adapter Resources ..........................................................................6-18 Practice 6-4: Deploy and Test the Composites using a JMS Adapter ............................................................6-29 Practices for Lesson 7 .....................................................................................................................................7-1 Practices for Lesson 7....................................................................................................................................7-3 Practice 7-1: Deploy the Purchase Order Processing Composites ................................................................7-4 Practice 7-2: Initiate the ProcessPOFileComposite........................................................................................7-7 Practices for Lesson 8 .....................................................................................................................................8-1 Practices for Lesson 8....................................................................................................................................8-3 Practice 8-1: Deploy SOA Applications with Mediator Components...............................................................8-4 Practice 8-2: Initiate and Monitor Version [1.0] Applications ..........................................................................8-5 Practice 8-3: Deploy SOA Applications Version [2.0] .....................................................................................8-12 Practice 8-4: Initiate, Monitor, and Manage Versioned Applications ..............................................................8-14 Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Oracle SOA Suite 11g: Administration Table of Contents i. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Table of Contents.
(4) Practices for Lesson 10 ...................................................................................................................................10-1 Practices for Lesson 10..................................................................................................................................10-3 Practice 10-1: Configure the Embedded LDAP Server ..................................................................................10-4 Practice 10-2: Configure Human Workflow Notification Services ...................................................................10-15 Practices for Lesson 11 ...................................................................................................................................11-1 Practices for Lesson 11..................................................................................................................................11-3 Practice 11-1: Deploy a Composite with a Human Task Component .............................................................11-4 Practice 11-2: Initiate and Monitor the Human Task without a UI ..................................................................11-6 Practice 11-3: Deploy the Task Form UI Application ......................................................................................11-21 Practice 11-4: Test and Monitor a Human Task and its Task Form UI ...........................................................11-24 Practices for Lesson 12 ...................................................................................................................................12-1 Practices for Lesson 12..................................................................................................................................12-3 Practice 12-1: Deploy a BPMN Application and its Task Form ......................................................................12-4 Practice 12-2: Initiate and Monitor the BPMN Process ..................................................................................12-6 Practices for Lesson 13 ...................................................................................................................................13-1 Practices for Lesson 13..................................................................................................................................13-3 Practice 13-1: Configure the Oracle BAM Adapter .........................................................................................13-4 Practice 13-2: Import the BAM Data Object and Report.................................................................................13-10 Practice 13-3: Deploy the Composite Application with BAM Integration ........................................................13-16 Practice 13-4: Test the Composite Application with BAM Integration.............................................................13-18 Practices for Lesson 14 ...................................................................................................................................14-1 Practices for Lesson 14..................................................................................................................................14-3 Practice 14-1: Importing Metadata Using the B2B Console ...........................................................................14-4 Practice 14-2: Deploy and Test a B2B Sender Composite Application ..........................................................14-12 Practices for Lesson 15 ...................................................................................................................................15-1 Practices for Lesson 15..................................................................................................................................15-3 Practice 15-1: Deploy the Stock Update Composite and Web Service ..........................................................15-4 Practice 15-2: Test the Subscriber of the StockUpdated Event .....................................................................15-10 Practice 15-3: Deploy, Test, and Monitor Event Publishing Composite .........................................................15-19 Practices for Lesson 16 ...................................................................................................................................16-1 Practices for Lesson 16..................................................................................................................................16-3 Practice 16-1: Create a Simple Username Token Security Policy..................................................................16-4 Practice 16-2: Apply a Security Policy to a Service Endpoint .........................................................................16-10 Practice 16-3: Test Invocation of the Secured Service Endpoint....................................................................16-14 Practices for Lesson 17 ...................................................................................................................................17-1 Practices for Lesson 17..................................................................................................................................17-3 Practice 17-1: Examine Server Information in the Topology Viewer ..............................................................17-4 Practice 17-2: Observe WebLogic Server Instance JVM Performance ..........................................................17-11 Practice 17-3: Explore Metrics for Oracle SOA Suite Components ................................................................17-20 Practices for Lesson 18 ...................................................................................................................................18-1 Practices for Lesson 18..................................................................................................................................18-3 Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Oracle SOA Suite 11g: Administration Table of Contents ii. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Practices for Lesson 9 .....................................................................................................................................9-1 Practices for Lesson 9....................................................................................................................................9-3 Practice 9-1: Deploy a Composite with Business Rules .................................................................................9-4 Practice 9-2: Initiate and Monitor an Instance with Business Rules ...............................................................9-6.
(5) Practices for Lesson 19 ...................................................................................................................................19-1 Practices for Lesson 19..................................................................................................................................19-3 Practices for Lesson 20 ...................................................................................................................................20-1 Practices for Lesson 20..................................................................................................................................20-3. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Practice 18-1: Deploy a Troublesome Composite Application .......................................................................18-4 Practice 18-2: Initiate and Troubleshoot a Composite Application .................................................................18-8 Practice 18-3: Troubleshoot Human Task Interaction ....................................................................................18-30. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Oracle SOA Suite 11g: Administration Table of Contents iii.
(6) Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED..
(7) These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Chapter 1. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 1. Chapter 1 - Page 1. Oracle University and (Oracle Corporation) use only.. Practices for Lesson 1.
(8) Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 1. Chapter 1 - Page 2. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED..
(9) Practices Overview There are no practices for the introduction lesson.. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Practices for Lesson 1. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 1 Chapter 1 - Page 3.
(10) Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 1. Chapter 1 - Page 4. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED..
(11) These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Chapter 2. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 2. Chapter 2 - Page 1. Oracle University and (Oracle Corporation) use only.. Practices for Lesson 2.
(12) Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 2. Chapter 2 - Page 2. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED..
(13) Practices Overview The practices for this lesson are paper-based. They are about Service-Oriented Architecture concepts, Oracle SOA Suite 11g software, and administration resources covered in the lesson content. Suggested solutions are provided after all the questions have been presented.. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Practices for Lesson 2. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 2 Chapter 2 - Page 3.
(14) Overview In this practice you answer questions about Service-Oriented Architecture (SOA) concepts.. Assumptions You have listened to the instructor and understood the material presented in lesson 2.. Tasks 1. 2. 3. 4. 5.. How would you describe what Service-Oriented Architecture means? What is the building block for SOA? What enables an SOA approach? Explain your answer. What describes a service? For an administrator, what is the value of the Service Component Architecture (SCA) assembly model for an SOA composite application?. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 2 Chapter 2 - Page 4. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Practice 2-1: Review Service-Oriented Architecture Concepts.
(15) Overview In this practice you answer questions about Oracle Fusion Middleware 11g and Oracle SOA Suite 11g.. Assumptions Material in lesson 2 has been presented or read.. Tasks 1. 2.. What two software components, aside from the Operation System, are required to run Oracle SOA Suite 11g? List the key software components that are installed with Oracle SOA Suite 11g?. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 2 Chapter 2 - Page 5. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Practice 2-2: Review Oracle Fusion Middleware and SOA Suite.
(16) Overview In this practice you answer questions about your role as an administrator and the typical tasks you would be expected to perform and the related tools.. Assumptions The administrator tasks and tools discussed in the course are basic representation of an Oracle SOA Suite 11g administrator, and does not represent all the possibilities available.. Tasks 1. 2.. What are the administration user interfaces for Oracle SOA Suite 11g? What other tools can be useful for an administrator? Explain your answers.. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 2 Chapter 2 - Page 6. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Practice 2-3: Review of Administrator Task and Tools.
(17) These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. 1.. 2.. 3.. 4.. 5.. A simple description of Service-Oriented Architecture is: SOA is a paradigm (a way of thinking) about a technological implementation for business applications that use services (a standards-based distributed component) to automate their tasks. As defined by OASIS: “A paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains”—Organization for the Advancement of Structured Information Standards (OASIS) definition” or stated another way “An IT strategy that organizes the discrete functions contained in enterprise applications into interoperable, standards-based services to be combined and reused quickly to meet business requirements” In computing terms, you can think of SOA as “a standards-based method of systems development and integration”. Services are the building block for SOA composite applications. Note: A composite application is also a service that aggregates and coordinates access to one or more other services to complete a business process. The main idea is “reuse” of functionality to capitalize on investment, “separation of concerns” to enable the right tasks to be processed in the right context, and “agility” to enable IT processes to keep up and in line with changing business requirements. Web Services standards enable SOA to be realized. The Web and Web Services standards, such as XML, WSDL, SOAP, UDDI to mention a few, provide a common framework for distributed heterogeneous platforms and applications to communicate in a platform and language agnostic manner – leading to a higher degree of interoperability and reuse, neither of which is easy to accomplish without the standards in place and agreed upon. Standards are a set of ratified agreements. The service interface describes a service through the use of an XML-based language called Web Services Description Language (WSDL). The WSDL for a service describes the service operations and associated message structures used for exchange of information over the internet channels defined by a protocol binding, such as SOAP, JMS, among others. For an administrator, the value of the SCA assembly model is in its ability to convey the application structure and in particular the dependencies. You may need to ensure the dependencies are accessible, available, and configured. Examples include: • Service references require their URLs to be accessible from the run-time environment and may require configuration of proxy settings. • Database aware services may require JNDI and JDBC resources to be configured. • JMS services may need JMS resources to be defined and configured. If you do not have a picture of the application assembly model, then you would have to rely on developer supplied documentation that describes configuration and dependency requirements that enable the application to operate in the deployed context.. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 2 Chapter 2 - Page 7. Oracle University and (Oracle Corporation) use only.. Solutions 2-1: Review Service-Oriented Architecture Concepts.
(18) These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. 1.. 2.. The two software components required to enable Oracle SOA Suite 11g to run include: a. Oracle WebLogic Server to provide the run-time environment for Oracle SOA Suite components. Oracle WebLogic Server is a Java EE run-time platform on which Oracle SOA Suite executes. b. Oracle Database to provide a data source to manage Oracle SOA Suite run-time configuration and resources. In particular, an Oracle Database is required for creating the database schemas used by Oracle SOA Suite components to store their configuration and run-time information. The key components that are installed with Oracle SOA Suite include: • Oracle SOA Suite Service Infrastructure, which provides the underlying message communication architecture for exchange of data between SOA components and external services and systems through bindings and adapters. • Oracle Mediator engine, which executes implementation specified in Mediator components. • Oracle Business Process Execution Language (BPEL) engine, which executes implementation specified in BPEL components. • Oracle Business Rules engine, which executes business rules specified by Business Rules components. • Oracle Human Task engine, which execute human workflow processes specified in Human Task components • Oracle Business Activity Monitoring (BAM) engine, which performs real-time monitoring of activity, message data, faults, and events processed in composite application instances. Note: The Oracle Business Process Management (OBPM) engine is an additional component that can be separately installed into an Oracle SOA Suite environment. Applications created by Oracle BPM Suite are executed in Oracle BPM engines, which may utilize the functionality of other service engines.. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 2 Chapter 2 - Page 8. Oracle University and (Oracle Corporation) use only.. Solutions 2-2: Review Oracle Fusion Middleware and SOA Suite.
(19) These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. 1.. 2.. The main administration user interface for Oracle SOA Suite 11g is Oracle Enterprise manager Fusion Middleware Control, which is used to manage composite applications from deployment through their run-time life cycle. You use Oracle Enterprise manager Fusion Middleware Control to configure, manage, and monitor composite applications and their run-time environment. Note: Oracle SOA Suite 11g administrators also use Oracle WebLogic Server Administrator to configure application resources, such as JDBC data sources, JMS destinations and resources, connection factories, security services, among other lower level tasks. The other tools that can be useful for an administrator include: • Ant and the various Oracle supplied Ant tasks for command-line management and administration of composite applications. • WebLogic Scripting Language (WLST) scripts that enable administrators to configure resources from command-line interfaces and simplify repetitive and complex tasks through scripting techniques. • System MBeans that enable administrators to configure components in the run-time environment often minimizing the need to restart applications and services.. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 2 Chapter 2 - Page 9. Oracle University and (Oracle Corporation) use only.. Solutions 2-3: Review of Administrator Task and Tools.
(20) Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 2. Chapter 2 - Page 10. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED..
(21) These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Chapter 3. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3. Chapter 3 - Page 1. Oracle University and (Oracle Corporation) use only.. Practices for Lesson 3.
(22) Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3. Chapter 3 - Page 2. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED..
(23) Practices Overview In the practices for this lesson the key tasks are: • Install Oracle Repository Creation Utility (RCU), and run Oracle RCU to create the SOA Schemas • Install Oracle SOA Suite 11g 11.1.1.2.0 • Install Oracle SOA Suite 11g 11.1.1.3 patch set • Create the WebLogic domain for SOA Suite and BPM. General Notes For brevity folder names in the command-line prompt, of a Command Prompt window, are not shown to enable most of the commands (where possible) to fit in one line. In addition, to avoid confusion, commands that span multiple lines will not contain end of line continuation characters.. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 3. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Practices for Lesson 3.
(24) Overview You install and run the Oracle Repository Creation Utility using version 11.1.1.3.0 to create the SOA Suite database schemas in the Oracle 10g XE database instance. While you can install the schemas using the command-line interface (as shown at the end of the practice instructions), in this practice, you use the graphical user interface. You only do this process once for each SOA Suite 11g installation.. Assumptions Oracle 10g XE Database must be installed and running.. Tasks 1.. Open a Command Prompt window, and enter the following commands: D:\> cd D:\stage\rcuHome\bin D:\> rcu.bat. 2.. After the Repository Creation Utility (RCU) application starts, use the following table of instructions to install the SOA Schemas: Step. Window/Page Description. Choices or Values. a.. Welcome. Click Next.. b.. Create Repository. Select the Create option, and click Next.. c.. Database Connection Details. Hostname: localhost Port: 1521 Service Name: XE Username: sys Password: oracle Role: SYSDBA Click Next.. d.. Repository Creation Utility. RCU performs some prerequisites checks and during this time, because the classroom machine uses Oracle Database 10g XE, the following warning dialog box displays:. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 4. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Practice 3-1: Install SOA Schemas with the Repository Creation Utility.
(25) Window/Page Description. Choices or Values For the classroom environment, you can click Ignore. Note: Production systems should be using a supported Oracle Database version, and therefore you would not see this warning dialog box.. e.. Repository Creation Utility Checking Prerequisites. Verify that all prerequisite checks have passed, and click OK.. f.. Select Components. Accept the default “Create a new Prefix” option and the value DEV in the associated field. In the Component table, select the “SOA and BPM Infrastructure” check box. Note: When you select the specified entry, the rows of the component table are expanded and other dependencies are also selected. The SOAINFRA schema is used for both SOA and BPM components. Click Next.. g.. Repository Creation Utility Checking Prerequisites. RCU performs another prerequisites check. Verify that the operation completed OK, and click OK.. h.. Schema Passwords. Accept the default “Use same passwords for all schemas” selection option, and enter the password fields as follows: Password: welcome1 Confirm Password: welcome1 Click Next.. i.. Map Tablespaces. Accept the supplied settings for the default and temporary tablespace selections for each schema owner, and click Next.. j.. Repository Creation Utility. A dialog box prompts to confirm if you want to create the tablespaces that do not already exist. Click OK.. k.. Repository Creation Utility Creating Tablespaces. This dialog box displays while creating the tablespaces. When tablespace creation is complete, click OK.. m.. Summary. Review the information, and click Create. Note: The “Repository Creation Utility – Create” dialog box displays showing creation progress. It takes about two minutes to create the schemas, and the dialog box is closed.. n.. Completion Summary. Verify that each of the component schemas indicates a success status, and click Close.. l.. 3.. Optionally, close the Command Prompt window.. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 5. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Step.
(26) Optional Steps to Verify Creation of SOA and BPM Database Schemas If you wish to view the database schemas created in the Oracle XE Database, you can perform the following steps: a. On the Windows Taskbar, select Start > Programs > Oracle Database 10g Express Edition > Run SQL Command Line. Note: Alternatively, open a new Command Prompt window and enter the following command: D:> sqlplus /nolog b.. In the Run SQL Command Line window, enter the following commands: SQL> connect sys/oracle as sysdba SQL> select username from all_users; Note: Among the list of names displayed you should see the following usernames: : USERNAME ------------SYSTEM SYS DEV_ORABAM DEV_SOAINFRA DEV_ORASDPM DEV_MDS 17 rows selected.. c.. Close the Run SQL Command Line window.. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 6. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. 4..
(27) Overview In this practice you install the Oracle SOA Suite 11g 11.1.1.2.0 software. While this release is known as Patch Set 1, it performs a full installation of the Oracle SOA Suite 11g software and does not require a previous release to exist.. Assumptions You must use the 64-bit Sun JDK for the installation. The SOA domain should not exist at this time. The Oracle WebLogic Server 10.3.3 software must be installed in the Fusion Middleware Home folder D:\oracle\fmw\11.1.1.3. The JAVA_HOME environment variable should be set to reference the D:\jdk_16018x64 folder containing the Sun 64-bit JDK. The SOA Schemas should be installed in the Oracle Database 10g XE instance. The D:\stage\soa_ps1 folder must contain the software for Oracle SOA Suite 11g 11.1.1.2.0 (known as Patch Set 1, which is a full installation kit).. Tasks (Estimated time: 10-15 minutes including reading time) 1. 2.. If you still have the Command Prompt window open, then proceed to the next step, otherwise open a new Command Prompt window. In the Command Prompt window, navigate to the D:\stage\soa_ps1\Disk1 folder and enter the setup command using the JAVA_HOME environment variable for the -jreLoc command-line option: D:\> cd D:\stage\soa_ps1\Disk1 D:\> setup -jreLoc %JAVA_HOME% Note: The JAVA_HOME environment variable should already be defined to reference the Sun 64-bit JDK folder in D:\jdk_16018x64. You can verify the value of the JAVA_HOME environment variable before executing the command by entering the command: D:\> set JAVA_HOME. 3.. Note: The result returned should be the following line: JAVA_HOME=D:\jdk_16018x64 The Oracle installer opens a command window, performs some checks and launches the installation wizard. To start the SOA Suite 11g 11.1.1.2.0 installation, perform the steps in the following table: Step. Window/Page Description. Choices or Values. a.. Welcome. Click Next.. b.. Prerequisite Checks. Wait for the prerequisite checks to complete (less than 5 seconds duration), and verify that checks are successful. Click Next.. c.. Specify Installation Location. Accept the default settings for: Oracle Middleware Home: D:\Oracle\fmw\11.1.1.3. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 7. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Practice 3-2: Install Oracle SOA Suite 11g (11.1.1.2.0) Patch Set 1.
(28) Window/Page Description. Choices or Values Oracle Home Directory: Oracle_SOA1 Click Next.. 4.. d.. Installation Summary. Click Install.. e.. Installation Progress. Wait for the installation to complete (approximately 6 minutes). When the installation is completed and reaches 100%, click Next.. f.. Installation Summary. Click Finish.. Note: Installation should not take more than 6 minutes. Optionally, close the Command Prompt window.. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Step. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 8.
(29) Overview In this practice you install the Oracle SOA Suite 11g 11.1.1.3.0 (Patch Set 2) into the existing Oracle SOA Suite 11g 11.1.1.2.0 home. The Oracle SOA Suite 11g 11.1.1.3.0 (Patch Set 2) is called a sparse installer and requires that Oracle SOA Suite 11g 11.1.1.2.0 release to be already installed.. Assumptions You must use the 64-bit Sun JDK for the installation. The SOA domain should not exist at this time. The Oracle WebLogic Server 10.3.3 software must be installed in the Fusion Middleware Home folder D:\oracle\fmw\11.1.1.3 and the Oracle SOA Suite 11g 11.1.1.2.0 software must have been installed in the same Middleware Home as the WebLogic Server instance. The JAVA_HOME environment variable should be set to reference the D:\jdk_16018x64 folder containing the Sun 64-bit JDK. The SOA Schemas should be installed in the Oracle Database 10g XE instance. The D:\stage\soa_ps2 folder must contain the software for Oracle SOA Suite 11g 11.1.1.3.0.. Tasks 1. 2.. If you still have the Command Prompt window open then proceed to the next step, otherwise open a new Command Prompt window. In the Command Prompt window, navigate to the D:\stage\soa_ps2\Disk1 folder and enter the setup command using the JAVA_HOME environment variable for the -jreLoc command-line option: D:\> cd D:\stage\soa_ps2\Disk1 D:\> setup -jreLoc %JAVA_HOME%. 3.. When the Oracle installer starts, use the following table of steps to install the SOA Suite 11g software: Step. Window/Page Description. Choices or Values. a.. Welcome. Click Next.. b.. Prerequisite Checks. Wait for the checks to complete (it's very quick), and verify that all checks are successful, and click Next.. c.. Specify Installation Location. Accept the default values for: Oracle Middleware Home: D:\Oracle\fmw\11.1.1.3 Oracle Home Directory: Oracle_SOA1 Note: Ensure that Oracle Home Directory is the value Oracle_SOA1. Click Next.. d.. Installation Summary. Click Install.. e.. Installation Progress. Wait for the installation to complete (approximately. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 9. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Practice 3-3: Install Oracle SOA Suite 11g (11.1.1.3.0) Patch Set 2.
(30) f. 4.. Window/Page Description. Installation Summary. Choices or Values 5 minutes). When the installation is completed and reaches 100%, click Next. Click Finish.. Note: Installation time should not take more than 5 minutes. Optionally, close the Command Prompt window.. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Step. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 10.
(31) Overview In this practice you create WebLogic domain and configure it with the Oracle SOA Suite components needed for the course.. Assumptions The Oracle Database 10g XE instance is running and the Oracle SOA Suite 11g 11.1.1.3.0 patch set has been installed into the Oracle SOA Suite 11g 11.1.1.2.0 home.. Tasks 1. 2.. If you still have the Command Prompt window open then proceed to the next step, otherwise open a new Command Prompt window. In the Command Prompt window, to launch the Oracle Fusion Middleware Configuration Wizard, navigate to D:\Oracle\fmw\11.1.1.3\Oracle_SOA1\common\bin folder and type the following commands: D:\> cd D:\Oracle\fmw\11.1.1.3\Oracle_SOA1\common\bin D:\> config. 3.. When the Oracle Fusion Middleware Configuration Wizard starts, use the following table of instructions to complete the domain configuration: Step. Window/Page Description. Choices or Values. a.. Welcome. Select the “Create a new WebLogic domain” option. Click Next.. b.. Select Domain Source. Accept the selected “Generate a domain configured automatically to support the following products” option. Select the “Oracle BPM Suite – 11.1.1.0 [Oracle_SOA1]” check box. Note: The check boxes for the following dependent product components are also selected: • Oracle SOA Suite 11.1.1.0 • Oracle WSM Policy Manager 11.1.1.0 • Oracle JRF – 11.1.1.0 In addition, select the check boxes for the following two components: • Oracle Enterprise Manager – 11.1.1.0 • Oracle Business Activity Monitoring – 11.1.1.0 Click Next.. c.. Specify Domain Name and Location. Domain name: soa_domain. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 11. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Practice 3-4: Create a WebLogic Domain for Oracle SOA Suite.
(32) d.. Window/Page Description. Configure Administrator User Name and Password. Choices or Values Accept the default values for other settings. Click Next. Name: weblogic Password: welcome1 Confirm password: welcome1 Accept the default description value. Click Next.. e.. Configure Server Start Mode and JDK. Accept the default selections with the Development Mode and Available JDKs (with the 64-bit Sun SDK) options selected. Click Next.. f.. Configure JDBC Component Schema. Using the image below this row as a guide to complete the steps in this row. First, in the table at the bottom of the page, select all the check boxes next to the Component Schema column. Second, enter the following SOA database information in the three fields at the top-right section of the page: DBMS/Service: XE Host Name: localhost Port: 1521 Note: When you set each of these field values, observe that the corresponding fields in the table below change respectively for all Component Schema selected. Third, enter the database schema password (which is the same for all component schemas in this case): Schema Password: welcome1 Note: The Schema Owners in this table must match the value assigned to schema owners configured by the RCU utility. Click Next.. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 12. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Step.
(33) Window/Page Description. Choices or Values. g.. Test Component Schema. On this page, the configuration tools tests all the data source connections. Wait until it completes. Verify that a green tick appears in the Status column for all Component Schema entries. Click Next. Note: If there are connection errors, click Previous and make appropriate corrections to database connection information.. h.. Select Optional Configuration. Select the “Managed Servers, Clusters and Machines” check box. Click Next. Note: Selecting this option enables you to configure if components execute in separate managed servers or within a single server instance. You accept the default values to create a separate managed server configuration.. i.. Configure Managed Servers. Observe that two managed servers are present by default, called: bam_server1 soa_server1 Note: Observe the port numbers associated with each managed server. These port numbers are used to access appropriate Web application and administration interfaces for. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 13. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Step.
(34) 4.. Window/Page Description. Choices or Values the BAM and SOA components respectively. These ports are different to the default WebLogic Server Administration port 7001. Accept the default settings, and click Next.. j.. Configure Clusters. You do not create clusters in this course. Accept the default settings, and click Next.. k.. Configure Machines. By default a single logical machine is created on the localhost for the two managed servers. Accept the default settings, and click Next.. l.. Assign Servers to Machines. By default the two managed servers (soa_server1, bam_server1) are assigned to the LocalMachine. Accept the default settings, and click Next.. m.. Configuration Summary. The Domain Summary section of the page displays the deployment details for the domain. You can review settings and click Previous to make changes before creating the domain. Click Create.. n.. Creating Domain. The progress of the domain creation is displayed in this page. Wait for domain creation to complete (progress reaches 100%), and click Done. Note: You could select the Start Admin Server check box to start the WebLogic Admin Server. However, in this case you first create desktop shortcuts for this purpose to be used in the practices.. Close the Command Window.. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 14. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Step.
(35) Overview In this practice you create three desktop shortcuts that can be used to quickly start, stop and access the WebLogic Admin Server. You then start the Admin Server and the two Managed Servers created by the Domain Configuration Wizard for soa_domain.. Assumptions The Oracle Database 10g XE is running, you have installed Oracle SOA Suite 11g 11.1.1.3. (Patch Set 2), which implies Oracle SOA Suite 111g 11.1.1.2.0 (Patch Set 1) has also been installed, and configured the domain for the SOA, BPM, and BAM components.. Tasks Your tasks here include: • Creating desktop shortcuts for starting and stopping the WebLogic Admin Server. • Starting the WebLogic Admin Server and using it to start the soa_server1 and bam_server1 managed server instances. • Accessing the WebLogic Administration Server, Enterprise Manager Fusion Middleware Control, and BAM Web Application. • Experimenting with starting and stopping the managed servers through the WebLogic Administration Console and the command-line interface.. Create Desktop Shortcuts In this section you create three desktop shortcuts to start, start, and access the WebLogic Admin Server. Note: If you prefer, you can skip to step 5 and use the command line to start the Admin Server. 1. To locate the source of desktop icons in the WebLogic Server menu, click Start > Programs > Oracle WebLogic > User Projects > soa_domain. Note: Using the following image as a guide:. 2.. Observe that the soa_domain menu contains the following three items: − Admin Server Console, used to launch the Web browser to access the WebLogic Server Administration Console. − “Start Admin Server for WebLogic Server Domain,” which does what it states, starts the Admin Server instance for the soa_domain. − Stop Admin Server, which stops the Admin Server instance for the soa_domain. To create a desktop icon for the Admin Server Console, click Start > Programs > Oracle WebLogic > User Projects > soa_domain, then right-click Admin Server Console and select Send To > Desktop (create shortcut).. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 15. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Practice 3-5: Start the Admin Server, and the Managed Servers.
(36) 4.. Repeat the process of creating a desktop icon for the “Start Admin Server for WebLogic Server Domain” and Stop Admin Server menu items. Hint: Display the soa_domain Start menu, right-click the menu items and select Send To > Desktop (create shortcut). Confirm that you have three new desktop icons for each of the soa_domain menu items. Use the following image as a guide (for the three icons):. Starting the WebLogic Admin Server In this section you start the WebLogic Admin Server using the desktop icon. 5. Before you start the WebLogic Server and SOA components, perform the following steps to check the file system and system processes: a. To examine the file system, start Windows Explorer, navigate to the D:\Oracle\fmw\11.1.1.3\user_projects\domains\soa_domain\servers folder, and answer the following questions: Note: The path prefix D:\Oracle\fmw\11.1.1.3\user_projects\domains\soa_domain is represented by the text DOMAIN_HOME in subsequent text. The text DOMAIN_HOME does not exist as an environment variable and is used for brevity (where appropriate) in these practice instructions.. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 16. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. 3..
(37) 2). What sub folder(s) did you find in the servers folder, and what are these folders used for? Answer: The AdminServer folder is the only folder present after installation. When the AdminServer is started additional folders are created to maintain runtime information for the AdminServer instance. What other sub folders and files exist in any of the DOMAIN_HOME\servers sub folder? Answer: The AdminServer folder contains a single folder called security, which contains the boot.properties file. The boot.properties file contains the obfuscated (encrypted) credentials (user name and password) for the administration user (In this course the administration user name is weblogic).. 3). b.. Why are the folders for managed servers not present? Answer: The soa_server1 and bam_server1 folders do not exist because those server instances have not been started. 4) Which folder contains the configuration files for the AdminServer and the two manager servers (soa_server1, and bam_server1)? Answer: You can find the configuration files for the AdminServer, soa_server1, and bam_server1 in their own sub folders contained in the DOMAIN_HOME\config\fmwconfig\servers folder. To view the user processes, perform the following steps: 1) Open the Windows Task Manager application by right-clicking the Windows Taskbar and selecting Task Manager. 2) In the Windows Task Manager window, click the Processes tab, and using the list of processes how do you know that no WebLogic Server instances (either the Admin or Managed servers) are running? Answer: No java.exe processes are displayed in the list of processes.. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 17. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. 1).
(38) 1). After starting the AdminServer, look in the Processes tab page of the Windows Task Manager to confirm that a java.exe process is now displayed.. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 18. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. 6.. Note: Let the Windows Explorer and Window Task Manager applications continue to execute. Do not close these application windows. To start the WebLogic Server, perform the following steps: a. On the Windows Desktop, double-click the “Start Admin Server for WebLogic Server Domain” icon. Note: Alternatively, you can open a Command Prompt window and enter the following commands to start the Admin Server: D:\> cd D:\Oracle\fmw\11.1.1.3 D:\> cd user_projects\domains\soa_domain\bin D:\> startWeblogic.cmd.
(39) In the Windows Explorer, look at the DOMAIN_HOME\servers folder. Now that the AdminServer has been started, what are some of the changes you can observe in the AdminServer subfolder tree? Answer: Additional folders have been created to maintain the runtime information for the server instance. For example, the adr, cache, data, logs, sysman, and tmp subfolders have been created below the AdminServer folder. The logs folder store run-time and diagnostic log information that can be useful for troubleshooting problems.. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 19. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. 2).
(40) c.. On the “Start Admin Server for WebLogic Server Domain” command window, wait until you see a message similar to: <Jun 8, 2010 5:19:10 PM GMT> <Notice> <WebLogicServer> <BEA000360> <Server started in RUNNING mode> Minimize the “Start Admin Server for WebLogic Server Domain” command window, or the Command Prompt window you used to start the Admin Server.. Viewing Server Instances In this section you use the Web interface of the WebLogic Server Administration Console to start and stop the Managed Servers. 7. To start the WebLogic Administration Server Console, double-click the “Admin Server Console” icon on the Windows desktop. Alternatively, enter the URL http://localhost:7001/console in a Web browser window. 8. On the WebLogic Administration Server Console login page, login as the administration user weblogic and associated password (welcome1). 9. On the WebLogic Administration Server Console home page, to view the state of the servers, perform the following steps: a. On the home page in the Domain Structure, expand the Environment node, and click Servers. b. On the Summary of Servers page, in the Configuration tab you can observe the state of servers in the Servers table. Is the state of each server in the server table consistent with the state of the processes you have observed? Why? Answer: Yes, it is consistent. The Servers table shows that the AdminServer is in the RUNNING state and the two managed servers are in a SHUTDOWN state. Because each server has been configured to run in its own Java Virtual Machine (JVM), the list of processes shown in the Windows Task Manager has only one JVM (java.exe) process running, which represents the AdminServer instance. c. Keep the Summary of Servers Configuration page displayed in the Web browser, because you use it to monitor the server state changes as you start them using the Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 20. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. b..
(41) Managing Servers with Command Line Scripts In this section you start and stop the managed servers by using command-line scripts provided with the WebLogic Server installation. You also stop the Admin server and restart it using the command line. 10. On the Windows Desktop, open a new command window by double-clicking the Command Prompt desktop icon. 11. To start the soa_server1 managed server, perform the following steps: a. In the Command Prompt window, execute the following commands: D:> set FMW_HOME=D:\Oracle\fmw\11.1.1.3 D:> cd %FMW_HOME%\user_projects\domains\soa_domain\bin D:> startManagedWebLogic.cmd soa_server1. b.. Hint: In the cd command, instead of entering the two commands and typing the full path name to the bin folder, from a Windows Explorer, you can locate and drag the bin folder icon onto the Command Prompt window. The JVM for the managed server starts and after a short time you are prompted for the administration credentials. Enter the username and password as shown: Enter username to boot WebLogic server: weblogic Enter password to boot WebLogic server: welcome1. c.. While the soa_server1 managed server instance is starting up, click the Web browser window displaying the WebLogic Administration Console Summary of Servers Configuration page, and observe the state changes. 1) What state changes do you observe? Answer: Some of the state changes you may observer (depending on timing) are the STARTING and RUNNING states. 2) How do you know that the managed server is ready to be used? Answer: Some of the ways to determine that the managed server is running are: − On the Summary of Servers Configuration page, when the managed server state is changed to RUNNING. − On the command line window used to start the managed server when you see the following line displays: INFO: FabricProviderServlet.stateChanged SOA Platform is running and accepting requests. 12. When you start the soa_server1 managed server, why are you prompted for the administration username and password? Answer: When you create the SOA domain using the config.cmd script, which runs the Domain Configuration Wizard, you are prompted for the security credentials of the administrator. The configuration process stores the encrypted credentials you entered in the boot.properties file in the run-time security subfolder of the AdminServer. However, Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 21. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. command-line tools. After using the command-line tool, you use the Control tab to manage the servers in conjunction with using the WebLogic Server Node Manager..
(42) Answer: The soa_server1 subfolder has been created along with its child folders. One of the child folders, called security, does not exist yet. While the domain_bak folder may also be created, it contains one subfolder and no files yet. We are primarily interested in the soa_server1 subfolder. b. What file system configuration changes can you make to start the managed server without having to manually enter the username and password? Answer: Create the DOMAIN_HOME\servers\soa_server1\security folder, and then create a boot.properties file, containing encrypted administrator credentials, in the DOMAIN_HOME\servers\soa_server1\security folder (the managed server security folder) to eliminate the requirement to manually enter administrator credentials when starting the managed servers. There are several ways to perform this task. c. Terminate the soa_server1 managed server instance, by performing the following steps: 1) In the command window where you started the managed server, press Ctrl + C. 2) At the “Terminate batch job (Y/N)?” prompt, press y and then press Enter. Note: Do not close the command window. 14. To configure security to eliminate the need to manually enter administrator credentials when starting servers, perform the following step and answer the related question: a. By using Windows Explorer, copy the DOMAIN_HOME\servers\AdminServer\security folder and its boot.properties file into the DOMAIN_HOME\servers\soa_server1 folder to create the security sub folder for the soa_server1 instance.. b.. c.. Note: Remember DOMAIN_HOME refers to the D:\Oracle\fmw\11.1.1.3\user_projects\domains\soa_domain folder. There are other ways to create the the boot.properties file, such as manually edit the file with the appropriate properties in plain text. The plain text credentials are encrypted when the managed server is next started. Alternatively, the JVM command line option -Dweblogic.system.StoreBootIdentity=true can be use to create the boot.properties file with encrypted copies of the credentials entered at the prompts when starting a managed server from the command line. When you start the Admin Server using the desktop icon, it actually executes the startWebLogic.cmd script. Why weren’t you prompted for administrator security credentials? Answer: The DOMAIN_HOME\servers\AdminServer\security folder already contains the boot.properties file, which is created by the Domain Configuration Wizard. Return to the Command Prompt window where you original started the soa_server1 managed server instance, and restart it by entering the following command: Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 22. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. these credentials are not saved in the run-time security subfolder of the respective managed servers, so you are still prompted for the administrator’s username and password when starting the managed servers. 13. Using Windows Explore examine the changes to the DOMAIN_HOME\servers folder, and answer the following questions: a. Having started the soa_server1 managed server instance what subfolder has been created in the DOMAIN_HOME\servers folder?.
(43) Note: When the soa_server1 instance starts, you should not be prompted for the administrator credentials. 15. To start the bam_server1 managed server instance and create its boot.properties file, perform the following steps: a. Open a new Command Prompt window, and execute the following commands: D:> set FMW_HOME=D:\Oracle\fmw\11.1.1.3 D:> cd %FMW_HOME%\user_projects\domains\soa_domain\bin D:> set JAVA_OPTIONS=-Dweblogic.system.StoreBootIdentity=true D:> startManagedWebLogic.cmd bam_server1. b.. c.. Note: The JAVA_OPTION environment variable is used by the startManagedWebLogic.cmd script to pass command line options to the JVM used to start the managed server instance. In this case, providing the command-line option weblogic.system.StoreBootIdentity=true tells the managed server to store the credentials entered at the prompt in its own boot.properties file in its security subfolder. In the Command Prompt window, where your start the bam_server1 managed server, when prompted, enter the administration credentials. For example: Enter username to boot WebLogic server: weblogic Enter password to boot WebLogic server: welcome1 In Windows Explorer, navigate to the DOMAIN_HOME\servers\bam_server1\security folder (if it exists) and verify that the boot.properties file has been created.. Reminder: DOMAIN_HOME references the D:\Oracle\fmw\11.1.1.3\user_projects\domains\soa_domain folder. Note: If the security sub folder does not exist, then you can copy the security folder from the soa_server1 tree into the bam_server1 tree so that next time you start the bam_server1 instance you should not be prompted for the administrator credentials. 16. After the BAM Server has completely started up, you can verify that you are able to login and view the main BAM Web application home page by performing the following steps: a. In the Web browser window, create a new Web browser tab page (or new window), and enter the following URL: http://localhost:9001/OracleBAM b. On the Oracle BAM login page, enter the username weblogic and password welcome1, and click Login. c. If you have successfully logged into the Oracle BAM home page, you can logout and close the page, as there is not much to do at this time. 17. Since we do not need the bam_server1 instance for some time, you can stop the bam_server1 instance. You can press Ctrl + C to interrupt and shutdown the process in the command window. Alternatively, in this case, you use a supplied command-line script to shutdown the process by performing the following steps: a. Ensure you can see (restore or maximize) the bam_server1 Command Prompt window. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 23. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. D:> startManagedWebLogic.cmd soa_server1.
(44) Open a new Command Prompt window. In the Command Prompt window, enter the following command to shutdown the bam_server1 instance: D:> set FMW_HOME=D:\Oracle\fmw\11.1.1.3 D:> cd %FMW_HOME%\user_projects\domains\soa_domain\bin D:> stopManagedWebLogic.cmd bam_server1. Note: When the bam_server1 instance is terminated this way, the Command Prompt window used to start it is closed. If you are still running the WebLogic Administration Console Web application you can monitor the managed server state changes. d. Close the new Command Prompt window you used to stop the bam_server1 instance. 18. Because the soa_server1 instance is still running, you can open a new Web browser tab page (or window) and access the Oracle Enterprise Manager Fusion Middleware Control Console and login as the administrator, by performing the following steps: a. In the Web browser application, open a new tab page (or window). b. On the new browser page, enter the URL: http://localhost:7001/em c. On the Oracle Enterprise Manager Fusion Middleware Control Console login page, enter the username weblogic and password welcome1, and click Login. Note: The first time you login, you are presented with the Accessibility Preference settings. Accept the default settings and click Continue. For example:. Note: If you require accessibility features enabled then select the “I use a screen reader” option before you click Continue. d. On the Oracle Enterprise Manager Fusion Middleware Control Console home page, expand the SOA > soa-infra (soa_server1) nodes and examine the tree structure. Note: You have completed this practice. While you may leave the Oracle Enterprise Manager Fusion Middleware Control Console session logged in, there is a session inactivity timeout of about 30 minutes after which the session is terminated by the server. The session timeout applies to the Oracle WebLogic Administration Console. However, the Oracle BAM Web application does not share the same session timeout.. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 3 Chapter 3 - Page 24. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. b. c..
(45) These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Chapter 4. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 4. Chapter 4 - Page 1. Oracle University and (Oracle Corporation) use only.. Practices for Lesson 4.
(46) Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 4. Chapter 4 - Page 2. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED..
(47) Practices Overview In the practices for this lesson the key tasks are to: • Deploy a composite application • Test a composite application • Deploy a composite with a configuration plan • Undeploy a composite with WLST • Deploy a composite with Ant (Optional, if you have time). General Notes. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Practices for Lesson 4. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 4 Chapter 4 - Page 3.
(48) Overview In this practice, you deploy a simple HelloWorldComposite application by using the Oracle Enterprise Manager Fusion Middleware Control Console.. Assumptions The composite application SAR file (sca_HelloWorldComposite_rev1.0.jar) exists in the D:\labs\lesson04\HelloWorldComposite\deploy folder.. Tasks To deploy the HelloWorldComposite application using Oracle Enterprise Manager Fusion Middleware Control Console, perform the following steps: 1. Login to Oracle Enterprise Manager Fusion Middleware Control Console. a. If not already visible, open a Web browser window, and enter the URL http://localhost:7001/em b. On the Oracle Enterprise Manager Fusion Middleware Control Console login page, enter the username weblogic and password welcome1 and click Login. Note: The Farm home page (called Farm_soa_domain) is displayed after you login. 2. Deploy the HelloWorldComposite application to the default partition in the SOA infrastructure. a. On the Farm home page, in the navigation frame, expand the SOA folder, right-click soa-infra and select SOA Deployment > Deploy b. On the Deploy SOA Composite > Select Archive page, perform the following steps: 1) In the “Archive or Exploded Directory” section, accept the default selected “Archive is on the machine where this web browser is running” option, and click Browse. 2) In the “Choose file” dialog box, navigate to the D:\labs\lesson04\HelloWorldComposite\deploy folder, select sca_HelloWorldComposite_rev1.0.jar and click Open. 3) Verify that the selected JAR file is shown in the “Archive is on the machine where this web browser is running” option field, and click Next. c. On the Deploy SOA Composite > Select Target page, in the SOA Partition section select default from the drop-down box, and click Next. d. On the Deploy SOA Composite > Confirmation page, accept the default settings and click Deploy. Note: A deployment progress dialog box displays showing progress of the deployment operation until deployment succeeds (as in this case) or fails. When deployment succeeds, the Deployment Success dialog box closes. e. In the (left-hand) Navigator frame, the deployed HelloWorldComposite is selected, and the HelloWorldComposite [1.0] application page displays in the right-hand frame containing a confirmation message indicating that the composite application was deployed successfully. Use the following image as a guide for the expected result:. Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 4 Chapter 4 - Page 4. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. Practice 4-1: Deploy a Composite Application.
(49) Copyright © 2010, Oracle and/or its affiliates. All rights reserved.. Practices for Lesson 4 Chapter 4 - Page 5. Oracle University and (Oracle Corporation) use only.. These eKit materials are to be used ONLY by you for the express purpose SELF STUDY. SHARING THE FILE IS STRICTLY PROHIBITED.. 3.. Note: The default partition has a composite application, called SimpleApproval, already deployed. The SimpleApproval composite application exposes a Human Task component as a service for any other SOA applications to use a generic and simple approval human workflow task assignment service. On the Farm navigation tree, if needed, click the HelloWorldComposite [1.0] entry, and click the Dashboard tab. Using information in the HelloWorldComposite [1.0] > Dashboard tab page answer the following questions: Note: Because the HelloWorldComposite application has not been executed and therefore there are no metrics or run-time information to see, you can collapse the Recent Instances and “Recent Faults and Rejected Messages” sections on the page. a. What are the names and types of the components in the HelloWorldComposite application? Answer: The following two components exist (as determined from the Component Metrics section): − The HelloMediator component, which is a Mediator component type. − The HelloBPEL component, which is a BPEL component type. b. What is the name of the service entry point? Answer: The service entry point is called HelloMediator_ep (as shown in the Services and References section). You know this is a service entry point because the Usage column shows it is a Service type. c. Does the HelloWorldComposite application have any dependencies? Explain your answer. Answer: There are no dependencies (references) in the HelloWorldComposite application. If you look in the Services and References section, it does not contain any rows with the Reference type in the Usages column. Note: Other ways to verify whether a composite has dependencies or not, are to examine the composite.xml code looking for one or more <reference> XML elements, or look at a visual representation of the composite.xml to determine if there are external references. For example: The following image represents the HelloWorldComposite application in the Oracle JDeveloper Composite Editor:.
Outline
Related documents
To achieve the goal of reducing the digital divide, it is naïve and simplistic to suppose that a solely technological solution will enable the bridging between
The summary resource report prepared by North Atlantic is based on a 43-101 Compliant Resource Report prepared by M. Holter, Consulting Professional Engineer,
The proposed Peyton Slough Hydraulic Relief Project consists of removing an existing hydraulic restriction in Peyton Slough to improve water exchange between McNabney Marsh and Suisun
A new customer web- portal will be implemented and this will be a major education tool to help our customers become familiar with online information as it
APPROACH: The Health and Safety Executive (HSE) Stress Indicator Tool is widely used in the UK to assess key psychosocial hazards in the workplace encompassing demands, control,
When I visited the museum in 2013, the chair used by King Gyanendra for his last press conference had been moved into the main reception hall and labelled with a laminated piece
Wightman, Jessica, "Empowered for a Better Future: An Analysis of Women’s Empowerment Through Gulu Women’s Economic Development and Globalization (GWED-‐G) Organization in
Olgularımızın tedavi sonuçları ise şöyledir: Tedaviyi terk 1 olgu, işbirliği yapmayan 3 olgu, vefat 3 olgu, şifa 161 olgu (kür: 5 olgu, tedaviyi tamamlama: 156 olgu).. Tedavi