I have two jboss 4.0.1sp1 clusters in the same subnet running the same 
application. However, I have a problem where an EJB client from "cluster B" 
will automatically start making calls to "cluster A". It should not do that -- 
the client is intended to connect to cluster B only. The client uses the 
HA-JNDI from cluster B to do lookups; it should never make calls to cluster A.

I have followed the instructions in the FAQ for having two clusters in the same 
subnet (http://wiki.jboss.org/wiki/Wiki.jsp?page=TwoClustersSameNetwork), 
including:
- unique partition names (cluster A is "DefaultPartition", cluster B is 
different)
- unique multicast IPs in cluster-service.xml for both the PartitionConfig and 
for the HA-JNDI AutoDiscoveryAddress (this wasn't covered in FAQ, but seems 
like it should be unique?)

I can see in the jboss logging output that my clusters are separate -- each one 
has the right number and identification of it's members. The clusters are 
definitely separate, but it seems like the stub the client gets back from the 
HA-JNDI lookup will somehow go and find the other cluster on it's own. I have 
observed with a debugger that my client ends up with a reference to a node in 
the wrong cluster (by looking at the IP in the ref variable).

My server configs started by copying "all" and haven't been changed much. And I 
am using JBoss AS 4.0.1sp1.

What can I do to prevent my clients from calling EJBs on the wrong cluster?

Thanks,
-Max

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to