[jboss-user] [Clustering/JBoss] - Re: HA-JNDI Lookup doesn?t work from other (not the binder)S

JerryGauth do-not-reply at jboss.com
Tue Dec 19 08:07:10 EST 2006


I wasn't aware of that bug.

I could be mistaken but I don't think you can use auto discovery to actually bind something into HA-JNDI.  If you want to bind explicitly into HA-JNDI, you should add the HA-JNDI provider url to your context object.  So you would add an entry similar to the following, using your own server name.
p.put("Context.PROVIDER_URL", "localhost:1100")

Note that binding something to HA-JNDI causes the binding to be replicated across all nodes in your cluster.  However you don't need to bind an object to HA-JNDI in order for it to be looked up from a remote node.  You can bind it locally into the Global JNDI Namespace and use HA-JNDI (with or without autodiscovery) to find it from another node.  This requires that you have configured everything correctly, including the cluster itself.

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

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



More information about the jboss-user mailing list