Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-885

StartBundle doesn't deploy all bundles if one failed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.4, 3.0.0
    • karaf
    • None

    Description

      The shell StartBundle commands doesn't start all bundles if one failed:

      protected void doExecute(List<Bundle> bundles) throws Exception {
      for (Bundle bundle : bundles)

      { bundle.start(); }

      }

      The correct approach is to add a try/catch block around bundle.start() to display a warn message in the console, but keep one starting the next bundles in the list.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: