SourceForge.net
2005-03-02 16:05:29 UTC
Bugs item #1155164, was opened at 2005-03-02 09:05
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1155164&group_id=54559
Category: jndi
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bas Ven (batter)
Assigned to: Nobody/Anonymous (nobody)
Summary: Can't have duplicate topic/queue/connectionfactory names
Initial Comment:
The server doesn't check for duplicate queue, topic, or
connection factory names, so the last one to be bound
in JNDI wins.
Example:
If you create a topic of name
"JmsTopicConnectionFactory" you will get a class cast
exception when running the following code:
String factoryName = "JmsTopicConnectionFactory";
TopicConnectionFactory factory =
(TopicConnectionFactory)context.lookup
(factoryName);
The object returned is the JmsTopic and not the
connectionfactory.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1155164&group_id=54559
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1155164&group_id=54559
Category: jndi
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bas Ven (batter)
Assigned to: Nobody/Anonymous (nobody)
Summary: Can't have duplicate topic/queue/connectionfactory names
Initial Comment:
The server doesn't check for duplicate queue, topic, or
connection factory names, so the last one to be bound
in JNDI wins.
Example:
If you create a topic of name
"JmsTopicConnectionFactory" you will get a class cast
exception when running the following code:
String factoryName = "JmsTopicConnectionFactory";
TopicConnectionFactory factory =
(TopicConnectionFactory)context.lookup
(factoryName);
The object returned is the JmsTopic and not the
connectionfactory.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1155164&group_id=54559