C10: Getting Rejected on the Bus How OpenEdge ® Developers Deal with Failure Chris James Senior Consultant.

Slides:



Advertisements
Similar presentations
Rob Straight SOA-1: Applied SOA: Building Out Your SOA Environment with OpenEdge ® Principal Product Manager.
Advertisements

Enhanced visibility with Actional and Sonic ESB Frank Beusenberg Applied Technology Consultant Mahesh Nair Software Architect Kim Palko Sr. Product Manager.
DEV-13: You've Got a Problem, Here’s How to Find It
DEV-4: Get on Track! The Demo Explained Bart Schouw Client Solution Manager Jiri de Jagere Sr. Solution Engineer Xavier Bonnamy Solution Engineer.
Integrating OpenEdge® Applications with SonicMQ®
SOA with Progress Philipp Walther Consultant. © 2007 Progress Software Corporation2 Agenda  SOA  Enterprise Service Bus (ESB)  The Progress SOA Portfolio.
6/4/2015Page 1 Enterprise Service Bus (ESB) B. Ramamurthy.
DEV-14: Understanding and Programming for the AppServer™
Performance testing of Progress Appservers and a plug-in for Jmeter
OPS-17: Utilizing Firewalls - In the Reign of Fire
DB-19: OpenEdge® Authentication Without the _User Table
SOA-18: Sonic ESB Application Deployment using SDM
C8: Enterprise Integration Patterns in Sonic ™ ESB Stefano Picozzi Solutions Architect.
ESB Guidance 2.0 Kevin Gock
SOA-06: Get On the Bus with the OpenEdge ® Adapter for Sonic ESB ® David Cleary Principal Software Engineer, Progress.
DONE-10: Adminserver Survival Tips Brian Bowman Product Manager, Data Management Group.
SOA-4: Introduction to OpenEdge ® Integration Technologies Jamie Townsend Applied Architect.
COMP-10: OpenEdge ® Management & Replication – Divide et impera! Cyril Gleiman & Libor Laubacher Principal Technical Support Engineers.
Module 14: WCF Send Adapters. Overview Lesson 1: Introduction to WCF Send Adapters Lesson 2: Consuming a Web Service Lesson 3: Consuming Services from.
SOA-2: OpenEdge® 10.1A Adapters for SonicMQ® New Install, New Architecture, and New APIs Cheryl LaBarge Senior Training Program Manager.
Tim De Borger Principal Solution Consultant May 18 th, 2007 Tuning the ESB How to make the Bus drive faster.
INT-11: It’s Monday Morning, Do You Know Where Your Service Has Been? Service Management with Sonic ™ and Actional Marv Stone Progress Software.
Agenda 1.Implementation of CustomerService. CustomerService wrapper SOAP → ESB internal format Abstract → Concrete XML syntax ESB internal format → HTTP.
DEV-5: Introduction to WebSpeed ® Stephen Ferguson Sr. Training Program Manager.
COMP-13: The “Weakest-Link” in your High Availability system How to make sure your HA is really highly available Hugo Loera Senior Technical Support Engineer.
OPS-15: What was Happening with My Database, AppServer ™, OS... Yesterday, Last Month, Last Year? Libor LaubacherRuanne Cluer Principal Tech Support Engineer.
OPS-13: Building and Deploying a Highly Available Application Brian Bowman Sr. Solution Engineer.
SOA-14: Deploying your SOA Application David Cleary Principal Software Engineer.
INT-5: Integrate over the Web with OpenEdge® Web Services
SOA-26: Extending Your Application with OpenEdge ® Web Services John Sadd OpenEdge Evangelist.
SOA-21: Integrating SAP and Other Packaged Applications into your SOA Infrastructure Wayne Lockhart Sr. Product Manager.
SONIC-3: Creating Large Scale Installations & Deployments Andrew S. Neumann Principal Engineer, Progress Sonic.
SOA-3: You Need to Integrate, But What do You Need to Know and Do? Bob Trabucchi Sr Presales Consultant Sandy Caiado Sr Presales Consultant.
SOA-25: Data Distribution Solutions Using DataXtend ® Semantic Integrator for Sonic ™ ESB Users Jim Barton Solution Architect.
SOA-02: Sonic SOA Products Overview Luis Maldonado Technical Product Manager Sonic Software.
B8: Building and Deploying a Highly Available Application David Eddy Senior Solution Consultant.
SOA-10: Event-Driven SOA: EDA in an SOA World Ken Wilner Vice President of Technology.
ARCH-11: Building your Presentation with Classes John Sadd Fellow and OpenEdge Evangelist Sasha Kraljevic Principal TSE.
SOA-5: Did You Get The Message? Giovanni Boschi Director, Sonic Products.
INT-9: Implementing ESB Processes with OpenEdge ® and Sonic ™ David Cleary Principal Software Engineer.
SOA-4: Introducing Sonic V7.0 The Next Generation ESB Paul Moxon & Luis Maldonado Sonic Product Management.
© 2008 Progress Software Corporation1 SOA-33: Transactions in a SOA World What happens next? Flight Booking Hotel Booking Car Booking (3) Calls (2) Change.
SOA-8: Orchestrate your OpenEdge® Applications with Sonic OpenEdge and the Bus... Jiri De Jagere Product Consultant.
SOA-05: Building an Enterprise SOA Using ESB Dave Chappell Vice President & Chief Technology Evangelist, Sonic Software.
INNOV-6: Innovation in Action! Rick Kuzyk Senior Portfolio Specialist Making IT Happen.
ARCH-7: Integrate this! SonicMQ® and the OpenEdge® Reference Architecture Christian Stiller Technical Architect.
DEV-8: AppServer ™ Mode Case Studies Simon Epps Solutions Engineer.
ARCH-5: Service Interfaces in Practice Christian Stiller Technical Architect.
Mike Ormerod C1: Applied SOA: Building Out Your SOA Environment with OpenEdge ® Applied Architect.
Christian Stiller Technical Account Manager SOA-23: Enterprise Integration Patterns in Sonic ™ ESB.
A2: Making OpenEdge ® Architect Work For You Susan Houniet Senior Solution Consultant.
Netprog: Chat1 Chat Issues and Ideas for Service Design Refs: RFC 1459 (IRC)
SOA-19: Combining the Power of Sonic ™, DataXtend ® Semantic Integrator, and Actional ® for SOA Operations Joining forces … Jiri De Jagere Senior Solution.
Making Sense of Service Broker Inside the Black Box.
© SCRIBE SOFTWARE CORPORATION 2008 Tips and Tricks for Working with Scribe Insight Trace Files.
Rob Straight, Principal Product Manager
Dockerize OpenEdge Srinivasa Rao Nalla.
SOA-40: Getting Rejected on the Bus
Partnership.
Enterprise Service Bus (ESB) (Chapter 9)
Making Sense of Service Broker
ARCH-1: Application Architecture made Simple
C6: Introducing Native Invocation with the OpenEdge® Adapter for Sonic™ ESB Chris James Senior Consultant.
SOA-1: Fundamentals of Service-Oriented Architecture
ARCH-13 Transactions in an SOA World
Rob Straight, Principal Product Manager
COMPUTER NETWORKS PRESENTATION
ARCH-2: OpenEdge Reference Architecture (OERA) Latest Thinking
ARCH-14: Power Your Organisation with OpenEdge
SOA-09: Conducting Business with OpenEdge® and SonicMQ®
Presentation transcript:

