Server-wide elements in virtualhosts.xml are ignore
---------------------------------------------------

                 Key: QPID-1826
                 URL: https://issues.apache.org/jira/browse/QPID-1826
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: 0.5
            Reporter: Aidan Skinner
            Assignee: Aidan Skinner
             Fix For: 0.5


The broker ignores the default virtualhost setting in virtualhosts.xml but does 
honor it in config.xml


If the broker doesn't have a default virtualhost set and a client attempts to 
connect to it without specifying a virtualhost the connection fails and a 
NullPointerException is logged by the broker. The broker is otherwise 
unaffected and continues to be responsive.

This was discovered only when the interop tests are run, all of our other tests 
specify a virtualhost (normally test) in connecting to them. The new unit tests 
for configuration file parsing that were added did not check that setting 
server-wide values in virtualhosts.xml work, only setting them in config.xml 
and virtualhost specific values in virtualhosts.xml 

Just to be clear, this broke as part of QPID-1621, changing the way that 
configuration files are handled to allow split configuration files. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to