You should be able to invoke list() or listBindings() to see what's stored in 
HA-JNDI.  These calls don't access the local JNDI tree.

One observation I have after working with HA_JNDI in JBoss 5 Alpha is that even 
though you specify a provider url such as "jnp://nodeA:1100", the "smart stub" 
is distributing your lookups based upon a designated load balancing policy.  In 
the case of HA-JNDI, the load balancing policy is currently hard-coded to round 
robin.  So your lookup directed towards nodeA:1100 could be handled by 
nodeB:1100.  This should only matter if the object is located in HA-JNDI and 
replication fails or if you're bound different objects into local JNDI.

I haven't tested this in JBoss 4 so I'm not sure how it's handled there.  If 
you turn logging up and check the log, you can see which servers are handling 
your lookups and you should be able to determine whether this affects your 
results.

Jerry   

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

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


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to