SlideShare a Scribd company logo
1 of 64
Download to read offline
1   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
CON8627- Administration and
Management Essentials for
Oracle SOA Suite 11g

Ramkumar Menon
Oracle SOA Suite Product Management

Francis Ip
Oracle SOA Suite A-Team


2   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
The following is intended to outline our general product direction. It is
        intended for information purposes only, and may not be incorporated
        into any contract. It is not a commitment to deliver any material,
        code, or functionality, and should not be relied upon in making
        purchasing decisions. The development, release, and timing of any
        features or functionality described for Oracle s products remains at
        the sole discretion of Oracle.



3   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Program Agenda

         §         Overview

         §         Provisioning and Configuration Management

         §         Managing a System in Production

         §         Transactions and Fault Handling

         §         Troubleshooting

         §         Q&A


4   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Overview
                                                    Mediation
                                                                                                                                     BPEL        Rules


                                                                                                                                               Human
                                                                                                                                                Task
                                                            BPEL
                                                     orchestration
                                                                       Human
                                                                       Tasks
                                                                                                     Web
                                                                                                  services                  SCA Composite
                                                             Business Rules                           and
                                                                                                  adapters


                                              SOA Composite Editor
                                                                                                                                         BPMN            BPEL
                                                                                                                                                                  Human
                                                                                                                                                                   Task
                                                                                                                                                                           …
                                                                                Policy
                                                                           Management                                                                                            Policy Manager
                                                                     Optimized                                                                                             Service Infrastructure
                                                           Service & Eventing
                                                                 Infrastructure                                                                SOAP
       B2B
    HTTP
     JCA
       EJB
                                                                                                                                                                                               …
                                                    Common Connectivity
                                                          Infrastructure


5   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Program Agenda

        §         Overview

        §         Provisioning and Configuration Management

        §         Managing a System in Production

        §         Transactions and Fault Handling

        §         Troubleshooting

        §         Q&A


6   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
SOA Domain
        Overview


         §  Overview                                                             Domain home                          Oracle home                              Typical SOA HA install
                                                                                  (configuration)                      (binaries)

    EM                  Administration
                        Server
                                                                                                                                                  Managed
                                                                                                                                                   Server
                                                                                                                                                                    …         Managed
                                                                                                                                                                               Server
    SOA                 Managed                                                  EM
                         Server                                                                                                                Cluster 1: SOA
                                                                                                     Administration
                                                                                 SOA                 Server
    BAM                Managed
                        Server
                                                                                 BAM                                                              Managed
                                                                                                                                                   Server
                                                                                                                                                                    …         Managed
                                                                                                                                                                               Server
                                                                                                                                               Cluster 2: BAM
    SOA_Domain                                                                        Cluster_Domain



7   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
SOA Configuration
        3 Types of Properties


         §  WLS Properties
              –  Persisted in domain configuration files, changes are propagated across the cluster by the Admin
                 Server.

         §  Service Infrastructure (soa-infra) Properties
              –  Properties are persisted in MDS (database), changes are automatically propagated across a
                 cluster.

         §  Composite Properties
              –  Meta-data associated with a composite is stored in MDS (database)
              –  These properties can be customized using a “Configuration Plan” at the time of deployment.
              –  Composite properties are automatically propagated across a cluster as part of the composite
                 deployment process.



8   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
SOA Domain
        Directory Structure                                                                                                                     domain home

                                                                                                                                               start/stop & env scripts

          §  Configuration:                                                                                                                   configuration root

               –  Stored under “config” directory
               –  The config directory contains a file called config.xml which is
                  the primary source of all configuration information within a
                  domain.
               –  SOA configuration is stored in MDS since PS1.

          §  Scripts:                                                                                                                                   local cache of deployed
                                                                                                                                                         composites

               –  Stored under “bin” directory.
               –  Start / stop Admin & Managed server
               –  Set environment and JVM properties

          §  Logs:                                                                                                                                     sub-directory for each
                                                                                                                                                        managed server (logs /
                –  Server logs are placed under servers/<server_name>/logs                                                                              cache)




9   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
SOA 11g MDS Store

             §  Runtime Store
                        –  Composite meta-data
                        –  Security policies
                        –  Error policies
                        –  B2B Agreements
                        –  Shared WSDLs and XSDs
                        –  ADF / Human Workflow

             §  Can be accessed from JDeveloper
                 and Ant.
             §  Configuration customization is stored
                 in MDS.

10   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Configuration Propagation in a Cluster
                                                                                                                                                WLS + Coherence Clusters
                                                                                                                 SOA 1

                                                  Admin                                                 SOA Cluster                                                MDS

                                          WLS Configuration                                                         SOA 2
                                                                                                                                                                SOA Configuration

                          WLS Configuration                                                                                                      SOA Configuration
 §  File based                                                                                                                 §  DB (MDS) based.
 §  AdminServer has “gold” copy                                                                                                §  Database has “gold” copy
 §  Configuration propagated by WLS JMX
                                                                                                                                §  Configuration propagated by soa-infra
     framework.
                                                                                                                                     using the Coherence cluster.
 §  During startup, a Managed Server copies
     configuration from AdminServer and                                                                                         §  During startup, a SOA server loads its
     overwrites local copy.                                                                                                          configuration from MDS.

11   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
SOA 11g HA Architecture
         2 Levels of Clustering
                                                                                                                                    §  WLS Cluster
                                                                                                                                                –  Defined in config.xml
                                                                                                                                                –  Can be viewed from WLS Console and
                                                                                                                                                  EM


                                                                                                                                    §  SOA Cluster
                                                                                                                                                –  Coherence based cluster
                                                                                                                                                –  Defined as system parameters in
                                                                                                                                                  startup scripts
                                                                                                                                                –  Can be validated through deployment /
                                                                                                                                                  configuration changes.


12   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Tools for Configuring SOA Applications

           §  SOA container configuration done through EM console /
                WLST

           §  Endpoint properties modified during deployment through a
                Configuration Plan
                     –  Created
                     –  Adapter properties


           §  WLS Console / WLST for managing WLS configuration
                –  Domain creation, adding / changing resources within a domain.



13   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Test to Production (T2P) Utility
         Minimize Manual Steps
           §  What is moved?
                     –       Installed binaries and patches
                     –       Configuration and metadata
                     –       Security config e.g. OPSS policies

           §  Supports MDS meta-data, JCA
                connection factories
           §  MovePlan – Rewiring external
                references to match target
                     –       Data-sources, endpoint addresses




14   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Program Agenda

           §  Overview

           §  Provisioning and Configuration Management

           §  Managing a System in Production

           §  Transactions and Fault Handling

           §  Troubleshooting

           §  Q&A



15   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Production Readiness

                                                                                                                                                                The Readiness Checklist




                                                                                                                                                Sign off on Qualifying Pre-Production Tests
                                                                                                                                                Clearly defined and documented processes
                                                                                                                                                Trained personnel lined up for Go-live and Post-Production
                                                                                                                                                Availability of a Production Replica Environment
                                                                                                                                                Identify SLAs and Key Transactions




16   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Tools for Middleware Management

                                                                            For Farm with a single WLS Domain. Composite lifecycle management, Instance Tracking, Performance
              EM FMW Control
                                                                            Metrics, Fault and Message Recovery
                  EM Grid Control
                                                                            Extends FMW Control for multiple farms. SOA/WLS Management Pack. Historical data, Alerts and
                      11g
                                                                            Notifications
                      WLS Admin
                       Console                                              Monitor and manage the WLS domain and Managed Servers. Configure JDBC, JMS, JTA, Security,
                                                                            Deploy Applications etc.
                JR Mission Control
                                                                            JVM monitoring and management. Flight recorder for troubleshooting and diagnosis.


                             WLDF                                           Generate and Analyze diagnostic data from WLS instances and your applications. Watches and
                                                                            Notifications. Integrate with JFR for troubleshooting.

                             WLST                                            Create/manage/monitor WLS Domains via Jython based WLI. WLS Admin Console/Configuration Wizard
                                                                             on a command line.

                              BAM                                            Real-Time Business dashboards. Correlate Business Indicators with System Metrics by integrating
                                                                             with EM GC 11g



17   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
EM FMW Control
                                                                                                                                                              • SOA Composite Lifecycle
                                                                                                                                                              Management

                                                                                                                                                              • Transaction Search and Drill Down

                                                                                                                                                              •  Fault and Message Recovery

                                                                                                                                                              •  Service Engine Configuration

                                                                                                                                                              • Live In-flight DMS Performance
                                  BPEL
                                                                                                                                                              Metrics
                                  Ext                                                                                                            Drill-down
                                                                                                                                                              • System MBean Browser for
                                  ern
                                  Hu                                                                                                                 into
                                                                                                                                                component     advanced configuration and metrics
                                  ma
                                  al
                                  Rou
                                                                                                                                                       s

                                  Ser
                                  n
                                  Bus
                                  ting                                                                                                                        • Use FMW Control for searching and
                                                                                                                                                              tracking your composite instances
                                  Wo
                                  vic
                                  ine
                                  e
                                  rkfl
                                  ss
18
                                  ow
                                  Rul
     Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
FMW Control - Key Performance Tuning Tasks
      §  Configure SOA-Infra Properties
           •  Audit/Instance Tracking(CPU,DB),
               Payload Validation (CPU)

      §  Configuring Service Engine threads
           •  BPEL - Threads(Concurrency), Audit
               (DB), Validation (CPU)
                 •      Mediator - Parallel/Resequencer Threads
                        (Concurrency), Audit (DB), Sleep
                        Intervals/Metrics Level (CPU)

      §  Configure Adapter Properties
           •  MaxRaise/TxnSize(DB), Number of
               Threads (Concurrency)

      §  All this Accessible as MBeans - Update
            via WLST


