Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-635

Propagate DeploymentException when SA deployment fails.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.3.2, 1.3.3, 2.0
    • 1.3.3
    • JBI Integration
    • None
    • ServiceMix 4

    Description

      I'm working on deployment tooling for ServiceMix4 / FUSE. The deploy and undeploy method in OdeSUManager does not throw a DeploymentException when there is a problem with a service assembly (i.e. bad deploy.xml). In contrast the start and stop methods both throw DeploymentException when appropriate.

      The problem this causes for me is that when I attempt to deploy and start a service assembly, the deploy appears to succeed but the start returns an unrelated error which is difficult to diagnose.

      I've created a simple patch which will throw the DeploymentException instead of an error string which is ignored by smx4.

      Is this a reasonable approach?

      Attachments

        1. ODE-635.patch
          1 kB
          Daniel Dominguez

        Activity

          People

            Unassigned Unassigned
            danieldominguez Daniel Dominguez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: