wood burning stoves 2.0*
The moose likes Websphere and the fly likes how to keep multi node application scope data in sync? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "how to keep multi node application scope data in sync?" Watch "how to keep multi node application scope data in sync?" New topic
Author

how to keep multi node application scope data in sync?

david chan
Ranch Hand

Joined: Jun 10, 2002
Posts: 46
Hi,
I have two 4.0.5 AE nodes with load balancing on it. my application has some data in application scope which sometimes will be updated base on user input.
The problem is only one node will be get updated. How can I get these two node's application scope in sync?
Thanks.
David
John Dale
Ranch Hand

Joined: Feb 22, 2001
Posts: 399
If I understand your question correctly, I think you will be interested in this section of the info center:
6.6.11: Administering HTTP session support (overview)
especially
6.6.11.5: Procedure for configuring persistent session support
david chan
Ranch Hand

Joined: Jun 10, 2002
Posts: 46
Unfortunally that is only for http session, not for application scope.
David
John Dale
Ranch Hand

Joined: Feb 22, 2001
Posts: 399
Oops. Must remember to read before writing.
Vinod Bijlani
Ranch Hand

Joined: Mar 06, 2002
Posts: 133
my suggestion would be to put the common files (which need to be updated) on SAN & make the appropriate changes in the app. also u will have to look for the case of multiple instances writing on tht file...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to keep multi node application scope data in sync?