19   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
SOA Management Pack Enterprise Edition

           §  Business Transaction Management
                     –       Discovery of transaction flows across the enterprise
                     –       Leverages transaction content/payload for business visibility                                                             Development
                     –       Exception Management                                                                                                Business     Performance
                                                                                                                                                Transaction        &
           §  Performance & Diagnostics                                                                                                        Management    Diagnostics
                     –       Enterprise scale multi-domain management
                     –       Specific framework/metadata knowledge
                                                                                                                                                Production           Test
                     –       SOA 10g (BPEL/ESB), SOA 11g (BPEL/Mediator/DS/HW)
                                                                                                                                                        Lifecycle
                     –       OSB (Business/Proxy Svc, Pipelines)                                                                                       Management
           §  Lifecycle Management
                     –       Configuration Management: SOA infrastructure and applications
                     –       SOA domain and application provisioning
                     –       SOA Patching support


20   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
JRockit Mission Control
 §  Negligible performance overhead.
 §  Comprised of three toolkits.
          –  Management Console - for managing and
                 monitoring one or more JVMs.
          –  Runtime Analyzer – Application and VM
                 Profiler. Record and Playback for Root-
                 cause analysis.
                       §    Analyze patterns around GC, CPU, Latency, Locks etc

          –  Memory Leak Detector

 §  Integrates with WLDF for analysis of
     diagnostic dumps
 §  Use JRMC to root-cause performance
     issues by analyzing memory, CPU, thread
     contention, locks etc via Flight
     Recordings. (Use for Support
     engagements)
21   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
WLDF and DFW

           §  Enable Just-in-time Proactive diagnostics
           §  Reduce time and effort for collecting diagnostic information.
           §  Support for SOA Suite Diagnostic dumps -
                adf.ADFConfigDiagnosticDump,soa.composite, soa.composite.trail, soa.config, soa.db
                soa.edn, soa.env, soa.wsdl
           §  SOA specific DMS Metrics – Message Processing metrics
           §  Manually trigger dumps




22   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
WLST
                                                                                                                                                    q .Jython based CLI
                                                                                           WLST                                                     q Create, monitor and manage WLS
                                                                                                                                                    Domains
                                                                                                                                                    q  Runs in Interactive,Batch or
                                                                                                                                                    Embedded Mode
                                                 Online                                                                              Offline



                                                                                                                                  Create
                           Composite                      MBean                    WLDF Integration                               Domain
    Server                Deployment                    access and                    to export
   Lifecycle                                                                                                                    Templates/
                          and Lifecycle                  Updates                   Diagnostic Data
                                                                                                                                 Domains
                                                                                                                                   from
                                                                                                                                Templates,
                                                                                                                                  Extend
                                          DomainRunti                   ServerRunti                 Custom(For                  Domains etc
          DomainMBean                      meMBean                       meMBean                      SOA)



•  Command line automation .
•  Hierarchical navigation via domain and server Mbeans:
   •  retrieve and set domain metrics and properties
   •  start/stop servers etc
   •  WLST recording available
    23   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Capacity Planning

          §  Hardware Resources (Memory, CPU)
          §  Database Capacity
          §  HA Requirements (Shared Storage)
          §  Methodology
          §  Retention policy
          §  Data Archival



24   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Purging
         Via EM Console [For Targeted Deletion], or via Purge Scripts and/or dropping Partitions[For Bulk]
         Scripts located at RCU_HOME/rcu/integration/soainfra/sql/soa_purge

§  Looping                                                                             §  Parallel                                            §  Partitioning
                                                                                                                                                §  Dropping partitions is the fastest way
                                                                                                                                                  to purge.
                                                                                                                                                §  Time-Range Partitioning Done at the
                                                                                                                                                  component level.
                                                                                                                                                §  Decide time-range based on
§  Useful for small installations [~100k                                               §  Useful for medium [ ~500 GB total to ~10              average and max composite lifetime.
     rows]                                                                                  GB daily] to large installations                    §  Run this in conjunction with parallel
§  Loops and runs until max_runtime                                                    §  Resource intensive – hence run during                 purging for a mixed load.
     loop parameter is exceeded.                                                             off hours.DOP indicates number of
§  Not resource intensive, but slow                                                         parallel threads.
     performance.                                                                       §  For large installs [>~500 GB total or >
§  All purgeable instances are deleted.                                                    ~10 GB daily], recommended to run a
                                                                                             hybrid of parallel purging + dropping
                                                                                             partitions, using optimal thread counts.


25   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Program Agenda

           §  Overview

           §  Provisioning and Configuration Management

           §  Managing a System in Production

           §  Transactions and Fault Handling

           §  Troubleshooting

           §  Q&A



26   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Fault Handling – Key Factors

           §  Handled Faults
                     –  Handled programmatically – Component / Policy
                     –  Can specify manual intervention through EM
                     –  Principal transaction not rolled back



           §  Un-handled Faults
                     –  Not handled programmatically
                     –  Typically leads to transaction rollback
                     –  Messages can be re-tried when they are retrievable
                                  §  JMS queue, DB table, Dehydration storeetc.



27   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
BPEL – Threads, Transactions and Faults

 Client
                                                                                                                               Services           Client             Services
                                    Receive                                  Client                                           Receive                                Receive

                                                                                            Commit                                                          Commit

                                    Invoke                                                                                    Invoke                                 Invoke


                                                                                                                             Commit                                  Commit

                                     Reply
                                                                                                                                                  Partner
                                                                                                                                                                     Receive
                                    Commit
                                                                                                                                                            Commit

                                                                                                                                                                     Invoke
                                                                                                                                                 Asynchronous
Synchronous                                                                  Asynchronous                                                        Durable             Commit
Process                                                                      Process                                                             Process

 28   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
BPEL – Threads, Transactions and Faults

 Client Fault
                                                                                                                               Services                 Client               Services
                                    Receive                                  Client                                           Receive                                        Receive

                                                                                            Commit                                                                  Commit

                                                 Rollback




                                                                                                                                        Rollback
                                    Invoke                                                                                    Invoke                                         Invoke


                                                                                                                             Commit                                          Commit

                                     Reply
                                                                                                                                                        Partner
                                                                                                                                                                             Receive
                                    Commit                                                                                             Invoke, Callback, Activity
                                                                                          Type                                                                      Commit




                                                                                                                                                                                  Rollback
                                                                                                                                                                             Invoke
                                                                                                                                                   Asynchronous
                                                                                                                                       Recover, Mark Cancelled, Reset
Synchronous                                                                  Asynchronous
                                                                                   Action                                                           Durable                  Commit
Process                                                                      Process                                                                Process

 29   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
BPEL – Threads, Transactions and Faults
         Breakpoint Activities
                                                                                                       Receive



                                                                                                                                                “Breakpoint” activity is
                                                                                                                                                transaction boundary
                                                                                                                                                  •  Receive
                                                                                                                                                  •  Wait
                                                                                                       <Activity>                                 •  Pick - onMessage
                                                                                                                                                  •  Pick - onAlarm
                                                                                                                                                  •  Mid-process Reply
                                                                                                                                                  •  Idempotent Invoke
                                                                                                                                                  •  Non-blocking Invoke
                                                                                                       …                                          •  Fault Policy Retries
                                                                                                                                                  •  …
                                                                                                                           exception or system crash
                                                                                                                           rolls message back into DB,
                                                                                                                           available to BPEL SE for
                                                                                                                           manual (activity) recovery


30   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Mediator                                                                                                                                               (3) Worker threads
                                                                                                                                                                process messages
         Sequential vs. Parallel Routing
                                                      Mediator                                                                                   Mediator




                                                                                                                                                                …
                  Caller thread
               executes routing

                                                                                                                             (1) Caller thread               (2) A single locker thread
                                                                                                                              saves message                  retrieves messages in
                                                                                                                                                             batch



                                                                                                                                                            Tune the locker thread
                                                                                                                                                            batch size and # of worker
                                                                                                                                                            threads for parallel routing
                                                                                                                                                            rules



31   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Mediator Service Engine                                                                                                                               (3) Worker threads
                                                                                                                                                               processes messages

         Sequential vs. Parallel Routing
                                                      Mediator                                                                                   Mediator




                                                                                                                                                               …
                                                                            returns
                  Caller thread                                       exception (or
               executes routing                                         timeout) to
                                                                              caller
                                                                                                                             (1) Caller thread              (2) A single locker thread
                                                                                                                              saves message                 retrieves messages in
                                                                                                                                                            batch


                                                                                                                    Recover Mediator parallel
                                                                                                                    instances via EM console –
                                                                                                                                                                   Transaction rolls back,
                                                                                                                    Faults page for soa-infra,
                                                                                                                                                            available for manual instance
                                                                                                                    composite or Mediator SE
                                                                                                                                                                                 recovery



32   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Programmatic Fault Handling
         Fault Policies
           §  Fault Policies
                     –  Covers BPEL invoke, adapter rejection message
                     –  Are externalized fault handling rules (XML files)

           §  Fault bindings
                     –  Bind policies to Reference, Service (inbound adapter), Component, Composite
                     –  Can define a conditions chain of actions

           §  Actions
                     –  Retry, Abort, Replay, Re-throw
                     –  Custom Java actions
                     –  Human Intervention – recover from EM

