learn java
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 The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Accessing JMS through a load balancer." Watch "Accessing JMS through a load balancer." New topic

Accessing JMS through a load balancer.

Mohammad Akon

Joined: Jul 17, 2007
Posts: 19

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:


The configuration I made:

The client code

Any suggestion on the resolution will be highly appreciated.



P.S. My sincere apology if its a repost. In that case please forward me the original post.
Have you tried LearnNowOnline? http://www.learnnowonline.com/
subject: Accessing JMS through a load balancer.