[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-395) JNDI lookups fail with ClassCastException
Tim Fox (JIRA)
jira-events at lists.jboss.org
Wed Sep 23 04:37:49 EDT 2009
[ https://jira.jboss.org/jira/browse/JBMESSAGING-395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12487074#action_12487074 ]
Tim Fox commented on JBMESSAGING-395:
-------------------------------------
I'll explain a bit more about this issue since the old comments are a bit misleading.
According to the JMS spec, all JMS administered objects need to be Referenceable. That means implement the interface javax.naming.Referenceable
Take a look at the commented out code in HornetQConnectionFactory for example.
So we need to make sure those classes (HornetQConnectionFactory, HornetQQueue and HornetQTopic) implement this interface correctly, and write tests acordingly.
> JNDI lookups fail with ClassCastException
> -----------------------------------------
>
> Key: JBMESSAGING-395
> URL: https://jira.jboss.org/jira/browse/JBMESSAGING-395
> Project: JBoss Messaging
> Issue Type: Bug
> Components: JMS Facade
> Affects Versions: 1.0.1.CR1
> Reporter: Ovidiu Feodorov
> Assignee: Tim Fox
> Fix For: 1.4.0.CR1
>
>
> Changes introduced by http://jira.jboss.org/jira/browse/JBMESSAGING-390 cause JNDI lookups to fail with ClassCastException
> To replicate: run the MDB smoke tests with 4.0.4.GA.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list