33   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Manual / Scripted Fault Handling - Recovery
                                                                                                                                                                           Faults &
                                                                                                                                                                          exceptions


           §  Recovery Options for
                Administrators:
                     –  Human intervention actions
                             defined by fault policies                                                                                                         Recovery
                                                                                                                                                                screen                 log

                     –  BPEL message recovery for
                             unhandled faults
                                  §  Auto-recovery configured via
                                       MBean
                                  §  Manual Recovery from BPEL
                                       recovery console.                                                                                          Action
                     –  Rejected messages from
                                                                                                                                                Edit payload
                             inbound adapters

34   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Program Agenda

           §  Overview

           §  Provisioning and Configuration Management

           §  Managing a System in Production

           §  Transactions and Fault Handling

           §  Troubleshooting

           §  Q&A



35   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Troubleshoot SOA

           §  Oracle Fusion Middleware Diagnostic
                     –  Diagnostic Framework
                     –  Selective Tracing
                     –  SOA Service engine statistics
           §  JDK Diagnostic
           §  Operating System Diagnostic
           §  Database and external resources diagnostic




36   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Troubleshooting SOA
         Oracle Fusion Middleware Diagnostic Framework



                                                                                 Log
         Diagnostic                                                              Files
                                                                                                                        Diagnostic
                                                                                                                                                WLDF     MBeans
                                                                                                                         Dumps
            data



                                                                                                                                                          WLST
                                                                                                                                                       Command Line
                                                                                Automatic Diagnostic Repository                                           Utilities
                                                                                            (ADR)
37   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Troubleshooting SOA
            Oracle Fusion Middleware Diagnostic Framework
          §  “Problem”
                     –      listProblems(), …
          §  “Incident”
                     –      listIncidents()
                     –      showIncident(id=‘1’)
                     –      createIncident()


          §  “Dump”
                     –      listDumps(appName=‘soa-infra’)
                     –      describeDump(name=‘soa.env’, appName=‘soa-infra’)
                     –      executeDump(name=‘soa.env’, appName=‘soa-ifnra’)

          §  “Diagnostic Rule”


38   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Troubleshooting SOA
            Oracle Fusion Middleware Diagnostic Framework
                                                                                                                                  §  Configure WLDF Watch and Notification




39   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Troubleshooting SOA
            Oracle Fusion Middleware Diagnostic Framework




40   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Troubleshooting SOA
         Anatomy of a Log File                                     3
                                               2
     1
       [2011-09-22T06:50:07.986-07:00] [AdminServer] [NOTIFICATION] []
     4 [oracle.integration.platform.blocks.deploy] [tid: [ACTIVE].ExecuteThread: '3' for 5
                                                   6
         queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 7
         3c584fd020bdf1ba:-65df75b4:132916143aa:-8000-0000000000000166,1:23265:2]
                       9
      8 [APP: soa-infra] [Deployment] Component: SendMail was successfully deployed to
         service engine:implementation.bpel, for composite:SendMailApp

         1.  Timestamp                                                                  5. Thread ID                                            9. Message Data
         2.  Server Name                                                                6. User ID
         3.  Message Type                                                               7. Execution Context ID
         4.  Component ID                                                               8. Supplemental Attribute

41   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Troubleshooting SOA
         Viewing Log Files in EM




                                                                                                                      Message Pane




42   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Troubleshooting SOA
         Use of ECID
           §  Globally unique identifier
           §  Enables you to track a message flow that crosses
               instances of different composites.
           §  Usually generated at the time of receiving the incoming
               message




43   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Troubleshooting SOA
         Editing Log Configuration




44   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Troubleshooting SOA
          Setting Logging Levels
                                                                                                                                                 Logging Levels




                                                                                                Active Loggers
 Saved
Loggers



                                                              Logger for SOA
                                                                 Adapters


                                                                               Logger for BPEL




 45   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Troubleshooting SOA
         Selective Tracing
           Increase log levels for
             chosen context,
                                                                                                                                                Context: Composite Name, Client Address etc
             loggers, and servers



                                                                                                                                                                               Trace Level



                                                                                                                                                                                   Loggers


                                                                                            Under
                                                                                            WebLogic
                                                                                            Domain




46   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Trouble Shooting SOA
         BPEL Engine Statistics
           §  Requests: pending and
                active
                                                                                                                                                Requests
           §  Threads
           §  Request break down show
                BPEL activities



                                                                                                                                                 Threads




                                                                                                                                                 Request
                                                                                                                                                Breakdown


47   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Troubleshooting SOA
         Debugging URLs
           §  http://soa-server:port/soa-infra: Sanity check
           §  http://soa-server:port/soa-infra/cluster/info: Cluster info
           §  http://soa-server:port/wls-cat : Class loader analysis tool




48   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Troubleshoot SOA
         JDK Monitoring: Verbose GC
           §  What it may show
                –  JVM heap memory utilization
                –  Memory leaks
                –  Major and minor garbage collection frequency and time
                –  JVM health in general

           §  How to produce:
                     –  JVM command line argument

           §  How to analyze:
                     –  GCViewer
49   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Troubleshooting SOA
         JDK Monitoring: Thread Dumps
           §  What it shows:
                –  Application or product deficiency
                –  External resource contentions
                –  JVM health

           §  How to produce:
               §  Console / WLST / Kill -3 <pid> / jstack <pid> / jrcmd <pid> print_threads

               §  Taken repetitively, during the period when symptom occurs

           §  How to analyze
                     –  ThreadLogic
50   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Troubleshooting SOA
         Operating System Monitoring
           §  What to look for
                –  High CPU system time
                –  High CPU wait time
                –  High CPU idle time along with poor throughput




51   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Troubleshoot SOA
         Operating System Monitoring

                        OS                                                                                            Tools
                        Linux                                                                                         top, netstat, iostat
                        Solaris                                                                                       prstat, vmstat, mpstat, netstat,
                                                                                                                      iostat
                        AIX, Linux                                                                                    nmon
                        Windows                                                                                       Task Manager, Resource
                                                                                                                      Monitor




52   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Common Problems and Solutions
         Resolving common startup problems with SOA server
           §  Problem: ClassNotFound                                                                                           •  Problem: SOA Server (soa_infra)
                exceptions when SOA                                                                                                does not start
                server is started by a Node
                                                                                                                                •  Solutions:
                Manager
                                                                                                                                     •  Check port conflicts
           §  Solution: Add property
                StartScriptEnabled=true to                                                                                           •  Make sure MDS schema is
                nodemanager.properties.                                                                                                 reachable
                                                                                                                                     •  Check coherence configuration
                                                                                                                                        in clustered setup. Make sure
                                                                                                                                        that you’re using command line
                                                                                                                                        instead of active cache
                                                                                                                                        configuration

53   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Common Problems and Solutions
         Resolving OS level problems
           §  Problem: ‘Too many open files’ during compilation or runtime.
           §  Solution: /etc/security/limits.conf to increase the value of both file
                descriptors to at least 4096.




54   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Common Problems and Solutions
         Resolving transaction or connection timeouts
           §  Problem: Transaction or connection timeouts
           §  Solution:
                     –  Figure out why the transaction takes so long!
                     –  Increase transaction timeout for at Domain and soa-infra EJBs




55   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Common Problems and Solutions
         Common application-related Problems
           §  Problem: Changes to connection factories JNDI (Configuration -> Outbound
                Connection Pool) for SOA adapters do not take effect .                                                                           Click ‘Update’ after
                                                                                                                                                selecting the adapter



                                         Click ‘Save’ after the
                                      connection factory properties
                                          have been updated




                                                                            Hit ‘Enter’ Key
                                                                            after changing




56   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Common Problems and Solutions
         Common adapter-related Problems
           §  Problem: Mis-configured                                                                                  •  Problem: Duplicate message
               Queues/Datasource in                                                                                        processing for non-transactional
               JMSAdapter and DBAdapter.                                                                                   adapters (File/Ftp) in clustered
           §  Solution: Make sure that the                                                                                setup.
               runtime resources such as                                                                                •  Solution: Use ‘eis/HAFileAdapter’
               JMS connection factories,                                                                                   or ‘eis/ftp/HAFtpAdapter’ in jca
               JMS Queues, DB                                                                                              configuration. Alternatively
               datasources are configured                                                                                  configure active-passive failover in
               properly in the WLS console                                                                                 the composite.xml file by
                                                                                                                           configuring “standalone” property
                                                                                                                           with ”true”


57   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
EM Performance Issue

           §  Issue: EM
                dashboard loads
                slowly / hangs on
                login.

           §  Step 1: Set default
                time duration for
                aggregate queries.
           §  Step 2: Disable
                auto-fetch of
                aggregated metrics.




58   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
Q&A


59   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
60   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
61   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
APPENDIX


62   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
BPEL Service Engine (to be removed)
         Threads and Persistence
                                                                                                                     Msg persisted (DB)

     Sync                                                                                  Async
     Proces
                                                      Receive                              Proce                           Receive              De/       (1st) process hydration

     s                                                                                     ss                                                   hydr
                                                                                                                                                           (2nd) callback msg
                                                                                                                                                ation           persisted (DB),
                                                                                                                                                                triggers dehydration
    sync process                                      …                                                                    …
