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

Feature Install Sequence Should Be Install/Install/Install...Start/Start/Start

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.10, 2.3.0
    • Component/s: karaf-feature
    • Labels:
      None

      Description

      This issue is discussed in this thread:

      http://karaf.922171.n3.nabble.com/More-Questions-Mostly-On-Features-td4025892.html

      Currently the karaf feature feature installs bundles in this sequence - Install/Start/Install/Start/Install/Start. The problem with this sequence is that if the following bundles are installed late:
      + bundles which are optional imports of other bundles and/or
      + bundle fragments
      some bundles may not resolve with their optional imports and fragments.

      The solution is to install bundles in the following sequence - Install/Install/Install/Install...Start/Start/Start/Start. In that way all bundles are installed before any bundles are started and thus all optional imports and fragments should get resolved.

        Attachments

        1. KARAF-1796.txt
          4 kB
          Gareth Collins

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              gcollins Gareth Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: