You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ffrench Mathilde (JIRA)" <qp...@incubator.apache.org> on 2009/03/25 18:38:53 UTC

[jira] Created: (QPID-1777) JNDI problem with white spaces

JNDI problem with white spaces
------------------------------

                 Key: QPID-1777
                 URL: https://issues.apache.org/jira/browse/QPID-1777
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
         Environment: all
            Reporter: Ffrench Mathilde


When I declare this JNDI queue :

queue.<jndi_queue>             = <physical_queue                      >

The queue "physical_queue                      " is created and it's impossible to remove it after ....





-- 
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-1777) JNDI problem with white spaces

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

Rajith Attapattu updated QPID-1777:
-----------------------------------

    Description: 
Trailing spaces in queue, topic definitions are not discared.
This leads to other errors as users think the Queue name is myQueue (while the real queue name is myQueueXXXX where XXXX are trailing spaces) and tries to use that name with management tools etc and fails to delete, purge ..etc

Ex 
queue.myqueue   = my_queueXXXXXXXX
topic.mytopic   = my_topicXXXXXXXX
topic.mytopic2  = my_bk1XX, my_bk2XX, my_bk3XX

where XXXX are trailing spaces.






  was:
When I declare this JNDI queue :

queue.<jndi_queue>             = <physical_queue                      >

The queue "physical_queue                      " is created and it's impossible to remove it after ....





       Assignee: Rajith Attapattu

> JNDI problem with white spaces
> ------------------------------
>
>                 Key: QPID-1777
>                 URL: https://issues.apache.org/jira/browse/QPID-1777
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>         Environment: all
>            Reporter: Ffrench Mathilde
>            Assignee: Rajith Attapattu
>
> Trailing spaces in queue, topic definitions are not discared.
> This leads to other errors as users think the Queue name is myQueue (while the real queue name is myQueueXXXX where XXXX are trailing spaces) and tries to use that name with management tools etc and fails to delete, purge ..etc
> Ex 
> queue.myqueue   = my_queueXXXXXXXX
> topic.mytopic   = my_topicXXXXXXXX
> topic.mytopic2  = my_bk1XX, my_bk2XX, my_bk3XX
> where XXXX are trailing spaces.

-- 
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-1777) JNDI problem with white spaces

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

Rajith Attapattu updated QPID-1777:
-----------------------------------

    Description: 
Trailing spaces in queue and topic definitions are not discarded.
This leads to other errors as users think the Queue name is myQueue (while the real queue name is myQueueXXXX where XXXX are trailing spaces) and tries to use that name with management tools and fails to delete, purge ..etc

Ex when defining in JNDI properties file if there are trailling spaces as follows.
queue.myqueue   = my_queueXXXXXXXX
topic.mytopic   = my_topicXXXXXXXX
topic.mytopic2  = my_bk1XX, my_bk2XX, my_bk3XX

where XXXX are trailing spaces.

The created queue names are as follows
my_queueXXXXXXXX instead of my_queue

  was:
Trailing spaces in queue, topic definitions are not discared.
This leads to other errors as users think the Queue name is myQueue (while the real queue name is myQueueXXXX where XXXX are trailing spaces) and tries to use that name with management tools etc and fails to delete, purge ..etc

Ex 
queue.myqueue   = my_queueXXXXXXXX
topic.mytopic   = my_topicXXXXXXXX
topic.mytopic2  = my_bk1XX, my_bk2XX, my_bk3XX

where XXXX are trailing spaces.







> JNDI problem with white spaces
> ------------------------------
>
>                 Key: QPID-1777
>                 URL: https://issues.apache.org/jira/browse/QPID-1777
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>         Environment: all
>            Reporter: Ffrench Mathilde
>            Assignee: Rajith Attapattu
>
> Trailing spaces in queue and topic definitions are not discarded.
> This leads to other errors as users think the Queue name is myQueue (while the real queue name is myQueueXXXX where XXXX are trailing spaces) and tries to use that name with management tools and fails to delete, purge ..etc
> Ex when defining in JNDI properties file if there are trailling spaces as follows.
> queue.myqueue   = my_queueXXXXXXXX
> topic.mytopic   = my_topicXXXXXXXX
> topic.mytopic2  = my_bk1XX, my_bk2XX, my_bk3XX
> where XXXX are trailing spaces.
> The created queue names are as follows
> my_queueXXXXXXXX instead of my_queue

-- 
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] Resolved: (QPID-1777) JNDI problem with white spaces

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

Aidan Skinner resolved QPID-1777.
---------------------------------

    Resolution: Fixed

> JNDI problem with white spaces
> ------------------------------
>
>                 Key: QPID-1777
>                 URL: https://issues.apache.org/jira/browse/QPID-1777
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>         Environment: all
>            Reporter: Ffrench Mathilde
>            Assignee: Rajith Attapattu
>
> Trailing spaces in queue and topic definitions are not discarded.
> This leads to other errors as users think the Queue name is myQueue (while the real queue name is myQueueXXXX where XXXX are trailing spaces) and tries to use that name with management tools and fails to delete, purge ..etc
> Ex when defining in JNDI properties file if there are trailling spaces as follows.
> queue.myqueue   = my_queueXXXXXXXX
> topic.mytopic   = my_topicXXXXXXXX
> topic.mytopic2  = my_bk1XX, my_bk2XX, my_bk3XX
> where XXXX are trailing spaces.
> The created queue names are as follows
> my_queueXXXXXXXX instead of my_queue

-- 
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] Commented: (QPID-1777) JNDI problem with white spaces

Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693982#action_12693982 ] 

Rajith Attapattu commented on QPID-1777:
----------------------------------------

A test case for this has been committed into Qpid trunk at rev 760305.
The test case has 3 basic tests to check for trailing spaces when defining queue, topics and topics with multiple binding keys.

> JNDI problem with white spaces
> ------------------------------
>
>                 Key: QPID-1777
>                 URL: https://issues.apache.org/jira/browse/QPID-1777
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>         Environment: all
>            Reporter: Ffrench Mathilde
>
> When I declare this JNDI queue :
> queue.<jndi_queue>             = <physical_queue                      >
> The queue "physical_queue                      " is created and it's impossible to remove it after ....

-- 
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] Commented: (QPID-1777) JNDI problem with white spaces

Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689805#action_12689805 ] 

Rajith Attapattu commented on QPID-1777:
----------------------------------------

A fix for this has been committed into Qpid trunk at rev 758820.
A test case for this will be commited shortly and will be back ported to the M5 branch subjected to the release managers approval.

> JNDI problem with white spaces
> ------------------------------
>
>                 Key: QPID-1777
>                 URL: https://issues.apache.org/jira/browse/QPID-1777
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>         Environment: all
>            Reporter: Ffrench Mathilde
>
> When I declare this JNDI queue :
> queue.<jndi_queue>             = <physical_queue                      >
> The queue "physical_queue                      " is created and it's impossible to remove it after ....

-- 
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