Details
-
Bug
-
Resolution: Done
-
Major
-
7.0.0.CR1, 7.0.0.Final
-
None
Description
As per the discussion in this mail thread http://lists.jboss.org/pipermail/jboss-as7-dev/2011-July/002890.html:
1) Unqualified relative names like "DefaultDS" or "jdbc/DefaultDS"
should be qualified relative to "java:comp/env", "java:module/env", or
"java:jboss/env", depending on the context.
So in case of JMS destinations configured in the standalone.xml/domain.xml, JNDI entries like these:
<jms-destinations> <jms-queue name="testQueue"> <entry name="queue/test"/> </jms-queue> <jms-topic name="testTopic"> <entry name="topic/test"/> </jms-topic> </jms-destinations>
should bind under java:jboss/ namespace.
Instead, currently the org.jboss.as.messaging.jms.AS7BindingRegistry binds it to java: namespace.