aspose file tools*
The moose likes JBoss/WildFly and the fly likes Accessing JMS through a load balancer. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Accessing JMS through a load balancer." Watch "Accessing JMS through a load balancer." New topic
Author

Accessing JMS through a load balancer.

Mohammad Akon
Greenhorn

Joined: Jul 17, 2007
Posts: 19
Hello,

I have two instances of JBOSS running on two different physical boxes (e.g. app1.internaldomain.com and app2.internaldomain.com) on the same network and JMS is configured to listen on port 10099. I also created a topic. On the servers' front there is a load balancer (lb.internaldomain.com) which is actually dispatching all the incoming request to the different boxes in a round robin fashion. I've visibility only to the load balancer not to any of the app servers (I can only send request to it). I used a sample application to send messages to the JMS queue. But I am getting the following error:

ERROR:


The configuration I made:


The client code


Any suggestion on the resolution will be highly appreciated.

Thanks.

Mohammad

P.S. My sincere apology if its a repost. In that case please forward me the original post.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing JMS through a load balancer.