• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

cache inmemory and diskstore both together not working linux.

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
girl power ... turns out to be about a hundred watts. But they seriuosly don't like being connected to the grid. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic