Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

COSMOS Design 209227

Revision as of 14:38, 12 November 2007 by Weitzelm.us.ibm.com (Talk | contribs) (Topics to cover in the design doc)

Topics to cover in the design doc

  • logfile registry & viewer
  • error/warning event pub/sub
  • cbe v. wef
  • msg formats & IDs (valentina to help here)
  • resource modeling
    • repository
    • sml tool


What's out of scope:

  • Logging handled by Jimmy's enhancement (but this is related).
  • eclipse tooling
    • Out of scope for this enhancement

What's in scope:

  • How do you propagate the problems:
    • Internally w/in a component
    • Between components


Error handling discussion

2 runtime environments: - eclipse tooling

    • Out of scope for this enhancement
  • Server Environment is the focus

- runtime outside eclipse (our focus for these 2 bugs) - OSGi & J2EE (Tomcat)


Components: - Domain - Broker - MDR/Data manager

-> Each component will keep its own log file -> can use tooling (TPTP) to merge them when doing analysis

Log format - Java logging - muse logging (?) - any transaction ID to inject into log record for correlation

Error code

Translation

  • Message catalogs


Exception Handling - between client and server (SOAP Faults) - between UI and DC client -

  • Do not want to expose the soap faults to: a) the user b) the adopter
  • What are the standard faults declared by the specification


  • What is the nesting strategy of exceptions
  • What is our taxonomy of faults?

WS-Soap Fault -> Convenience API -> DataManager API -> Native API

  • Network Boundary is the only place where soap faults come into play
  • The convenience api must be able to catch exceptions b/c it may need to return a fault that is specified by a spec, e.g. CMDBf
  • Data Managers should be able to catch exceptions when wrapping native/existing access APIs to the data
  • What is the difference b/t convenience api and data manager api?
    • data manager api is "generic"
    • convenience api is a standard access method, e.g. CMDBf
  • How do you extend the framework and fit into the programming model when it comes to exceptions?

IDataManager.java DataManagerExeption class

  • Need one for Domain and Broker




  • What about symptoms?

Back to the top