You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2007/03/22 15:46:32 UTC

[jira] Created: (QPID-431) Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}

Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}
------------------------------------------------------------------------------------------------

                 Key: QPID-431
                 URL: https://issues.apache.org/jira/browse/QPID-431
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
            Reporter: Martin Ritchie


Main.setupVirtualHosts/startup

Doesn't correctly resolve the path from the virtualhosts section of the XML. Currently it resolved ${conf} manually to be the location of the config.xml file and not the value specified in the xml file.

This should be resolved by the Configuration classes.

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


[jira] Resolved: (QPID-431) Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}

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

Martin Ritchie resolved QPID-431.
---------------------------------

    Fix Version/s: 0.5
       Resolution: Fixed

This was adddressed when QPID-1612 was done.

> Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}
> ------------------------------------------------------------------------------------------------
>
>                 Key: QPID-431
>                 URL: https://issues.apache.org/jira/browse/QPID-431
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Starter
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>             Fix For: 0.5
>
>
> Main.setupVirtualHosts/startup
> Doesn't correctly resolve the path from the virtualhosts section of the XML. Currently it resolved ${conf} manually to be the location of the config.xml file and not the value specified in the xml file.
> This should be resolved by the Configuration classes.

-- 
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-431) Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}

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

Martin Ritchie updated QPID-431:
--------------------------------

    Fix Version/s:     (was: M5)

> Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}
> ------------------------------------------------------------------------------------------------
>
>                 Key: QPID-431
>                 URL: https://issues.apache.org/jira/browse/QPID-431
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Starter
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>
> Main.setupVirtualHosts/startup
> Doesn't correctly resolve the path from the virtualhosts section of the XML. Currently it resolved ${conf} manually to be the location of the config.xml file and not the value specified in the xml file.
> This should be resolved by the Configuration classes.

-- 
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-431) Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}

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

Marnie McCormack updated QPID-431:
----------------------------------

    Component/s:     (was: Java Broker)
                 Starter

> Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}
> ------------------------------------------------------------------------------------------------
>
>                 Key: QPID-431
>                 URL: https://issues.apache.org/jira/browse/QPID-431
>             Project: Qpid
>          Issue Type: Bug
>          Components: Starter
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>            Priority: Minor
>             Fix For: M4
>
>
> Main.setupVirtualHosts/startup
> Doesn't correctly resolve the path from the virtualhosts section of the XML. Currently it resolved ${conf} manually to be the location of the config.xml file and not the value specified in the xml file.
> This should be resolved by the Configuration classes.

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


[jira] Updated: (QPID-431) Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}

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

Marnie McCormack updated QPID-431:
----------------------------------

    Fix Version/s:     (was: M4)

Moving items not being worked on afaik out of M4 Fix Version

> Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}
> ------------------------------------------------------------------------------------------------
>
>                 Key: QPID-431
>                 URL: https://issues.apache.org/jira/browse/QPID-431
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Starter
>            Reporter: Martin Ritchie
>            Priority: Minor
>
> Main.setupVirtualHosts/startup
> Doesn't correctly resolve the path from the virtualhosts section of the XML. Currently it resolved ${conf} manually to be the location of the config.xml file and not the value specified in the xml file.
> This should be resolved by the Configuration classes.

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


[jira] Commented: (QPID-431) Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}

Posted by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610194#action_12610194 ] 

Aidan Skinner commented on QPID-431:
------------------------------------

This manifests itself with qpid -c config.xml failing with 'could not open null/virtualhosts.xml' but qpid -c ./config.xml working

> Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}
> ------------------------------------------------------------------------------------------------
>
>                 Key: QPID-431
>                 URL: https://issues.apache.org/jira/browse/QPID-431
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Martin Ritchie
>            Priority: Minor
>             Fix For: M3
>
>
> Main.setupVirtualHosts/startup
> Doesn't correctly resolve the path from the virtualhosts section of the XML. Currently it resolved ${conf} manually to be the location of the config.xml file and not the value specified in the xml file.
> This should be resolved by the Configuration classes.

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


[jira] Updated: (QPID-431) Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}

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

Marnie McCormack updated QPID-431:
----------------------------------

    Component/s: Java Broker

> Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}
> ------------------------------------------------------------------------------------------------
>
>                 Key: QPID-431
>                 URL: https://issues.apache.org/jira/browse/QPID-431
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Starter
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>            Priority: Minor
>             Fix For: M4
>
>
> Main.setupVirtualHosts/startup
> Doesn't correctly resolve the path from the virtualhosts section of the XML. Currently it resolved ${conf} manually to be the location of the config.xml file and not the value specified in the xml file.
> This should be resolved by the Configuration classes.

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


[jira] Assigned: (QPID-431) Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}

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

Martin Ritchie reassigned QPID-431:
-----------------------------------

    Assignee:     (was: Martin Ritchie)

> Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}
> ------------------------------------------------------------------------------------------------
>
>                 Key: QPID-431
>                 URL: https://issues.apache.org/jira/browse/QPID-431
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Starter
>            Reporter: Martin Ritchie
>            Priority: Minor
>             Fix For: M4
>
>
> Main.setupVirtualHosts/startup
> Doesn't correctly resolve the path from the virtualhosts section of the XML. Currently it resolved ${conf} manually to be the location of the config.xml file and not the value specified in the xml file.
> This should be resolved by the Configuration classes.

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


[jira] Updated: (QPID-431) Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}

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

Marnie McCormack updated QPID-431:
----------------------------------

    Fix Version/s: M5
         Assignee: Martin Ritchie
         Priority: Major  (was: Minor)

> Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}
> ------------------------------------------------------------------------------------------------
>
>                 Key: QPID-431
>                 URL: https://issues.apache.org/jira/browse/QPID-431
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Starter
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>             Fix For: M5
>
>
> Main.setupVirtualHosts/startup
> Doesn't correctly resolve the path from the virtualhosts section of the XML. Currently it resolved ${conf} manually to be the location of the config.xml file and not the value specified in the xml file.
> This should be resolved by the Configuration classes.

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


[jira] Updated: (QPID-431) Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}

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

Martin Ritchie updated QPID-431:
--------------------------------

    Fix Version/s: M3
         Priority: Minor  (was: Major)

> Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}
> ------------------------------------------------------------------------------------------------
>
>                 Key: QPID-431
>                 URL: https://issues.apache.org/jira/browse/QPID-431
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Martin Ritchie
>            Priority: Minor
>             Fix For: M3
>
>
> Main.setupVirtualHosts/startup
> Doesn't correctly resolve the path from the virtualhosts section of the XML. Currently it resolved ${conf} manually to be the location of the config.xml file and not the value specified in the xml file.
> This should be resolved by the Configuration classes.

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


[jira] Commented: (QPID-431) Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610198#action_12610198 ] 

Martin Ritchie commented on QPID-431:
-------------------------------------

To be accurate the ${conf} value used in the <virtualhost> section of the xml resolves to be the basename of config.xml. So if there is no basename the value java returns is null hence null/virtualhosts.xml.

It is just poor the ${conf] value should be looked up in the Configuration class as is done for the rest of the config.xml file.


> Main startup of virtualhosts doesn't correctly resolve any config file variables such as ${conf}
> ------------------------------------------------------------------------------------------------
>
>                 Key: QPID-431
>                 URL: https://issues.apache.org/jira/browse/QPID-431
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Martin Ritchie
>            Priority: Minor
>             Fix For: M3
>
>
> Main.setupVirtualHosts/startup
> Doesn't correctly resolve the path from the virtualhosts section of the XML. Currently it resolved ${conf} manually to be the location of the config.xml file and not the value specified in the xml file.
> This should be resolved by the Configuration classes.

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