This discussion is archived
2 Replies Latest reply: Aug 14, 2012 4:09 AM by 955089 RSS

NamedCache Returning Null

955089 Newbie
Currently Being Moderated
Hi, I am evaluating Oracle Coherence to be used for an important initiative for a financial giant. I have problems while trying to retrieve the stored values in the cache.

1. I created the Default Cache Server (With Local Storage Enabled)

2. I created a a Java Class that would store a value in the cache - MyCache.put("XXXX", "YYYY"); The configuration for this class has Local Storage enabled; I executed this when the deafult cache server was running.

3. I created another Java class which will read the value stored by the previous program. This again with the Local Storage as Enabled. But when i read the key "XXXX", i am getting the value as null;

I am unable to proceed. Please provide inputs as to whats going wrong.

Thanks
Arun

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points