invoke executed
                                                                                                                                                Receive
 by caller thread,
      e.g. servlet
                                                                                                                                                               After hydration (e.g
                                                                                                                                                               mid-process
                                                                                                                                                …
                                                      Reply                                                                                                    receive activity for
                                                                                                                                                               async callback)
                                                                                                     async process
                                                                                                                                                               process executed
                                                                                                     invoke executed
                                                                                                                                                               by BPEL engine
                                                                                                     by BPEL engine
                                                                                                                                                               engine thread
                                                                                                     invoker thread

63   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13
BPEL Service Engine (to be removed)
           Faults and Transactions
                                                                                                                       msg persisted (DB)
                                                                                             Async

       Sync                                                                                  Proc                                                 De/       (1st) process hydration

       Proc                                             Receive
                                                                                             ess                             Receive              hydr       (2nd) callback msg
       ess                                                                                                                                        ation           persisted (DB),
                                                                                                                                                                  triggers dehydration

                                                                                                                                                  Receive
                                                        …                                                                    …



      exception or                                                                                                                                               exception or system
     system crash                                                                                                                                                crash rolls message
                                                                                      exception or system crash rolls                             …              back into DB,
returns exception                                                                     message back into DB, available
    (or timeout) to                                                                                                                                              available to BPEL
                                                                                      to BPEL SE for manual (invoke)
             client                                                                                                                                              SE for manual
                                                                                      recovery.
                                                                                                                                                                 (callback) recovery.

 * – A 3rd type of recovery is Activity                                               composite running but BPEL                                                 composite and BPEL
     recovery. See next slide.                                                        instance faulted; new instance
                                                                                                                                                                 instance running
                                                                                      initiated on recovery.

  64   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.   Insert Information Protection Policy Classification from Slide 13

More Related Content

What's hot

USP&amp;E Company Overview 2012 1
USP&amp;E Company Overview 2012 1USP&amp;E Company Overview 2012 1
USP&amp;E Company Overview 2012 1gruver777
 
Les.sorge
Les.sorgeLes.sorge
Les.sorgeNASAPMC
 
Data map - classified according to sensitive, personal, confidential and uncl...
Data map - classified according to sensitive, personal, confidential and uncl...Data map - classified according to sensitive, personal, confidential and uncl...
Data map - classified according to sensitive, personal, confidential and uncl...Ian Clive Oultram
 
Share Point 2010 Deployment
Share Point 2010 DeploymentShare Point 2010 Deployment
Share Point 2010 DeploymentKamol Sagwan
 
Developer & Fusion Middleware 2 _ Steve Tindall _ An engineered platform solu...
Developer & Fusion Middleware 2 _ Steve Tindall _ An engineered platform solu...Developer & Fusion Middleware 2 _ Steve Tindall _ An engineered platform solu...
Developer & Fusion Middleware 2 _ Steve Tindall _ An engineered platform solu...InSync2011
 
WebSphere Connectivity & Integration: Building a foundation for an agile busi...
WebSphere Connectivity & Integration: Building a foundation for an agile busi...WebSphere Connectivity & Integration: Building a foundation for an agile busi...
WebSphere Connectivity & Integration: Building a foundation for an agile busi...IBM Sverige
 
Upgrade approaches share_pointproducts
Upgrade approaches share_pointproductsUpgrade approaches share_pointproducts
Upgrade approaches share_pointproductsArd van Someren
 
JUG Darmstadt - Java EE 7 - Auf in die Wolken!
JUG Darmstadt - Java EE 7 - Auf in die Wolken!JUG Darmstadt - Java EE 7 - Auf in die Wolken!
JUG Darmstadt - Java EE 7 - Auf in die Wolken!Markus Eisele
 
Analyst briefing session 3 low carbon london
Analyst briefing session 3   low carbon londonAnalyst briefing session 3   low carbon london
Analyst briefing session 3 low carbon londonCGI
 
Two Steps Forward and One Step Back: The Real Path of HR Metrics and Analyti...
Two Steps Forward and One Step Back:  The Real Path of HR Metrics and Analyti...Two Steps Forward and One Step Back:  The Real Path of HR Metrics and Analyti...
Two Steps Forward and One Step Back: The Real Path of HR Metrics and Analyti...HR Network marcus evans
 

What's hot (14)

USP&amp;E Company Overview 2012 1
USP&amp;E Company Overview 2012 1USP&amp;E Company Overview 2012 1
USP&amp;E Company Overview 2012 1
 
Les.sorge
Les.sorgeLes.sorge
Les.sorge
 
Lessons from a Rewrite
Lessons from a RewriteLessons from a Rewrite
Lessons from a Rewrite
 
Data map - classified according to sensitive, personal, confidential and uncl...
Data map - classified according to sensitive, personal, confidential and uncl...Data map - classified according to sensitive, personal, confidential and uncl...
Data map - classified according to sensitive, personal, confidential and uncl...
 
Share Point 2010 Deployment
Share Point 2010 DeploymentShare Point 2010 Deployment
Share Point 2010 Deployment
 
Developer & Fusion Middleware 2 _ Steve Tindall _ An engineered platform solu...
Developer & Fusion Middleware 2 _ Steve Tindall _ An engineered platform solu...Developer & Fusion Middleware 2 _ Steve Tindall _ An engineered platform solu...
Developer & Fusion Middleware 2 _ Steve Tindall _ An engineered platform solu...
 
WebSphere Connectivity & Integration: Building a foundation for an agile busi...
WebSphere Connectivity & Integration: Building a foundation for an agile busi...WebSphere Connectivity & Integration: Building a foundation for an agile busi...
WebSphere Connectivity & Integration: Building a foundation for an agile busi...
 
Upgrade approaches share_pointproducts
Upgrade approaches share_pointproductsUpgrade approaches share_pointproducts
Upgrade approaches share_pointproducts
 
JUG Darmstadt - Java EE 7 - Auf in die Wolken!
JUG Darmstadt - Java EE 7 - Auf in die Wolken!JUG Darmstadt - Java EE 7 - Auf in die Wolken!
JUG Darmstadt - Java EE 7 - Auf in die Wolken!
 
Analyst briefing session 3 low carbon london
Analyst briefing session 3   low carbon londonAnalyst briefing session 3   low carbon london
Analyst briefing session 3 low carbon london
 
Alfresco in an Hour
Alfresco in an HourAlfresco in an Hour
Alfresco in an Hour
 
Two Steps Forward and One Step Back: The Real Path of HR Metrics and Analyti...
Two Steps Forward and One Step Back:  The Real Path of HR Metrics and Analyti...Two Steps Forward and One Step Back:  The Real Path of HR Metrics and Analyti...
Two Steps Forward and One Step Back: The Real Path of HR Metrics and Analyti...
 
MT-C - company presentation
MT-C - company presentationMT-C - company presentation
MT-C - company presentation
 
Maples esm technologies
Maples esm technologiesMaples esm technologies
Maples esm technologies
 

Similar to Soa config con8627_pdf_8627_0001

Fusion app customization_con8719_pdf_8719_0001
Fusion app customization_con8719_pdf_8719_0001Fusion app customization_con8719_pdf_8719_0001
Fusion app customization_con8719_pdf_8719_0001jucaab
 
Understanding Oracle ADF and its role in Oracle Fusion Middleware
Understanding Oracle ADF and its role in Oracle Fusion MiddlewareUnderstanding Oracle ADF and its role in Oracle Fusion Middleware
Understanding Oracle ADF and its role in Oracle Fusion MiddlewareRefundation
 
Five Cool Use Cases for the Spring Component in Oracle SOA Suite
Five Cool Use Cases for the Spring Component in Oracle SOA SuiteFive Cool Use Cases for the Spring Component in Oracle SOA Suite
Five Cool Use Cases for the Spring Component in Oracle SOA SuiteGuido Schmutz
 
Business Integration for the 21st Century
Business Integration for the 21st Century Business Integration for the 21st Century
Business Integration for the 21st Century Bob Rhubart
 
Customer MDM Is Key To Strategic Business Success
Customer MDM Is Key To Strategic Business SuccessCustomer MDM Is Key To Strategic Business Success
Customer MDM Is Key To Strategic Business SuccessJerome Leonard
 
Webinar: Spagic and eForm Services: a practical approach to PDF support
Webinar: Spagic and eForm Services: a practical approach to PDF supportWebinar: Spagic and eForm Services: a practical approach to PDF support
Webinar: Spagic and eForm Services: a practical approach to PDF supportSpagoWorld
 
WSO2Con2011: Using WSO2 ESB with SAP ERP (Retail)
WSO2Con2011: Using WSO2 ESB with SAP ERP (Retail)WSO2Con2011: Using WSO2 ESB with SAP ERP (Retail)
WSO2Con2011: Using WSO2 ESB with SAP ERP (Retail)WSO2
 
Aras PLM Software Integration Basics
Aras PLM Software Integration BasicsAras PLM Software Integration Basics
Aras PLM Software Integration BasicsAras
 
Otnvdd soapreso1-overview-494866
Otnvdd soapreso1-overview-494866Otnvdd soapreso1-overview-494866
Otnvdd soapreso1-overview-494866elnazeer
 
System Software, IBM Power Event
System Software, IBM Power EventSystem Software, IBM Power Event
System Software, IBM Power EventIBM Danmark
 
Nuxeo Summer Seminar 2007 - Nuxeo Platform 5.1 (EN)
Nuxeo  Summer Seminar 2007 -  Nuxeo Platform 5.1 (EN)Nuxeo  Summer Seminar 2007 -  Nuxeo Platform 5.1 (EN)
Nuxeo Summer Seminar 2007 - Nuxeo Platform 5.1 (EN)Stefane Fermigier
 
