Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Implementing Caching Using Cacheonix  RSS feed

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
    I have implemented caching in my appliaction but the cached data is removed after 1 min.After i min again it is hitting database for the same request.I am implementing caching using Cacheonix.While configuring cache expire time the i am getting error in schema definition which is "Referenced file contains errors (http://www.cacheonix.org/schema/cacheonix-config-2.0.xsd".


i am using cacheonix 2.3.1.Can anybody help me with right schema as i am not able to get on google.

Thanks,
Prabhash
 
Marshal
Posts: 4425
283
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

This doesn't look right. Should the "lru" bit be in there?
 
Ranch Hand
Posts: 473
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

How are you using your cache through client. Running a server is easy as its config file is available on net. But no help on net with client code or client config file that helps connect to server (distributed).

Thanks
 
I’m tired of walking, and will rest for a minute and grow some wheels. This is the promise of this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!