You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org> on 2009/04/23 17:28:30 UTC

[jira] Created: (QPID-1826) Server-wide elements in virtualhosts.xml are ignore

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:dev-subscribe@qpid.apache.org


[jira] Assigned: (QPID-1826) Server-wide elements in virtualhosts.xml are ignore

Posted by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aidan Skinner reassigned QPID-1826:
-----------------------------------

    Assignee: Martin Ritchie  (was: Aidan Skinner)

Hi martin, this has been ready to review for  a while but I forgot to change the asginee. Sorry!

> 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: Martin Ritchie
>             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:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-1826) Server-wide elements in virtualhosts.xml are ignore

Posted by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aidan Skinner updated QPID-1826:
--------------------------------

    Status: Ready To Review  (was: In Progress)

> 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:dev-subscribe@qpid.apache.org