Hi,

I'm having difficulty with load balancing SLSB on a cluster of 2 nodes running 
JBoss 4.01sp1 (I had the same issue with 3.2.7, upgraded to latest version to 
see if it was a fixed issue).

The SLSB is configured to do round robin load balancing and is deployed on 2 
nodes.

I've also got HAJMS configured with a DurableTopic which has a collection of 
MDB's listening to it.

When a MDB receives a message it should lookup the SLSB to handle the contents 
of the message. The idea being that the MDB's are lightweight (since they are 
only on one node) and SLSB which are clustered handle the processing of the 
messages.

The failover for the SLSB's works fine, but for some reason the MDB always 
connects to the same node to get a SLSB instead of load balancing.

To test if there is a problem with the SLSB configuration I copied the code 
that connects to the SLSB out of the MDB and into a client app. When using the 
client app to access the JBoss cluster both SLSB load balancing and failover 
work.

Is load balancing limited to clients connecting from the outside or should load 
balancing occur between the MDB's & SLSB within the cluster?
I'm assuming(hoping) it should work there is just some configuration setting 
somewhere that I've missed.

I can post the code & configuration files. Decide to wait and see what files 
people wanted to see instead of a collection of configuration files that nobody 
cares about.


Thanks in advanced for any help.

Matt

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872137#3872137

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872137


-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to