wood burning stoves*
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: are Initialcontext objects are replicated while clustering
 
Similar Threads
Web application clustering
How to deploy ejb's in weblogic?
ServletContext will be replicated in case Session Replication or not
problem with DB2 connection in a stateful session bean and deployed by Websphere
taglib not working for a JSP page in Struts