-
1. Re: Trouble to connect to remote jms queue
nusa Jun 14, 2004 7:20 PM (in response to jamesotta2004)Check the testsuites.
There are a lot of simple JMS code in there.
Suggestions :
Use the JBoss logger function, instead of the crap System.out.println(...)
such as :<class declaration> { private static Logger log = Logger.getLogger(this.class); <methode> { log.debug("Your blah blah blah ..."); } }
Again check the testsuites about how to use the logger.
nusa. -
2. Re: Trouble to connect to remote jms queue
jamesotta2004 Jun 14, 2004 11:30 PM (in response to jamesotta2004)Thanks for the pointer.
Looking at the test suite code come with the jboss-3.2.2 source, most of the test is looking up ConnectionFactory through localhost rather than through remote server. They didn't help in my case.
Further look at the code of org.jboss.mq.server.JMSDestinationManager
seems like that even client code lookup connection and queue successfully, when create QueueReciever, the JMSDestinationManager is looking for the local queue instead of remote queue from "destinations" map. -
3. Re: Trouble to connect to remote jms queue
pcross616 Jun 30, 2004 9:10 PM (in response to jamesotta2004)I am seeing this too. I stepped through the the JMSDestinationManager and it is the wrong one, it is for the local server. Is there anyway to get a remote JBOSS instance to talk to another JBOSS instance running the JMS Topics/Queues? Theres gotta be.. I am just missing it..
BTW: I tried providing ./run.sh --host= on both server since I saw a post about it not knowing how to bind the JNDI but that seemed not to make a difference.
any help would be great.
-Pete