Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Websphere and the fly likes Common memory place across the nodes of a cluster Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Common memory place across the nodes of a cluster" Watch "Common memory place across the nodes of a cluster" New topic

Common memory place across the nodes of a cluster


Joined: May 24, 2006
Posts: 5
Hi All,

I am a websphere application server v6.1 user. I am running an application that uses a HashMap to store common information in the form of key value pairs. The application works fine in a single server environment but the same application fails in a cluster environment. This happens because the HashMap information will not be available for the cluster environment nodes which were running on a different JVM�s.

Could anybody suggest a good design where in I can use a common place to store the HashMap information like queue, database or any common memory area which is available across the cluster nodes? I am not really familiar with the memory facilities offered by websphere server. (The use of a central database is the worst case I prefer as the application makes several calls to the database resulting in a deadlock and 100% CPU utilization)

And also the values to the HashMap were added dynamically so the memory place should allow me to add my values dynamically during the runtime.

Please suggest is there any other way or any links to refer to achieve the above situation.

Thanks in advance

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63844


Having ignored four requests to adjust your display name to conform to JavaRanch policy, your account has been disabled. Should you wish to have your account reinstated, you must contact me via email and explain your issue with adjusting your display name.

JavaRanch Sheriff

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Common memory place across the nodes of a cluster
It's not a secret anymore!