Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2091

Only virtualhosts defined in the virtualhost.xml file are initialised

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Later
    • 0.5
    • JIRA Cleanup
    • Broker-J
    • None

    Description

      The problem is that we use the virtualhosts defined in the virtualhost.xml file to control a loop for creating the virtualhosts.

      If the virtualhost.xml file is not used in the configuration then no virtualhosts are configured.

      The problem in the ServerConfiguration class also means that any use of a CombinedConfiguration cannot override settings in the virtualhost.xml file.

      The fix to address the lack of virtualhosts is to copy the values from the virtualhost.xml into the main config then use the main config as the source for the configured virtualhosts.

      This however, will still leave us with the problem of virtualhost.xml still overriding any other configuration value. For now this is probably acceptable as the work around is not to reference the virtualhost.xml in the config.xml if you are using a Combined Configuration. If wish to have a virtualhost.xml file then that can easily be included in the combined file and will opporate as expected.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ritchiem Martin Ritchie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: