glassfish
  1. glassfish
  2. GLASSFISH-13298

context-root entry appears twice in exported lb xml for a webservice apps

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1_b19
    • Component/s: load_balancer
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      13,298

      Description

      GF Build: 17

      Deploying a web-service app and then exporting the lb config into a lb xml using
      the export-http-lb-config command is generating an lb xml with a duplicate
      context-root entry.

      <web-module context-root="/rm-service" disable-timeout-in-minutes="30"
      enabled="true"/>
      <web-module context-root="/rm-service" disable-timeout-in-minutes="30"
      enabled="true"/>

      This LB xml becomes un-usable as LB reconfiguration (on the webserver) fails and
      uses the previously saved configuration.
      ******
      [07/Sep/2010:02:02:16] failure ( 6691): ClusterData.cpp@184: reports:
      lb.router: XML_VALIDATOR_ERROR: Duplicate context-root. A web module with the
      context-root rm-service has already been deployed on the cluster st-cluster.
      [07/Sep/2010:02:02:16] warning ( 6691): reports: lb.configurator: CNFG1004 :
      Error occured during refresh of Loadbalancer config Parser for :
      /space/varun/oracle-webserver7/https-ejp5363-vm1/config/loadbalancer.xml. Using
      old configuration...
      ******

      The issue can be reproduced using the attached app.

        Activity

        varunrupela created issue -
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 13298 44902

          People

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

            Dates

            • Created:
              Updated:
              Resolved: