Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jndi lookup in cluster  RSS feed

 
s pramod
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How does the jndi lookup in clustered environment work?
For lookup i provide the initialcontext and provider url,the latter is normally specific to the admin server.So how does the client get the homeobject?
 
sander hautvast
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you say "admin server": websphere 4 ??
in a clustered websphere 4 environment, the jndi request is handled by the adminserver that's in the provider_url. WLM passes the request to any of the appservers available (the adminserver repository is a single DB schema for both adminservers and it contains info on the appservers in the cluster), gets a home object reference (stub) from it and sends this back to the client. (i guess this is similar for other j2ee containers.)
You could also specify the second adminserver in the url. works the same. both need to be running to make use of the cluster
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look JNDI With WebLogic

Programming WebLogic JNDI
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!