This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

are Initialcontext objects are replicated while clustering

 
Senthil Kumar
Ranch Hand
Posts: 264
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In our application we bind an HashMap to the InitialContext. My doubt is will this be replicated to the available managed servers when the current managed server goes down.
 
Joseph Kampf
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It will NOT be replicated.

Each WLS Server has it's own copy of the JNDI tree. Only Cluster Aware Stubs (Such as Queues and EJBs that are marked as such) are replicated. And when this happens, each server still has their own copy of these objects. Just that the implementation of these objects knows how to get a hold of the other instances of these objects in the other servers.



Originally posted by Senthil Kumar SS:
In our application we bind an HashMap to the InitialContext. My doubt is will this be replicated to the available managed servers when the current managed server goes down.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic