glassfish
  1. glassfish
  2. GLASSFISH-16930

[Regression] Registration page fails to come up at the end of GF Install

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.1_b09
    • Fix Version/s: 3.1.1_b11
    • Component/s: installation
    • Labels:
      None
    • Environment:

      System is running REHL 5. Firefox 3.6.3. Using build 9 (ogs-unix.sh). SunJDK 1.6.0_26.

      Description

      At the end of the Glassfish installation typical with default values). The registration screen is supposed to be launched in the default browser, however, the system fails with the following error:

      SwixML 1.5 (#144)
      // Error: Exception in runnable:Method Invocation relayService.generateRegistrationPage : at Line: 141 : in file: inline evaluation of: `` import org.openinstaller.bus.; import org.openinstaller.core.; import org.ope . . . '' : relayService .generateRegistrationPage ( regPagePath )

      Target exception: java.lang.NoClassDefFoundError: com/sun/enterprise/universal/process/ProcessStreamDrainer

        Activity

        Hide
        scatari added a comment -

        Pre-approving to be one of the candidates for b11.

        Show
        scatari added a comment - Pre-approving to be one of the candidates for b11.
        Hide
        Snjezana Sevo-Zenzerovic added a comment -

        Taking ownership...

        Adding common-util.jar to installer classpath resolves the issue on Solaris and Linux platforms. Still need to find out whether Windows platform is affected and how to adjust classpath in Windows native wrapper, if necessary.

        Show
        Snjezana Sevo-Zenzerovic added a comment - Taking ownership... Adding common-util.jar to installer classpath resolves the issue on Solaris and Linux platforms. Still need to find out whether Windows platform is affected and how to adjust classpath in Windows native wrapper, if necessary.
        Hide
        Snjezana Sevo-Zenzerovic added a comment -

        Well, miracles never end...

        Registration page does show up on Windows using 3.1.1 b10 Open Source Edition distributions. So, I believe it will be enough to adjust classpath in Unix install wrapper script and Windows .exe wrappers can be left as is.

        Show
        Snjezana Sevo-Zenzerovic added a comment - Well, miracles never end... Registration page does show up on Windows using 3.1.1 b10 Open Source Edition distributions. So, I believe it will be enough to adjust classpath in Unix install wrapper script and Windows .exe wrappers can be left as is.
        Hide
        Snjezana Sevo-Zenzerovic added a comment -

        I think I know what's going on after all after some more digging through registration code...

        It seems that ProcessStreamDrainer class is used only if registration code needs to invoke external command to populate some of registration information fields using getCommandOutput() method. This approach is apparently used only for Linux and Solaris implementations while MacOS and Windows go through different code path.

        So, at least that mystery is solved. I will update only Unix install wrapper script classpath reference.

        Show
        Snjezana Sevo-Zenzerovic added a comment - I think I know what's going on after all after some more digging through registration code... It seems that ProcessStreamDrainer class is used only if registration code needs to invoke external command to populate some of registration information fields using getCommandOutput() method. This approach is apparently used only for Linux and Solaris implementations while MacOS and Windows go through different code path. So, at least that mystery is solved. I will update only Unix install wrapper script classpath reference.
        Hide
        Snjezana Sevo-Zenzerovic added a comment -

        Fix has been checked in and will be available in 3.1.1 b11.

        Show
        Snjezana Sevo-Zenzerovic added a comment - Fix has been checked in and will be available in 3.1.1 b11.
        Hide
        Alex Pineda added a comment -

        Verified fix in promoted build11 on a Linux machine. Registration page was displayed. Tried on Solaris 11, but no page was displayed (need to configure browser?), but no errors.

        Show
        Alex Pineda added a comment - Verified fix in promoted build11 on a Linux machine. Registration page was displayed. Tried on Solaris 11, but no page was displayed (need to configure browser?), but no errors.

          People

          • Assignee:
            Snjezana Sevo-Zenzerovic
            Reporter:
            Alex Pineda
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: