Title: The problem with JBoss-3.2.2 while using JMS

Hi Users,

The problem with JBoss-3.2.2 while using JMS

        I am in the Local Network. I am trying to lookup to 10.4.11.71 for publisher/subscriber the message in some queue(let us say testQueue). I am able to successfully connect to the JBoss server (on 10.4.11.71) and publish/subscribe the message in the testQueue (Where as JBoss server is not running on 10.4.11.71). Later I came to know some where in my network JBoss is running(let us say 10.4.10.30) and my publisher/subscriber connecting to that server (10.4.10.30).


Note:-

  • JBoss server is not running in the IP (10.4.11.71) but running in the IP (10.4.10.30).

  • My Expected Output was:- It need to get a exception saying that the server is not running (javax.naming.CommunicationException: Unable to communicate with the naming service on servers 10.4.11.71). Is my expected output is correct?.

Here I am attaching the source code of Publisher and Subscriber. Please look into this issue and let me guide how to proceed.

Thanks
Subbarao


<<JMSPublisher.java>> <<JMSListener.java>>

Attachment: JMSPublisher.java
Description: JMSPublisher.java

Attachment: JMSListener.java
Description: JMSListener.java

Reply via email to