[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Messages posted by: akshay92  XML
Profile for akshay92 -> Messages posted by akshay92 [2]
Author Message
Hello,
I have an update.
I am trying to initialize part of the cache programatically and partly through xml. This does not seem to work.
Especially the CacheManager.addCache(Cache) is not working.

If I do it all though xml it seems to work.
Does anyone have an idea why?
I am testing bigmemory go and I seem to have a problem with the search-index on disk.
I have a off heap cache with NONE persistence.
After a restart, when I repopulate the cache with elements and search for the keys of these elements with a simple query:
cache.createQuery().includeKeys().includeValues().execute()
I only get null values.
if I run: cache.get(KEY), I get a value.
If I delete the search index and try again, it works fine.

Any recommendations on how to get it to work without deleting the search index?
 
Profile for akshay92 -> Messages posted by akshay92 [2]
Go to:   
Powered by JForum 2.1.7 © JForum Team