glassfish
  1. glassfish
  2. GLASSFISH-16143

Installer: improve progress feedback during Configuring Update Tool Bootstrap (41%)

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: future release
    • Component/s: installation
    • Labels:
      None

      Description

      During installation using the GUI installer the progress feedback halts at 41% for potentially a long time while the Update Center is bootstrapped. We really need to provide progress feedback during this point of the installation.

      The UC Java client (that is doing the downloads) does provide the ability to register a progress tracker. In UC 2.3.4 this progress tracker will be used to provide better feedback when bootstrapping via the CLI. We should also leverage this to provide better feedback during installation using the GUI.

      I'm not sure if the installer is invoking the bootstraper via the Java API (in which case adding the tracker should be fairly straightforward) or via System.exec() of java on the bootstrapper jar (in which case we either change the installer to use the API, or get a bit creative). We may need to make a change in UC to allow the passing of a progress tracker via the bootstrap API.

      As a side note: 3.1 has a regression where the UC bootstrap phase takes even longer than it did in 3.0.1. This is covered by bug GLASSFISH-16067 (UC bug UPDATECENTER2-2175). This is being improved in UC 2.3.4.

        Issue Links

          Activity

          Hide
          Joe Di Pol added a comment -

          Looks like this won't make the 3.1.2 release. Removing 3_1_2-review.

          Show
          Joe Di Pol added a comment - Looks like this won't make the 3.1.2 release. Removing 3_1_2-review.
          Hide
          scatari added a comment -

          Fixing this would require extensions to OpenInstaller Progress Panel listeners which is risky at this point. Targeting for consideration in the next release.

          Show
          scatari added a comment - Fixing this would require extensions to OpenInstaller Progress Panel listeners which is risky at this point. Targeting for consideration in the next release.
          Hide
          Joe Di Pol added a comment -

          Details for providing a progress tracker to the bootstrapper are given in http://java.net/jira/browse/UPDATECENTER2-2181

          I'm tagging this for consideration for 3.1.1.

          Show
          Joe Di Pol added a comment - Details for providing a progress tracker to the bootstrapper are given in http://java.net/jira/browse/UPDATECENTER2-2181 I'm tagging this for consideration for 3.1.1.
          Hide
          scatari added a comment -

          Yes, this is one of the nice improvements to have for installer that will definitely improve user experience. Installer currently does this "com.sun.pkg.bootstrap.Bootstrap.main(args…)" to setup/configure updatetool. Targeting this for 3.2. Please do update the bug with information on how to implement/invoke the progress tracker.

          Show
          scatari added a comment - Yes, this is one of the nice improvements to have for installer that will definitely improve user experience. Installer currently does this "com.sun.pkg.bootstrap.Bootstrap.main(args…)" to setup/configure updatetool. Targeting this for 3.2. Please do update the bug with information on how to implement/invoke the progress tracker.

            People

            • Assignee:
              Snjezana Sevo-Zenzerovic
              Reporter:
              Joe Di Pol
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: