The problem (for me at least) with HAMembershipListener is that the notification 
information it receives is of type ClusterNode which is basically at the JGroups level 
and not at the partition/node level. So it's a bunch of addresses/ports.

Does anyone know a way of obtaining higher level information about topology changes? 
Or a reliable way of mapping the ClusterNode JGroups info to partition/node level info?

The best I have been able to come up with so far is based on the fact that "normally" 
the default value of ClusterNode.getName() will be the address:port of the JNDI 
provider of the node that was added/removed. From here it's possible to obtain the 
remote MBeanServer and therefore any information about the node. BUT, this link is 
tenuous as it's dependent on an undocumented feature - not even in the javadoc - just 
buried in the source code.

Any ideas for a reliable/supported alternative?

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825261#3825261";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825261>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to