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

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open In Progress In Progress
          1m 27s 1 Freeman Fang 17/Dec/11 11:25
          In Progress In Progress Resolved Resolved
          24m 25s 1 Freeman Fang 17/Dec/11 11:50
          Resolved Resolved Closed Closed
          41d 3h 6m 1 Jamie goodyear 27/Jan/12 14:56
          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 ]
          Show
          Freeman Fang added a comment - commit fix http://svn.apache.org/viewvc?rev=1215467&view=rev for trunk http://svn.apache.org/viewvc?rev=1215461&view=rev for 2.2.x branch
          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