[jboss-user] [Clustering/JBoss] - Re: Need help trying to expose singleton mbean interface to

bstansberry@jboss.com do-not-reply at jboss.com
Tue Oct 3 00:14:59 EDT 2006


Sorry for a very late reply; probably won't help you but may help others.

HA-JNDI provides two functions:

1) A global replicated tree. Objects bound into this tree (by a client that creates an InitialContext that connects to HA-JNDI) are replicated across the cluster and can be seen in the jmx-console's global jndi namespace on any node.

2) An ability to query the regular, non-replicated jndi tree on any node in the cluster.  Thus things bound on any one node can be looked up by connecting to the HA-JNDI server running on any node in the cluster.  This is actually the more important function, but it's less intuitively understood.  The jmx-console doesn't show objects accessible this way in the global jndi namespace.  They only appear in jmx-console in the regular jndi namespace on the server(s) where they are bound.  But this doesn't mean a client doing a lookup via HA-JNDI can't find them.

Your RMIAdaptor is bound in local JNDI on the singleton master node, and thus isn't visible in the global jndi namespace.  But it can be looked up via HA-JNDI.

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

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



More information about the jboss-user mailing list