"jiwils" wrote : I am still getting a null result when...

For further clarification, here is the snippet of code that this is occurring 
in and the log that it produces (proof that this is really happening).

The code snippet:

  | String nodeID = null;
  | String fqn = null;
  | 
  | try
  | {
  |     nodeID = new String(id);
  |     fqn = (String) _cache.get("/blah", nodeID);
  | 
  |     if (log.isDebugEnabled())
  |     {
  |         StringBuffer message = new StringBuffer("Retrieved");
  |         message.append(SPACE);
  |         message.append(fqn);
  |         message.append(SPACE);
  |         message.append("for");
  |         message.append(SPACE);
  |         message.append(nodeID);
  |         message.append(SPACE);
  |         message.append("from blah.");
  | 
  |         log.debug(message.toString());
  |     }
  | }
  | catch (CacheException ce)
  | {
  |     log.error("Unable to use blah:", ce);
  | }
  | 

The log snippet:

  | 00:13:40,887 DEBUG [Test] Retrieved /blah/some_test for 
bwLbCSdPI80ONJeMWEmEgA== from blah.
  | 00:13:40,889 DEBUG [Test] Retrieved /blah/some_test/test for 
MyTOeDTaGhly7bp4/Smy6g== from blah.
  | ...snip...
  | 00:13:40,889 DEBUG [Test] Retrieved null for MyTOeDTaGhly7bp4/Smy6g== from 
blah.
  | ...snip...
  | 00:13:40,900 DEBUG [Test] Retrieved /blah/some_test for 
bwLbCSdPI80ONJeMWEmEgA== from blah.
  | 00:13:40,901 DEBUG [Test] Retrieved /blah/some_test/test for 
MyTOeDTaGhly7bp4/Smy6g== from blah.
  | 

Again nothing is being removed from the blah node's map during this test, and 
no CacheException is logged (even though synchronous replication has been 
enabled).

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856599#3856599

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856599


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to