glassfish
  1. glassfish
  2. GLASSFISH-15812

LB Plugin Installer should add platform specific libs to envvars script for Apache installs

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1_b40
    • Fix Version/s: 3.1.1
    • Component/s: load_balancer
    • Labels:
      None

      Description

      On Solaris systems, the mod_loadbalancer.so plugin depends on shared libraries in /usr/lib/mps, for example libssl3.so.

      Either:
      1) The lb plugin should detect that /usr/lib/mps is present and add it to the LD_LIBRARY_PATH when it updates the envvars script.
      or
      2) The mod_loadbalancer.so should be linked with -R with /usr/lib/mps in the path list so that the shared library has that dependency embedded in it.

        Activity

        Hide
        Scott Fordin added a comment -

        Need more info to add issue to 3.1 Release Notes.

        Show
        Scott Fordin added a comment - Need more info to add issue to 3.1 Release Notes.
        Hide
        tecknobabble added a comment -

        Not sure why its flagged as a release note issue.

        I raised this as part of the doc review on the HA Guide, specifically this section:

        http://download.oracle.com/docs/cd/E18930_01/html/821-2426/abdhg.html#gidfs

        where it states:

        "To configure the Apache 2.2.x security files to work with the Loadbalancer Plugin, append /usr/lib/mps to the LD_LIBRARY_PATH in the apache-install-dir/bin/envvars file."

        Honestly, the LB installer should be able to check to see if that directory exists and update the envvars script itself. This shouldn't be a manual step. The more the installer can do the better to eliminate the chance of human error. With the 2.x installer I believe it made all the requisite changes for configuring Apache with the LB plugin.

        Show
        tecknobabble added a comment - Not sure why its flagged as a release note issue. I raised this as part of the doc review on the HA Guide, specifically this section: http://download.oracle.com/docs/cd/E18930_01/html/821-2426/abdhg.html#gidfs where it states: "To configure the Apache 2.2.x security files to work with the Loadbalancer Plugin, append /usr/lib/mps to the LD_LIBRARY_PATH in the apache-install-dir/bin/envvars file." Honestly, the LB installer should be able to check to see if that directory exists and update the envvars script itself. This shouldn't be a manual step. The more the installer can do the better to eliminate the chance of human error. With the 2.x installer I believe it made all the requisite changes for configuring Apache with the LB plugin.
        Hide
        Scott Fordin added a comment -

        Sounds like this does not need to be added to the Release Notes as it is already documented in the location to which tecknobabble points. Removing Release Notes tag.

        Show
        Scott Fordin added a comment - Sounds like this does not need to be added to the Release Notes as it is already documented in the location to which tecknobabble points. Removing Release Notes tag.
        Hide
        kshitiz_saxena added a comment -

        Fix is not needed in 3.1.1 as SSL libraries are bundled along with load-balancer plugin in 3.1.1.

        Show
        kshitiz_saxena added a comment - Fix is not needed in 3.1.1 as SSL libraries are bundled along with load-balancer plugin in 3.1.1.
        Hide
        kshitiz_saxena added a comment -

        This issue is no longer reproducible in 3.1.1 as SSL libraries to distribution.

        Show
        kshitiz_saxena added a comment - This issue is no longer reproducible in 3.1.1 as SSL libraries to distribution.
        Hide
        kshitiz_saxena added a comment -

        Reopened to add fix version

        Show
        kshitiz_saxena added a comment - Reopened to add fix version
        Hide
        kshitiz_saxena added a comment -

        Fixed in version 3.1.1.

        Show
        kshitiz_saxena added a comment - Fixed in version 3.1.1.

          People

          • Assignee:
            kshitiz_saxena
            Reporter:
            tecknobabble
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: