• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

[EHCACHE] Problem defaultCache and cache in distributed environment

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

My question refers to the distributed cache configuration.

Using the same configuration, with only defaultCache, I get inconsistent data (case A). But if I add an additional cache entry will not get those errors of inconsistency (case B).

Do you know why?

I do not want to set the 130 caches that set aumaticamente defaultCache

Thanks in advance

P. S. I guess all the time that what is not specified, will EHCache as a template using defaultCache settings.

Case A:



Case B:

 
Ranch Hand
Posts: 47
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

Can you give us your console logs?

For example, it's possible that your specific declaration (case B) have a syntax problem, EHCache ignore your ehcache.xml file and use ehcache-failsafe.xml (default configuration for ehcache).

I don't know how you're called your specific cache, but the cache name is different of the class name...

Can you give us more details on your configuration?

Test without your ehcache.xml file to see if you are in the same case of the case B.
 
Guillaume Jourdan
Ranch Hand
Posts: 47
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just see that the post is opened the Monday, February 28, 2011 14:28:40...
 
reply
    Bookmark Topic Watch Topic
  • New Topic