[jboss-user] [JNDI/Naming/Network] - JBoss Returns java.naming.Reference instead of the actual ob
do-not-reply at jboss.com
Sun Sep 7 02:46:52 EDT 2008
I am running JBoss 4.0.2. I have 2 instances of JBoss A & B
A has HAJNDI and JMS on it
B is A's client.
B looks up a queue on A over JNDI using Spring (2.0.5, JmsTemplate) and gets a java.naming.Reference object. It then bombs because it expects a queue.
When I try to lookup the same object from a stand-alone java application, I get a reference to SpyQueue and all is well.
For what it is worth, I tried to trace the NamingServer. For requests from JBoss, it goes to NamingServer but for request from the stand-alone application, it goes to TreeHead.
I am at the end of my rope here. I would really appreciate any help I can get.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174797#4174797
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174797
More information about the jboss-user