Karaf
  1. Karaf
  2. KARAF-1114

osgi shell blueprint bundle shouldn't use lazy default-activation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.4
    • Fix Version/s: 2.2.5, 3.0.0
    • Component/s: karaf-shell
    • Labels:
      None

      Description

      otherwise org.apache.karaf.shell.osgi.SpringStateListenerFactory won't get initialized until
      we use osgi shell, this can cause any other bundle which use spring-dm "Spring" status missing, as SpringApplicationListener(it's not initialized until we use osgi shell) can't receive spring-dm event when any other spring bundle refreshed.
      We do need org.apache.karaf.shell.osgi.SpringStateListenerFactory is initialized at very first stage,so lazy mode
      isn't correct for osgi shell bundle.

        Issue Links

          Activity

          Freeman Fang made changes -
          Link This issue is duplicated by KARAF-2371 [ KARAF-2371 ]
          Freeman Fang made changes -
          Link This issue is duplicated by KARAF-1276 [ KARAF-1276 ]
          Jamie goodyear made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Freeman Fang made changes -
          Link This issue blocks SMX4-1003 [ SMX4-1003 ]
          Freeman Fang made changes -
          Link This issue blocks SMX4-1003 [ SMX4-1003 ]
          Freeman Fang made changes -
          Description otherwise org.apache.karaf.shell.osgi.SpringStateListenerFactory won't get initialized until
          we use osgi shell, this can cause bundle Spring status miss, as SpringApplicationListener can't receive spring-dm event when spring bundle refreshed
          otherwise org.apache.karaf.shell.osgi.SpringStateListenerFactory won't get initialized until
          we use osgi shell, this can cause any other bundle which use spring-dm "Spring" status missing, as SpringApplicationListener(it's not initialized until we use osgi shell) can't receive spring-dm event when any other spring bundle refreshed.
          We do need org.apache.karaf.shell.osgi.SpringStateListenerFactory is initialized at very first stage,so lazy mode
          isn't correct for osgi shell bundle.
          Freeman Fang made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Fix Version/s 2.2.5 [ 12317857 ]
          Fix Version/s 3.0.0 [ 12316040 ]
          Resolution Fixed [ 1 ]
          Freeman Fang made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          Freeman Fang created issue -

            People

            • Assignee:
              Freeman Fang
              Reporter:
              Freeman Fang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development