• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 726
  • Last Modified:

SERVLET CONTEXT IN WEBLOGIC CLUSTERS

Hi all,
I have 2 weblogic managed servers s1 and s2.both are clustered
I have put certain value in servlet context when s1 and s2 starts up.
assume that i put object a when s1 starts up and if i put the object a again when s2 starts up what actually happens internally.if i bring donw the server s2 whether server s1 actually be able to get that object.Please help me..its urgent
0
cjtraman
Asked:
cjtraman
1 Solution
 
CEHJCommented:
If the clustering is implemented properly, the context will be transparent and you shouldn't need to concern yourself with it
0
 
BeckyCommented:
As far as I know only session objects get replicated in a cluster (assuming, of course, that clustering is configured properly and the app is configured to utilize it).  So content in the servlet context would not get replicated if you change it on the fly.  The servlet context is really used to initialize data for use by servlets.  You really shouldn't be modifying data in the servlet context, only utilizing it.

Anything you want to get replicated should go in the session.
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now