Aras How To Think About Aras Integrations
Aras How To Think About Aras IntegrationsAras How To Think About Aras Integrations
Aras How To Think About Aras IntegrationsProdeos
 
Aras how-to-think-about-aras-integrations
Aras how-to-think-about-aras-integrationsAras how-to-think-about-aras-integrations
Aras how-to-think-about-aras-integrationshisatsugum
 
Five Cool Use Cases for the Spring Component of the SOA Suite 11g
Five Cool Use Cases for the Spring Component of the SOA Suite 11gFive Cool Use Cases for the Spring Component of the SOA Suite 11g
Five Cool Use Cases for the Spring Component of the SOA Suite 11gGuido Schmutz
 
Nuxeo Corporate Presentation - April 2007
Nuxeo Corporate Presentation - April 2007Nuxeo Corporate Presentation - April 2007
Nuxeo Corporate Presentation - April 2007Stefane Fermigier
 
NIEM and Oracle Overview October 2011
NIEM and Oracle Overview October 2011NIEM and Oracle Overview October 2011
NIEM and Oracle Overview October 2011Bizagi Inc
 
Exploring The Potential Role Of Unstructured Processes V4
Exploring The Potential Role Of Unstructured Processes V4Exploring The Potential Role Of Unstructured Processes V4
Exploring The Potential Role Of Unstructured Processes V4DrMich
 

Similar to Soa config con8627_pdf_8627_0001 (20)

Fusion app customization_con8719_pdf_8719_0001
Fusion app customization_con8719_pdf_8719_0001Fusion app customization_con8719_pdf_8719_0001
Fusion app customization_con8719_pdf_8719_0001
 
Understanding Oracle ADF and its role in Oracle Fusion Middleware
Understanding Oracle ADF and its role in Oracle Fusion MiddlewareUnderstanding Oracle ADF and its role in Oracle Fusion Middleware
Understanding Oracle ADF and its role in Oracle Fusion Middleware
 
Five Cool Use Cases for the Spring Component in Oracle SOA Suite
Five Cool Use Cases for the Spring Component in Oracle SOA SuiteFive Cool Use Cases for the Spring Component in Oracle SOA Suite
Five Cool Use Cases for the Spring Component in Oracle SOA Suite
 
Business Integration for the 21st Century
Business Integration for the 21st Century Business Integration for the 21st Century
Business Integration for the 21st Century
 
Customer MDM Is Key To Strategic Business Success
Customer MDM Is Key To Strategic Business SuccessCustomer MDM Is Key To Strategic Business Success
Customer MDM Is Key To Strategic Business Success
 
Enterprise Managment Operational Flow Mapped To OMB FEA and DoDAF
Enterprise Managment Operational Flow Mapped To OMB FEA and DoDAFEnterprise Managment Operational Flow Mapped To OMB FEA and DoDAF
Enterprise Managment Operational Flow Mapped To OMB FEA and DoDAF
 
Webinar: Spagic and eForm Services: a practical approach to PDF support
Webinar: Spagic and eForm Services: a practical approach to PDF supportWebinar: Spagic and eForm Services: a practical approach to PDF support
Webinar: Spagic and eForm Services: a practical approach to PDF support
 
WSO2Con2011: Using WSO2 ESB with SAP ERP (Retail)
WSO2Con2011: Using WSO2 ESB with SAP ERP (Retail)WSO2Con2011: Using WSO2 ESB with SAP ERP (Retail)
WSO2Con2011: Using WSO2 ESB with SAP ERP (Retail)
 
Aras PLM Software Integration Basics
Aras PLM Software Integration BasicsAras PLM Software Integration Basics
Aras PLM Software Integration Basics
 
Otnvdd soapreso1-overview-494866
Otnvdd soapreso1-overview-494866Otnvdd soapreso1-overview-494866
Otnvdd soapreso1-overview-494866
 
System Software, IBM Power Event
System Software, IBM Power EventSystem Software, IBM Power Event
System Software, IBM Power Event
 
Nuxeo Summer Seminar 2007 - Nuxeo Platform 5.1 (EN)
Nuxeo  Summer Seminar 2007 -  Nuxeo Platform 5.1 (EN)Nuxeo  Summer Seminar 2007 -  Nuxeo Platform 5.1 (EN)
Nuxeo Summer Seminar 2007 - Nuxeo Platform 5.1 (EN)
 
Aras How To Think About Aras Integrations
Aras How To Think About Aras IntegrationsAras How To Think About Aras Integrations
Aras How To Think About Aras Integrations
 
Aras how-to-think-about-aras-integrations
Aras how-to-think-about-aras-integrationsAras how-to-think-about-aras-integrations
Aras how-to-think-about-aras-integrations
 
Five Cool Use Cases for the Spring Component of the SOA Suite 11g
Five Cool Use Cases for the Spring Component of the SOA Suite 11gFive Cool Use Cases for the Spring Component of the SOA Suite 11g
Five Cool Use Cases for the Spring Component of the SOA Suite 11g
 
Nuxeo Corporate Presentation - April 2007
Nuxeo Corporate Presentation - April 2007Nuxeo Corporate Presentation - April 2007
Nuxeo Corporate Presentation - April 2007
 
NIEM and Oracle Overview October 2011
NIEM and Oracle Overview October 2011NIEM and Oracle Overview October 2011
NIEM and Oracle Overview October 2011
 
July 7 Demo Deck
July 7 Demo DeckJuly 7 Demo Deck
July 7 Demo Deck
 
Exploring The Potential Role Of Unstructured Processes V4
Exploring The Potential Role Of Unstructured Processes V4Exploring The Potential Role Of Unstructured Processes V4
Exploring The Potential Role Of Unstructured Processes V4
 
Skelta BPM
Skelta BPMSkelta BPM
Skelta BPM
 

More from jucaab

Soa con8642 pdf_8642_0001
Soa con8642 pdf_8642_0001Soa con8642 pdf_8642_0001
Soa con8642 pdf_8642_0001jucaab
 
Soa cloud con8968_pdf_8968_0001
Soa cloud con8968_pdf_8968_0001Soa cloud con8968_pdf_8968_0001
Soa cloud con8968_pdf_8968_0001jucaab
 
Otm 2013 c13_e-14a-pospelov-evgeniy-taking-control-over-transportation-spend
Otm 2013 c13_e-14a-pospelov-evgeniy-taking-control-over-transportation-spendOtm 2013 c13_e-14a-pospelov-evgeniy-taking-control-over-transportation-spend
Otm 2013 c13_e-14a-pospelov-evgeniy-taking-control-over-transportation-spendjucaab
 
Otm 2013 c13_e-14b-hatcher-and-van-haaster-otm-sap-integration
Otm 2013 c13_e-14b-hatcher-and-van-haaster-otm-sap-integrationOtm 2013 c13_e-14b-hatcher-and-van-haaster-otm-sap-integration
Otm 2013 c13_e-14b-hatcher-and-van-haaster-otm-sap-integrationjucaab
 
Otm 2013 c13_e-17a-plessis-elisabeth-otm-self-help
Otm 2013 c13_e-17a-plessis-elisabeth-otm-self-helpOtm 2013 c13_e-17a-plessis-elisabeth-otm-self-help
Otm 2013 c13_e-17a-plessis-elisabeth-otm-self-helpjucaab
 
Otm 2013 c13_e-17b-andriesse-lourens-otm-data-management
Otm 2013 c13_e-17b-andriesse-lourens-otm-data-managementOtm 2013 c13_e-17b-andriesse-lourens-otm-data-management
Otm 2013 c13_e-17b-andriesse-lourens-otm-data-managementjucaab
 
Otm 2013 c13_e-18a-sabharwal-naval-covert-waste-to-value-with-otm
Otm 2013 c13_e-18a-sabharwal-naval-covert-waste-to-value-with-otmOtm 2013 c13_e-18a-sabharwal-naval-covert-waste-to-value-with-otm
Otm 2013 c13_e-18a-sabharwal-naval-covert-waste-to-value-with-otmjucaab
 
Otm 2013 c13_e-21-fl-keynote-implications-of-ec-transportation-priorities
Otm 2013 c13_e-21-fl-keynote-implications-of-ec-transportation-prioritiesOtm 2013 c13_e-21-fl-keynote-implications-of-ec-transportation-priorities
Otm 2013 c13_e-21-fl-keynote-implications-of-ec-transportation-prioritiesjucaab
 
Otm 2013 c13_e-22a-lim-joshua-otm-as-a-service-differentiator
Otm 2013 c13_e-22a-lim-joshua-otm-as-a-service-differentiatorOtm 2013 c13_e-22a-lim-joshua-otm-as-a-service-differentiator
Otm 2013 c13_e-22a-lim-joshua-otm-as-a-service-differentiatorjucaab
 
Otm 2013 c13_e-22b-vivio-pam-otm-3d-load-configurator
Otm 2013 c13_e-22b-vivio-pam-otm-3d-load-configuratorOtm 2013 c13_e-22b-vivio-pam-otm-3d-load-configurator
Otm 2013 c13_e-22b-vivio-pam-otm-3d-load-configuratorjucaab
 
Otm 2013 c13_e-23b-hatcher-neil-otm-gtm-data-maintenance
Otm 2013 c13_e-23b-hatcher-neil-otm-gtm-data-maintenanceOtm 2013 c13_e-23b-hatcher-neil-otm-gtm-data-maintenance
Otm 2013 c13_e-23b-hatcher-neil-otm-gtm-data-maintenancejucaab
 
Otm 2013 c13_e-13b-hagan-mark-otm-soa
Otm 2013 c13_e-13b-hagan-mark-otm-soaOtm 2013 c13_e-13b-hagan-mark-otm-soa
Otm 2013 c13_e-13b-hagan-mark-otm-soajucaab
 
Otm 2013 c13_e-12-gittoes-derek-otm-release-6-3-overview
Otm 2013 c13_e-12-gittoes-derek-otm-release-6-3-overviewOtm 2013 c13_e-12-gittoes-derek-otm-release-6-3-overview
Otm 2013 c13_e-12-gittoes-derek-otm-release-6-3-overviewjucaab
 
Otm 2013 c13_e-15-gittoes-derek-otm-product-strategy
Otm 2013 c13_e-15-gittoes-derek-otm-product-strategyOtm 2013 c13_e-15-gittoes-derek-otm-product-strategy
Otm 2013 c13_e-15-gittoes-derek-otm-product-strategyjucaab
 
Otm con8923 pdf_8923_0002
Otm con8923 pdf_8923_0002Otm con8923 pdf_8923_0002
Otm con8923 pdf_8923_0002jucaab
 
Otm con8923 pdf_8923_0001
Otm con8923 pdf_8923_0001Otm con8923 pdf_8923_0001
Otm con8923 pdf_8923_0001jucaab
 
Otm con8766 pdf_8766_0001
Otm con8766 pdf_8766_0001Otm con8766 pdf_8766_0001
Otm con8766 pdf_8766_0001jucaab
 
Fusion apps security_con8714_pdf_8714_0001
Fusion apps security_con8714_pdf_8714_0001Fusion apps security_con8714_pdf_8714_0001
Fusion apps security_con8714_pdf_8714_0001jucaab
 
Fusion app tech_con8707_pdf_8707_0001
Fusion app tech_con8707_pdf_8707_0001Fusion app tech_con8707_pdf_8707_0001
Fusion app tech_con8707_pdf_8707_0001jucaab
 
Fusion app integration_con8685_pdf_8685_0001
Fusion app integration_con8685_pdf_8685_0001Fusion app integration_con8685_pdf_8685_0001
Fusion app integration_con8685_pdf_8685_0001jucaab
 

More from jucaab (20)

Soa con8642 pdf_8642_0001
Soa con8642 pdf_8642_0001Soa con8642 pdf_8642_0001
Soa con8642 pdf_8642_0001
 
Soa cloud con8968_pdf_8968_0001
Soa cloud con8968_pdf_8968_0001Soa cloud con8968_pdf_8968_0001
Soa cloud con8968_pdf_8968_0001
 
Otm 2013 c13_e-14a-pospelov-evgeniy-taking-control-over-transportation-spend
Otm 2013 c13_e-14a-pospelov-evgeniy-taking-control-over-transportation-spendOtm 2013 c13_e-14a-pospelov-evgeniy-taking-control-over-transportation-spend
Otm 2013 c13_e-14a-pospelov-evgeniy-taking-control-over-transportation-spend
 
Otm 2013 c13_e-14b-hatcher-and-van-haaster-otm-sap-integration
Otm 2013 c13_e-14b-hatcher-and-van-haaster-otm-sap-integrationOtm 2013 c13_e-14b-hatcher-and-van-haaster-otm-sap-integration
Otm 2013 c13_e-14b-hatcher-and-van-haaster-otm-sap-integration
 
Otm 2013 c13_e-17a-plessis-elisabeth-otm-self-help
Otm 2013 c13_e-17a-plessis-elisabeth-otm-self-helpOtm 2013 c13_e-17a-plessis-elisabeth-otm-self-help
Otm 2013 c13_e-17a-plessis-elisabeth-otm-self-help
 
Otm 2013 c13_e-17b-andriesse-lourens-otm-data-management
Otm 2013 c13_e-17b-andriesse-lourens-otm-data-managementOtm 2013 c13_e-17b-andriesse-lourens-otm-data-management
Otm 2013 c13_e-17b-andriesse-lourens-otm-data-management
 
Otm 2013 c13_e-18a-sabharwal-naval-covert-waste-to-value-with-otm
Otm 2013 c13_e-18a-sabharwal-naval-covert-waste-to-value-with-otmOtm 2013 c13_e-18a-sabharwal-naval-covert-waste-to-value-with-otm
Otm 2013 c13_e-18a-sabharwal-naval-covert-waste-to-value-with-otm
 
Otm 2013 c13_e-21-fl-keynote-implications-of-ec-transportation-priorities
Otm 2013 c13_e-21-fl-keynote-implications-of-ec-transportation-prioritiesOtm 2013 c13_e-21-fl-keynote-implications-of-ec-transportation-priorities
Otm 2013 c13_e-21-fl-keynote-implications-of-ec-transportation-priorities
 
Otm 2013 c13_e-22a-lim-joshua-otm-as-a-service-differentiator
Otm 2013 c13_e-22a-lim-joshua-otm-as-a-service-differentiatorOtm 2013 c13_e-22a-lim-joshua-otm-as-a-service-differentiator
Otm 2013 c13_e-22a-lim-joshua-otm-as-a-service-differentiator
 
Otm 2013 c13_e-22b-vivio-pam-otm-3d-load-configurator
Otm 2013 c13_e-22b-vivio-pam-otm-3d-load-configuratorOtm 2013 c13_e-22b-vivio-pam-otm-3d-load-configurator
Otm 2013 c13_e-22b-vivio-pam-otm-3d-load-configurator
 
Otm 2013 c13_e-23b-hatcher-neil-otm-gtm-data-maintenance
Otm 2013 c13_e-23b-hatcher-neil-otm-gtm-data-maintenanceOtm 2013 c13_e-23b-hatcher-neil-otm-gtm-data-maintenance
Otm 2013 c13_e-23b-hatcher-neil-otm-gtm-data-maintenance
 
Otm 2013 c13_e-13b-hagan-mark-otm-soa
Otm 2013 c13_e-13b-hagan-mark-otm-soaOtm 2013 c13_e-13b-hagan-mark-otm-soa
Otm 2013 c13_e-13b-hagan-mark-otm-soa
 
Otm 2013 c13_e-12-gittoes-derek-otm-release-6-3-overview
Otm 2013 c13_e-12-gittoes-derek-otm-release-6-3-overviewOtm 2013 c13_e-12-gittoes-derek-otm-release-6-3-overview
Otm 2013 c13_e-12-gittoes-derek-otm-release-6-3-overview
 
Otm 2013 c13_e-15-gittoes-derek-otm-product-strategy
Otm 2013 c13_e-15-gittoes-derek-otm-product-strategyOtm 2013 c13_e-15-gittoes-derek-otm-product-strategy
Otm 2013 c13_e-15-gittoes-derek-otm-product-strategy
 
Otm con8923 pdf_8923_0002
Otm con8923 pdf_8923_0002Otm con8923 pdf_8923_0002
Otm con8923 pdf_8923_0002
 
Otm con8923 pdf_8923_0001
Otm con8923 pdf_8923_0001Otm con8923 pdf_8923_0001
Otm con8923 pdf_8923_0001
 
Otm con8766 pdf_8766_0001
Otm con8766 pdf_8766_0001Otm con8766 pdf_8766_0001
Otm con8766 pdf_8766_0001
 
Fusion apps security_con8714_pdf_8714_0001
Fusion apps security_con8714_pdf_8714_0001Fusion apps security_con8714_pdf_8714_0001
Fusion apps security_con8714_pdf_8714_0001
 
Fusion app tech_con8707_pdf_8707_0001
Fusion app tech_con8707_pdf_8707_0001Fusion app tech_con8707_pdf_8707_0001
Fusion app tech_con8707_pdf_8707_0001
 
Fusion app integration_con8685_pdf_8685_0001
Fusion app integration_con8685_pdf_8685_0001Fusion app integration_con8685_pdf_8685_0001
Fusion app integration_con8685_pdf_8685_0001
 

Soa config con8627_pdf_8627_0001

  • 1. 1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 2. CON8627- Administration and Management Essentials for Oracle SOA Suite 11g Ramkumar Menon Oracle SOA Suite Product Management Francis Ip Oracle SOA Suite A-Team 2 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 3. The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle s products remains at the sole discretion of Oracle. 3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 4. Program Agenda §  Overview §  Provisioning and Configuration Management §  Managing a System in Production §  Transactions and Fault Handling §  Troubleshooting §  Q&A 4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 5. Overview Mediation BPEL Rules Human Task BPEL orchestration Human Tasks Web services SCA Composite Business Rules and adapters SOA Composite Editor BPMN BPEL Human Task … Policy Management Policy Manager Optimized Service Infrastructure Service & Eventing Infrastructure SOAP B2B HTTP JCA EJB … Common Connectivity Infrastructure 5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 6. Program Agenda §  Overview §  Provisioning and Configuration Management §  Managing a System in Production §  Transactions and Fault Handling §  Troubleshooting §  Q&A 6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 7. SOA Domain Overview §  Overview Domain home Oracle home Typical SOA HA install (configuration) (binaries) EM Administration Server Managed Server … Managed Server SOA Managed EM Server Cluster 1: SOA Administration SOA Server BAM Managed Server BAM Managed Server … Managed Server Cluster 2: BAM SOA_Domain Cluster_Domain 7 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 8. SOA Configuration 3 Types of Properties §  WLS Properties –  Persisted in domain configuration files, changes are propagated across the cluster by the Admin Server. §  Service Infrastructure (soa-infra) Properties –  Properties are persisted in MDS (database), changes are automatically propagated across a cluster. §  Composite Properties –  Meta-data associated with a composite is stored in MDS (database) –  These properties can be customized using a “Configuration Plan” at the time of deployment. –  Composite properties are automatically propagated across a cluster as part of the composite deployment process. 8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 9. SOA Domain Directory Structure domain home start/stop & env scripts §  Configuration: configuration root –  Stored under “config” directory –  The config directory contains a file called config.xml which is the primary source of all configuration information within a domain. –  SOA configuration is stored in MDS since PS1. §  Scripts: local cache of deployed composites –  Stored under “bin” directory. –  Start / stop Admin & Managed server –  Set environment and JVM properties §  Logs: sub-directory for each managed server (logs / –  Server logs are placed under servers/<server_name>/logs cache) 9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 10. SOA 11g MDS Store §  Runtime Store –  Composite meta-data –  Security policies –  Error policies –  B2B Agreements –  Shared WSDLs and XSDs –  ADF / Human Workflow §  Can be accessed from JDeveloper and Ant. §  Configuration customization is stored in MDS. 10 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 11. Configuration Propagation in a Cluster WLS + Coherence Clusters SOA 1 Admin SOA Cluster MDS WLS Configuration SOA 2 SOA Configuration WLS Configuration SOA Configuration §  File based §  DB (MDS) based. §  AdminServer has “gold” copy §  Database has “gold” copy §  Configuration propagated by WLS JMX §  Configuration propagated by soa-infra framework. using the Coherence cluster. §  During startup, a Managed Server copies configuration from AdminServer and §  During startup, a SOA server loads its overwrites local copy. configuration from MDS. 11 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 12. SOA 11g HA Architecture 2 Levels of Clustering §  WLS Cluster –  Defined in config.xml –  Can be viewed from WLS Console and EM §  SOA Cluster –  Coherence based cluster –  Defined as system parameters in startup scripts –  Can be validated through deployment / configuration changes. 12 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 13. Tools for Configuring SOA Applications §  SOA container configuration done through EM console / WLST §  Endpoint properties modified during deployment through a Configuration Plan –  Created –  Adapter properties §  WLS Console / WLST for managing WLS configuration –  Domain creation, adding / changing resources within a domain. 13 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 14. Test to Production (T2P) Utility Minimize Manual Steps §  What is moved? –  Installed binaries and patches –  Configuration and metadata –  Security config e.g. OPSS policies §  Supports MDS meta-data, JCA connection factories §  MovePlan – Rewiring external references to match target –  Data-sources, endpoint addresses 14 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 15. Program Agenda §  Overview §  Provisioning and Configuration Management §  Managing a System in Production §  Transactions and Fault Handling §  Troubleshooting §  Q&A 15 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 16. Production Readiness The Readiness Checklist Sign off on Qualifying Pre-Production Tests Clearly defined and documented processes Trained personnel lined up for Go-live and Post-Production Availability of a Production Replica Environment Identify SLAs and Key Transactions 16 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 17. Tools for Middleware Management For Farm with a single WLS Domain. Composite lifecycle management, Instance Tracking, Performance EM FMW Control Metrics, Fault and Message Recovery EM Grid Control Extends FMW Control for multiple farms. SOA/WLS Management Pack. Historical data, Alerts and 11g Notifications WLS Admin Console Monitor and manage the WLS domain and Managed Servers. Configure JDBC, JMS, JTA, Security, Deploy Applications etc. JR Mission Control JVM monitoring and management. Flight recorder for troubleshooting and diagnosis. WLDF Generate and Analyze diagnostic data from WLS instances and your applications. Watches and Notifications. Integrate with JFR for troubleshooting. WLST Create/manage/monitor WLS Domains via Jython based WLI. WLS Admin Console/Configuration Wizard on a command line. BAM Real-Time Business dashboards. Correlate Business Indicators with System Metrics by integrating with EM GC 11g 17 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 18. EM FMW Control • SOA Composite Lifecycle Management • Transaction Search and Drill Down •  Fault and Message Recovery •  Service Engine Configuration • Live In-flight DMS Performance BPEL Metrics Ext Drill-down • System MBean Browser for ern Hu into component advanced configuration and metrics ma al Rou s Ser n Bus ting • Use FMW Control for searching and tracking your composite instances Wo vic ine e rkfl ss 18 ow Rul Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 19. FMW Control - Key Performance Tuning Tasks §  Configure SOA-Infra Properties •  Audit/Instance Tracking(CPU,DB), Payload Validation (CPU) §  Configuring Service Engine threads •  BPEL - Threads(Concurrency), Audit (DB), Validation (CPU) •  Mediator - Parallel/Resequencer Threads (Concurrency), Audit (DB), Sleep Intervals/Metrics Level (CPU) §  Configure Adapter Properties •  MaxRaise/TxnSize(DB), Number of Threads (Concurrency) §  All this Accessible as MBeans - Update via WLST 19 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 20. SOA Management Pack Enterprise Edition §  Business Transaction Management –  Discovery of transaction flows across the enterprise –  Leverages transaction content/payload for business visibility Development –  Exception Management Business Performance Transaction & §  Performance & Diagnostics Management Diagnostics –  Enterprise scale multi-domain management –  Specific framework/metadata knowledge Production Test –  SOA 10g (BPEL/ESB), SOA 11g (BPEL/Mediator/DS/HW) Lifecycle –  OSB (Business/Proxy Svc, Pipelines) Management §  Lifecycle Management –  Configuration Management: SOA infrastructure and applications –  SOA domain and application provisioning –  SOA Patching support 20 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 21. JRockit Mission Control §  Negligible performance overhead. §  Comprised of three toolkits. –  Management Console - for managing and monitoring one or more JVMs. –  Runtime Analyzer – Application and VM Profiler. Record and Playback for Root- cause analysis. §  Analyze patterns around GC, CPU, Latency, Locks etc –  Memory Leak Detector §  Integrates with WLDF for analysis of diagnostic dumps §  Use JRMC to root-cause performance issues by analyzing memory, CPU, thread contention, locks etc via Flight Recordings. (Use for Support engagements) 21 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 22. WLDF and DFW §  Enable Just-in-time Proactive diagnostics §  Reduce time and effort for collecting diagnostic information. §  Support for SOA Suite Diagnostic dumps - adf.ADFConfigDiagnosticDump,soa.composite, soa.composite.trail, soa.config, soa.db soa.edn, soa.env, soa.wsdl §  SOA specific DMS Metrics – Message Processing metrics §  Manually trigger dumps 22 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 23. WLST q .Jython based CLI WLST q Create, monitor and manage WLS Domains q  Runs in Interactive,Batch or Embedded Mode Online Offline Create Composite MBean WLDF Integration Domain Server Deployment access and to export Lifecycle Templates/ and Lifecycle Updates Diagnostic Data Domains from Templates, Extend DomainRunti ServerRunti Custom(For Domains etc DomainMBean meMBean meMBean SOA) •  Command line automation . •  Hierarchical navigation via domain and server Mbeans: •  retrieve and set domain metrics and properties •  start/stop servers etc •  WLST recording available 23 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 24. Capacity Planning §  Hardware Resources (Memory, CPU) §  Database Capacity §  HA Requirements (Shared Storage) §  Methodology §  Retention policy §  Data Archival 24 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 25. Purging Via EM Console [For Targeted Deletion], or via Purge Scripts and/or dropping Partitions[For Bulk] Scripts located at RCU_HOME/rcu/integration/soainfra/sql/soa_purge §  Looping §  Parallel §  Partitioning §  Dropping partitions is the fastest way to purge. §  Time-Range Partitioning Done at the component level. §  Decide time-range based on §  Useful for small installations [~100k §  Useful for medium [ ~500 GB total to ~10 average and max composite lifetime. rows] GB daily] to large installations §  Run this in conjunction with parallel §  Loops and runs until max_runtime §  Resource intensive – hence run during purging for a mixed load. loop parameter is exceeded. off hours.DOP indicates number of §  Not resource intensive, but slow parallel threads. performance. §  For large installs [>~500 GB total or > §  All purgeable instances are deleted. ~10 GB daily], recommended to run a hybrid of parallel purging + dropping partitions, using optimal thread counts. 25 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 26. Program Agenda §  Overview §  Provisioning and Configuration Management §  Managing a System in Production §  Transactions and Fault Handling §  Troubleshooting §  Q&A 26 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 27. Fault Handling – Key Factors §  Handled Faults –  Handled programmatically – Component / Policy –  Can specify manual intervention through EM –  Principal transaction not rolled back §  Un-handled Faults –  Not handled programmatically –  Typically leads to transaction rollback –  Messages can be re-tried when they are retrievable §  JMS queue, DB table, Dehydration storeetc. 27 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 28. BPEL – Threads, Transactions and Faults Client Services Client Services Receive Client Receive Receive Commit Commit Invoke Invoke Invoke Commit Commit Reply Partner Receive Commit Commit Invoke Asynchronous Synchronous Asynchronous Durable Commit Process Process Process 28 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 29. BPEL – Threads, Transactions and Faults Client Fault Services Client Services Receive Client Receive Receive Commit Commit Rollback Rollback Invoke Invoke Invoke Commit Commit Reply Partner Receive Commit Invoke, Callback, Activity Type Commit Rollback Invoke Asynchronous Recover, Mark Cancelled, Reset Synchronous Asynchronous Action Durable Commit Process Process Process 29 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 30. BPEL – Threads, Transactions and Faults Breakpoint Activities Receive “Breakpoint” activity is transaction boundary •  Receive •  Wait <Activity> •  Pick - onMessage •  Pick - onAlarm •  Mid-process Reply •  Idempotent Invoke •  Non-blocking Invoke … •  Fault Policy Retries •  … exception or system crash rolls message back into DB, available to BPEL SE for manual (activity) recovery 30 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 31. Mediator (3) Worker threads process messages Sequential vs. Parallel Routing Mediator Mediator … Caller thread executes routing (1) Caller thread (2) A single locker thread saves message retrieves messages in batch Tune the locker thread batch size and # of worker threads for parallel routing rules 31 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 32. Mediator Service Engine (3) Worker threads processes messages Sequential vs. Parallel Routing Mediator Mediator … returns Caller thread exception (or executes routing timeout) to caller (1) Caller thread (2) A single locker thread saves message retrieves messages in batch Recover Mediator parallel instances via EM console – Transaction rolls back, Faults page for soa-infra, available for manual instance composite or Mediator SE recovery 32 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 33. Programmatic Fault Handling Fault Policies §  Fault Policies –  Covers BPEL invoke, adapter rejection message –  Are externalized fault handling rules (XML files) §  Fault bindings –  Bind policies to Reference, Service (inbound adapter), Component, Composite –  Can define a conditions chain of actions §  Actions –  Retry, Abort, Replay, Re-throw –  Custom Java actions –  Human Intervention – recover from EM 33 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 34. Manual / Scripted Fault Handling - Recovery Faults & exceptions §  Recovery Options for Administrators: –  Human intervention actions defined by fault policies Recovery screen log –  BPEL message recovery for unhandled faults §  Auto-recovery configured via MBean §  Manual Recovery from BPEL recovery console. Action –  Rejected messages from Edit payload inbound adapters 34 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 35. Program Agenda §  Overview §  Provisioning and Configuration Management §  Managing a System in Production §  Transactions and Fault Handling §  Troubleshooting §  Q&A 35 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 36. Troubleshoot SOA §  Oracle Fusion Middleware Diagnostic –  Diagnostic Framework –  Selective Tracing –  SOA Service engine statistics §  JDK Diagnostic §  Operating System Diagnostic §  Database and external resources diagnostic 36 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 37. Troubleshooting SOA Oracle Fusion Middleware Diagnostic Framework Log Diagnostic Files Diagnostic WLDF MBeans Dumps data WLST Command Line Automatic Diagnostic Repository Utilities (ADR) 37 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 38. Troubleshooting SOA Oracle Fusion Middleware Diagnostic Framework §  “Problem” –  listProblems(), … §  “Incident” –  listIncidents() –  showIncident(id=‘1’) –  createIncident() §  “Dump” –  listDumps(appName=‘soa-infra’) –  describeDump(name=‘soa.env’, appName=‘soa-infra’) –  executeDump(name=‘soa.env’, appName=‘soa-ifnra’) §  “Diagnostic Rule” 38 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 39. Troubleshooting SOA Oracle Fusion Middleware Diagnostic Framework §  Configure WLDF Watch and Notification 39 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 40. Troubleshooting SOA Oracle Fusion Middleware Diagnostic Framework 40 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 41. Troubleshooting SOA Anatomy of a Log File 3 2 1 [2011-09-22T06:50:07.986-07:00] [AdminServer] [NOTIFICATION] [] 4 [oracle.integration.platform.blocks.deploy] [tid: [ACTIVE].ExecuteThread: '3' for 5 6 queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 7 3c584fd020bdf1ba:-65df75b4:132916143aa:-8000-0000000000000166,1:23265:2] 9 8 [APP: soa-infra] [Deployment] Component: SendMail was successfully deployed to service engine:implementation.bpel, for composite:SendMailApp 1.  Timestamp 5. Thread ID 9. Message Data 2.  Server Name 6. User ID 3.  Message Type 7. Execution Context ID 4.  Component ID 8. Supplemental Attribute 41 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 42. Troubleshooting SOA Viewing Log Files in EM Message Pane 42 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 43. Troubleshooting SOA Use of ECID §  Globally unique identifier §  Enables you to track a message flow that crosses instances of different composites. §  Usually generated at the time of receiving the incoming message 43 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 44. Troubleshooting SOA Editing Log Configuration 44 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 45. Troubleshooting SOA Setting Logging Levels Logging Levels Active Loggers Saved Loggers Logger for SOA Adapters Logger for BPEL 45 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 46. Troubleshooting SOA Selective Tracing Increase log levels for chosen context, Context: Composite Name, Client Address etc loggers, and servers Trace Level Loggers Under WebLogic Domain 46 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 47. Trouble Shooting SOA BPEL Engine Statistics §  Requests: pending and active Requests §  Threads §  Request break down show BPEL activities Threads Request Breakdown 47 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 48. Troubleshooting SOA Debugging URLs §  http://soa-server:port/soa-infra: Sanity check §  http://soa-server:port/soa-infra/cluster/info: Cluster info §  http://soa-server:port/wls-cat : Class loader analysis tool 48 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 49. Troubleshoot SOA JDK Monitoring: Verbose GC §  What it may show –  JVM heap memory utilization –  Memory leaks –  Major and minor garbage collection frequency and time –  JVM health in general §  How to produce: –  JVM command line argument §  How to analyze: –  GCViewer 49 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 50. Troubleshooting SOA JDK Monitoring: Thread Dumps §  What it shows: –  Application or product deficiency –  External resource contentions –  JVM health §  How to produce: §  Console / WLST / Kill -3 <pid> / jstack <pid> / jrcmd <pid> print_threads §  Taken repetitively, during the period when symptom occurs §  How to analyze –  ThreadLogic 50 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 51. Troubleshooting SOA Operating System Monitoring §  What to look for –  High CPU system time –  High CPU wait time –  High CPU idle time along with poor throughput 51 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 52. Troubleshoot SOA Operating System Monitoring OS Tools Linux top, netstat, iostat Solaris prstat, vmstat, mpstat, netstat, iostat AIX, Linux nmon Windows Task Manager, Resource Monitor 52 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 53. Common Problems and Solutions Resolving common startup problems with SOA server §  Problem: ClassNotFound •  Problem: SOA Server (soa_infra) exceptions when SOA does not start server is started by a Node •  Solutions: Manager •  Check port conflicts §  Solution: Add property StartScriptEnabled=true to •  Make sure MDS schema is nodemanager.properties. reachable •  Check coherence configuration in clustered setup. Make sure that you’re using command line instead of active cache configuration 53 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 54. Common Problems and Solutions Resolving OS level problems §  Problem: ‘Too many open files’ during compilation or runtime. §  Solution: /etc/security/limits.conf to increase the value of both file descriptors to at least 4096. 54 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 55. Common Problems and Solutions Resolving transaction or connection timeouts §  Problem: Transaction or connection timeouts §  Solution: –  Figure out why the transaction takes so long! –  Increase transaction timeout for at Domain and soa-infra EJBs 55 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 56. Common Problems and Solutions Common application-related Problems §  Problem: Changes to connection factories JNDI (Configuration -> Outbound Connection Pool) for SOA adapters do not take effect . Click ‘Update’ after selecting the adapter Click ‘Save’ after the connection factory properties have been updated Hit ‘Enter’ Key after changing 56 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 57. Common Problems and Solutions Common adapter-related Problems §  Problem: Mis-configured •  Problem: Duplicate message Queues/Datasource in processing for non-transactional JMSAdapter and DBAdapter. adapters (File/Ftp) in clustered §  Solution: Make sure that the setup. runtime resources such as •  Solution: Use ‘eis/HAFileAdapter’ JMS connection factories, or ‘eis/ftp/HAFtpAdapter’ in jca JMS Queues, DB configuration. Alternatively datasources are configured configure active-passive failover in properly in the WLS console the composite.xml file by configuring “standalone” property with ”true” 57 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 58. EM Performance Issue §  Issue: EM dashboard loads slowly / hangs on login. §  Step 1: Set default time duration for aggregate queries. §  Step 2: Disable auto-fetch of aggregated metrics. 58 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 59. Q&A 59 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 60. 60 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 61. 61 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 62. APPENDIX 62 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 63. BPEL Service Engine (to be removed) Threads and Persistence Msg persisted (DB) Sync Async Proces Receive Proce Receive De/ (1st) process hydration s ss hydr (2nd) callback msg ation persisted (DB), triggers dehydration sync process … … invoke executed Receive by caller thread, e.g. servlet After hydration (e.g mid-process … Reply receive activity for async callback) async process process executed invoke executed by BPEL engine by BPEL engine engine thread invoker thread 63 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
  • 64. BPEL Service Engine (to be removed) Faults and Transactions msg persisted (DB) Async Sync Proc De/ (1st) process hydration Proc Receive ess Receive hydr (2nd) callback msg ess ation persisted (DB), triggers dehydration Receive … … exception or exception or system system crash crash rolls message exception or system crash rolls … back into DB, returns exception message back into DB, available (or timeout) to available to BPEL to BPEL SE for manual (invoke) client SE for manual recovery. (callback) recovery. * – A 3rd type of recovery is Activity composite running but BPEL composite and BPEL recovery. See next slide. instance faulted; new instance instance running initiated on recovery. 64 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13