C10: Getting Rejected on the Bus How OpenEdge ® Developers Deal with Failure Chris James Senior Consultant

© 2008 Progress Software Corporation 2 “It is possible to fail in many ways… while to succeed is possible in only one way” Aristotle – Greek philosopher

© 2008 Progress Software Corporation 3 OpenEdge and Sonic ™ ESB  You can align business and IT goals using Sonic and OpenEdge in your SOA  You can create robust and flexible business applications  You can handle failures in your infrastructure, applications, or data

© 2008 Progress Software Corporation 4 Agenda  Sonic ESB Endpoints  Faults and rejected messages  Quality of Service (QOS) and Message Time To Live (TTL)  Application architecture and AppServer ™ operating modes  Fault processing options  AppServer Down!!!! Dealing with rejection on the bus

© 2008 Progress Software Corporation 5 Terminology  Service Your OpenEdge based application exposed to Sonic ESB through the Sonic Adapter  Process A Sonic ESB process that uses an itineary to execute 1 or more operations on 1 or more services  Container A Sonic managed executable process that hosts processes and services

© 2008 Progress Software Corporation 6 Sonic ESB Endpoints  Destination where ESB services and processes send and receive messages  Can be associated with a Queue or Topic  4 defined Endpoint types for Services Entry (required for services) Exit (usually ReplyTo) Fault RME

© 2008 Progress Software Corporation 7 OpenEdge ESB Adapter Architecture Database AppServer Adapter Entry Endpoint Exit Endpoint Fault Endpoint Rejected Endpoint

