Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

cache inmemory and diskstore both together not working linux.  RSS feed

 
priyatham suresh
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Every one,

I am using ehcache-1.5 and jdk-1.4 and websphere application server for my project.

I have tested these in my local with windows environment. every thing works fine.
In windows environment it's storing data into heap as well as diskstore.
But it's not happening in linux environment.

I used Ehcache.flush() after object insertion, this is causing that flushing data into the diskstore from heap in linux , but it is available in both the places in windows.

Here is my ehcache.xml configuration file.




Here is my singleton class for Cache Operations.




TestCacheUtils.java to test cache.



Logs in windows environment.
disk size: 2 In memory size: 200

Logs in linux environment.
disk size: 2 In memory size: (if i use cache.flush())
disk size: In memoru size: 200(if i didn't use cache.flush())


Thanks in advance for your help.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!