Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[EHCACHE] Problem defaultCache and cache in distributed environment

 
Jaime Renovell
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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:

 
Guillaume Jourdan
Ranch Hand
Posts: 47
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
I just see that the post is opened the Monday, February 28, 2011 14:28:40...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic