glassfish
  1. glassfish
  2. GLASSFISH-17614

Revisit Plugin SPI and add better exception handling mechanism

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 4.0
    • Fix Version/s: None
    • Component/s: service-orchestration
    • Labels:
      None
    • Environment:

      ANY

      Description

      Plugin is currently missing a checked exception. Create one and use it wherever appropriate.

      Also refine SPIs wrt remote Orchestration Engine.

      Currently SPEs update the domain.xml directly. But updating domain.xml should not be done by the SPE implementations. Instead, the Orchestrator should take care of updating domain.xml using the ProvisionedService (or provisioning events) returned by the SPE.

      IMS layer also should also throw the appropriate exception message to the upper level consumers like SPEs. Currently all IMS errors are abstracted as "unable to allocate virtual machine using any server pool" without much details. It is hard to find out the real cause.

        Activity

        Hide
        Tom Mueller added a comment -

        Since cloud support has been removed from Java EE 7, this issue has been closed. This issue can be reopened if desired for future Java EE work.

        Show
        Tom Mueller added a comment - Since cloud support has been removed from Java EE 7, this issue has been closed. This issue can be reopened if desired for future Java EE work.

          People

          • Assignee:
            Sivakumar Thyagarajan
            Reporter:
            Bhavanishankar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: