File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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. and 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 ( 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.
I agree. Here's the link:
subject: Accessing JMS through a load balancer.
It's not a secret anymore!