© 2008 Progress Software Corporation 8 Faults and Rejected Messages  Rejected Messages Invalid message types Invalid data Adapter exceptions Failure to send result  Fault Messages Infrastructure issues Applications errors (RETURN ERROR)  Service has Fault and Rejected Message endpoints

© 2008 Progress Software Corporation 9 Anatomy of a Rejected Message OPENEDGE_INVOCATION_ERROR <rejectedLocation container="dev_OpenEdgeTest" host="pcdcleary" process="CheckCustomer" serviceApplication="dev.OpenEdge" step="Find Customer" topLevelProcess="CheckCustomer"/> {Error message and stack trace}

© 2008 Progress Software Corporation 10 Anatomy of a Fault Message Fault String: SessionPool : NoAvailableSessions[Could not connect to the AppServer: General Error: Connection refused: connect. (7203)] com.progress.open4gl.dynamicapi.SessionPool.NoAv ailableSessionsException Fault String: SessionPool : NoAvailableSessions[Could not connect to the AppServer: General Error: Connection refused: connect. (7203)] com.progress.open4gl.dynamicapi.Sessio nPool.NoAvailableSessionsException

© 2008 Progress Software Corporation 11 Quality of Service  Best Effort Default Messages may be lost or redelivered  At Least Once No lost messages May be redelivered  Exactly Once Most reliable No lost or redelivered messages

© 2008 Progress Software Corporation 12 Message Time To Live  Specifies a timeout on a process  Messages that timeout sent to RME  Default is 0 (no timeout)

© 2008 Progress Software Corporation 13 Configuring Properties  Service Fault and Rejected Message endpoints Can be overridden by process  Endpoint Entry endpoint specifies QOS Process sets minimum QOS  Process Time to Live

© 2008 Progress Software Corporation 14 Application Architecture and Operating Modes  Sonic container and OpenEdge AppServer treated as single unit Sonic provides networking Fewer faults due to AppServer availability ESB Service and OpenEdge AppService same  Session-free operating mode recommended Each operation does complete unit of work No state saved on AppServer Persistent procedures defeat this architecture

© 2008 Progress Software Corporation 15 Session-managed and Persistent Procedure Issues  Requires three calls for a single operation  Saves state on AppServer even with Session- free  AppServer still bound due to fault or rejected message  Limits scalability  Enable Intra-Container messaging to mitigate issues

© 2008 Progress Software Corporation 16 Fault Processing Options  Settable per operation  Fault Only (Default) Original message lost  Fault and Original message Original message can be remediated and resubmitted  Rejected and Original message Same as above, but rejected format  Continue process with Fault

© 2008 Progress Software Corporation 17 Fault Processing Options

© 2008 Progress Software Corporation 18 Booking a Vacation Client Flight Booking Coordinator Service Hotel BookingCar Booking

© 2008 Progress Software Corporation 19 Book Hotel Room Process

© 2008 Progress Software Corporation 20 Checking Availability  Yes, there are rooms available Process/transaction continues  No, there are not rooms available Entire transaction fails  I don’t know if rooms are available AppServer down No available agents

© 2008 Progress Software Corporation 21 Fix problem and resubmit

© 2008 Progress Software Corporation 22 AppServer Down Demo!!!

© 2008 Progress Software Corporation 23 Agenda  Sonic ESB Endpoints  Faults and rejected messages  Quality of Service (QOS) and Message Time To Live (TTL)  Application architecture and AppServer operating modes  Fault processing options  AppServer Down!!!! Dealing with rejection on the bus

© 2008 Progress Software Corporation 24 In Summary  You can align business and IT goals using Sonic and OpenEdge  You can create robust and flexible business applications  You can handle failures in your infrastructure, applications, or data

© 2008 Progress Software Corporation 25 For More Information, go to…  PSDN Introducing Native Invocation with the OpenEdge Adapter for Sonic ESBIntroducing Native Invocation with the OpenEdge Adapter for Sonic ESB Progress Sonic ESB Developers Guide - Resubmit SampleProgress Sonic ESB Developers Guide - Resubmit Sample  Progress eLearning Community: OpenEdge Development with Sonic ESB Designing ESB Processes Orchestrating Services with Sonic BPEL ServerOrchestrating Services with Sonic BPEL Server

© 2008 Progress Software Corporation 26 Relevant PTW Sessions  C4: Common Applications for Sonic ESB  C8: Getting the Most Out of Sonic Workbench

© 2008 Progress Software Corporation 27 Questions ?

© 2008 Progress Software Corporation 28 Thank You

© 2008 Progress Software Corporation 29