Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-931

Felix webconsole not restarted after upgrading via jcrinstall

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • JCR Installer 3.0.0
    • Installer
    • None

    Description

      After upgrading the Felix webconsole from 1.2.6 to 1.2.8 via jcrinstall, by copying the 1.2.8 bundle in a JCR repository folder that's watched by jcrinstall, the webconsole bundle is not restarted.

      AFAICS the failure scenario is:

      • jcrinstall updates the webconsole bundle and starts a package refresh
        -Several bundles that import the webconsole plugin interfaces are stopped and restarted
        -That causes more bundles to stop and restart, including eventually jcrinstall
        -As jcrinstall doesn't persist the list of bundles that must be restarted after the update, the webconsole restart is lost

      Steps to reproduce:
      Start the sling launchpad/app
      Install the Felix shell and shell text UI services (http://felix.apache.org/site/downloads.cgi)
      Install and start the Sling runmode and jcrinstall bundles.
      Uninstall the webconsole bundle using the Felix shell UI.
      Install and start the Felix webconsole 1.2.6 using the Felix shell UI.
      Refresh packages, from the Felix webconsole or shell.
      Try to install the Felix webconsole 1.2.8 via jcrinstall, by copying it in the repository under /libs/testing/install

      Result:
      /system/console does not display the console anymore
      After starting the console bundle from the Felix shell, things are back to normal

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bdelacretaz Bertrand Delacretaz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: