File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes are Initialcontext objects are replicated while clustering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "are Initialcontext objects are replicated while clustering" Watch "are Initialcontext objects are replicated while clustering" New topic
Author

are Initialcontext objects are replicated while clustering

Senthil Kumar
Ranch Hand

Joined: Mar 13, 2006
Posts: 264
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.


when you really want something, all the universe always conspires in your favour.<br /> <br />SCJP1.5-77%<br />SCWCD-89%
Joseph Kampf
Greenhorn

Joined: Mar 04, 2004
Posts: 26
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.
 
Don't get me started about those stupid light bulbs.
 
subject: are Initialcontext objects are replicated while clustering