Sunday, 15 July 2012

web applications - ServletContext state replication on Weblogic Cluster -



web applications - ServletContext state replication on Weblogic Cluster -

i know weblogic cluster replicates session state between nodes of cluster (according replication policy), far understand not replicate servletcontext (application scope) state.

is there configuration in weblogic create this?

i have list of messages (which set scheme admin) in application scope, , application shows them users.

everything fine before clustering application servers, after there problems. messages updated admin not shown users, , believe messages set on single node of cluster.

also track list of online users in application (i update list on user login , logout) , store list in application scope. how can maintain list on cluster?

is necessary maintain messages in application scope. because improve maintain them in session. seems functionality requires so. tell me 1 thing using coherence in application if below work :

check below parameter weblogic

coherence-servletcontext-clustered

either true or false indicate whether attributes of servletcontext clustered. if true, serializable servletcontext attribute values shared among cluster nodes.

if unspecified, defaults false, because servlet specification indicates servletcontext attributes local jvm , should not clustered.

for more details refer http://docs.oracle.com/cd/e13924_01/coh.340/e14408/appparams.htm

web-applications weblogic11g application-server

No comments:

Post a Comment